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 19:37:47 +0000 (15:37 -0400)
commitc7ef2e7d2442e0620e439ddaa71c596437a5804c
tree6c598543003d1bbbbf3410b972ffb4ba4561a037
parent65c955a51b7d49c17baad6bc65b55f845808ba77
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.025407 seconds and 4 git commands to generate.