mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 0/2] ipe: fix two use-after-frees
@ 2026-09-23  3:13 Fan Wu
  2026-09-23  3:13 ` [PATCH 1/2] ipe: fix use-after-free when auditing a newly loaded policy Fan Wu
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Fan Wu @ 2026-09-23  3:13 UTC (permalink / raw)
  To: linux-security-module; +Cc: paul, linux-kernel

This series fixes two use-after-free bugs in IPE, both found by a recent
AI-assisted code scan.

The first one is in the policy load audit path, where a concurrent
delete can free the policy while it is being audited. The second one is
in the dm-verity root hash path, where ->preresume can free a digest
that policy evaluation is still using.

Fan Wu (2):
  ipe: fix use-after-free when auditing a newly loaded policy
  ipe: protect the dm-verity root hash with RCU

 security/ipe/eval.c      | 12 ++++++++----
 security/ipe/eval.h      |  2 +-
 security/ipe/fs.c        |  8 +++-----
 security/ipe/hooks.c     | 22 +++++++++++++++++-----
 security/ipe/policy_fs.c |  3 +++
 5 files changed, 32 insertions(+), 15 deletions(-)


base-commit: 93f51579e7df248780214094418f205253383cc5
-- 
2.55.0


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2026-09-23  3:37 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-09-23  3:13 [PATCH 0/2] ipe: fix two use-after-frees Fan Wu
2026-09-23  3:13 ` [PATCH 1/2] ipe: fix use-after-free when auditing a newly loaded policy Fan Wu
2026-09-23  3:13 ` [PATCH 2/2] ipe: protect the dm-verity root hash with RCU Fan Wu
2026-09-23  3:37 ` [PATCH 0/2] ipe: fix two use-after-frees Fan Wu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®