Fix: bytecode validator: reject specialized load instructions
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Thu, 29 Sep 2022 19:37:47 +0000 (15:37 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Thu, 29 Sep 2022 20:46:13 +0000 (16:46 -0400)
commitbddade91e51d3f26fef22c7fe5dca5b22d59012a
tree48a97200d3bced8ea7b95f191a6b71ea75e51562
parentba08b9fce68c0e9c31a860c3453983d3093f3eae
Fix: bytecode validator: reject specialized load instructions

Reject specialized load instructions so a bytecode crafted with
nefarious intent cannot read a memory area larger than the memory
targeted by the instrumentation.

This prevents bytecode received from the session daemon from performing
out of bound memory accesses and from disclosing the content of
application memory beyond what has been targeted by the instrumentation.

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Change-Id: I1f90379455699cf0ad09159c11a12dcd53070f6a
src/lib/lttng-ust/lttng-bytecode-validator.c
This page took 0.024421 seconds and 4 git commands to generate.