diff options
| author | Stephen Smalley <stephen.smalley.work@gmail.com> | 2026-04-10 15:29:50 -0400 |
|---|---|---|
| committer | Paul Moore <paul@paul-moore.com> | 2026-04-28 18:13:58 -0400 |
| commit | f92d542577db878acfd21cc18dab23d03023b217 (patch) | |
| tree | 9389026788b522aa6795b8aaa8e897840d3de5ff /include/linux | |
| parent | 1e5a8eed7821e7a43a31b4c1b3675a91be6bc6f6 (diff) | |
selinux: fix avdcache auditing
The per-task avdcache was incorrectly saving and reusing the
audited vector computed by avc_audit_required() rather than
recomputing based on the currently requested permissions and
distinguishing the denied versus allowed cases. As a result,
some permission checks were not being audited, e.g.
directory write checks after a previously cached directory
search check.
Cc: stable@vger.kernel.org
Fixes: dde3a5d0f4dce ("selinux: move avdcache to per-task security struct")
Signed-off-by: Stephen Smalley <stephen.smalley.work@gmail.com>
[PM: line wrap tweaks]
Signed-off-by: Paul Moore <paul@paul-moore.com>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions
