diff options
| author | Fan Wu <wufan@kernel.org> | 2026-09-22 20:13:48 -0700 |
|---|---|---|
| committer | Fan Wu <wufan@kernel.org> | 2026-09-25 13:30:27 -0700 |
| commit | 9814077275eca36ebf8d510d2f076d235ff9f51a (patch) | |
| tree | 326132c295ffab42b268b487bd3bee604f964ed1 /tools/perf/scripts/python | |
| parent | 93f51579e7df248780214094418f205253383cc5 (diff) | |
| download | linux-next-9814077275eca36ebf8d510d2f076d235ff9f51a.tar.gz linux-next-9814077275eca36ebf8d510d2f076d235ff9f51a.zip | |
ipe: fix use-after-free when auditing a newly loaded policy
new_policy() audits the policy after ipe_new_policyfs_node() publishes it
and drops the new directory's inode lock. A concurrent delete can free
the policy while ipe_audit_policy_load() is still using it.
Audit the successful load under that lock.
Fixes: f44554b5067b ("audit,ipe: add IPE auditing support")
Cc: stable@vger.kernel.org
Assisted-by: LLM
[FW: remove model name according to latest guideline]
Signed-off-by: Fan Wu <wufan@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
