~lttng/lttng-ust/lttng-ust

Viewing all changes in revision 3003.

  • Committer: Mathieu Desnoyers
  • Date: 2022-09-29 19:37:47 UTC
  • Revision ID: git-v1:c7ef2e7d2442e0620e439ddaa71c596437a5804c
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

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: