~lttng/lttng-ust/lttng-ust

Viewing all changes in revision 3004.

  • Committer: Mathieu Desnoyers
  • Date: 2022-09-30 15:04:45 UTC
  • Revision ID: git-v1:82235210bea4ed2e09bf485a49baf2db6287810f
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 <mathieu.desnoyers@efficios.com>
Change-Id: Ica16b97167d391d86e73b05fbf0210ff52b9c9f1

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: