aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorMaxime Bélair <maxime.belair@canonical.com>2026-02-18 10:27:34 +0100
committerJohn Johansen <john.johansen@canonical.com>2026-06-13 20:14:07 -0700
commit7b42f95813dc9ceb6bda35afcf914630909a19f9 (patch)
treea6f8159c98822efabab4496ca0c0489008f13826 /tools/perf/scripts/python/stackcollapse.py
parentb9b864fc72367ffdbe79b7952518573e9d209844 (diff)
apparmor: fix potential UAF in aa_replace_profiles
The function aa_replace_profiles was accessing udata->size after calling aa_put_loaddata(udata), causing a potential UAF. Fixed this by saving the size to a local variable before dropping the reference. Fixes: 5ac8c355ae001 ("apparmor: allow introspecting the loaded policy pre internal transform") Reviewed-by: Georgia Garcia <georgia.garcia@canonical.com> Signed-off-by: Maxime Bélair <maxime.belair@canonical.com> Signed-off-by: John Johansen <john.johansen@canonical.com>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions