From: Mathieu Desnoyers Date: Fri, 30 Sep 2022 14:20:29 +0000 (-0400) Subject: Fix: bytecode validator: reject specialized load field/context ref instructions X-Git-Url: http://git.liburcu.org/?a=commitdiff_plain;h=82235210bea4ed2e09bf485a49baf2db6287810f;hp=82235210bea4ed2e09bf485a49baf2db6287810f;p=lttng-ust.git Fix: bytecode validator: reject specialized load field/context ref instructions Reject specialized load ref and get context ref 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 Change-Id: Ica16b97167d391d86e73b05fbf0210ff52b9c9f1 ---