Skip to contentSkip to conversation

CVE-2026-53367: selinux: fix avdcache auditing

DISCUSSION Greg Kroah-Hartman 1 participant 1 message Jul 19

lore
Share & tools
lore
#0 lore raw

From: Greg Kroah-Hartman <[email protected]>

Description
===========

In the Linux kernel, the following vulnerability has been resolved:

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.

[PM: line wrap tweaks]

The Linux kernel CVE team has assigned CVE-2026-53367 to this issue.

Affected and fixed versions
===========================

	Issue introduced in 6.18 with commit dde3a5d0f4dce1d1a6095e6b8eeb59b75d28fb3b and fixed in 6.18.30 with commit e3e722ea88e051ae5361dc540c01ba18f87b5ffd
	Issue introduced in 6.18 with commit dde3a5d0f4dce1d1a6095e6b8eeb59b75d28fb3b and fixed in 7.0.7 with commit bce6a32bc888dfebb6a7d4dee454228b71ed8369
	Issue introduced in 6.18 with commit dde3a5d0f4dce1d1a6095e6b8eeb59b75d28fb3b and fixed in 7.1 with commit f92d542577db878acfd21cc18dab23d03023b217
	Issue introduced in 6.17.10 with commit 21879b76831fab52f6a615c531f86412c8d3c827

Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community.

Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at

	https://cve.org/CVERecord/?id=CVE-2026-53367

will be updated if fixes are backported, please check that for the most up to date information about this issue.

Affected files
==============

The file(s) affected by this issue are:
security/selinux/hooks.c
security/selinux/include/objsec.h

Mitigation
==========

The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits:

	https://git.kernel.org/stable/c/e3e722ea88e051ae5361dc540c01ba18f87b5ffd
	https://git.kernel.org/stable/c/bce6a32bc888dfebb6a7d4dee454228b71ed8369
	https://git.kernel.org/stable/c/f92d542577db878acfd21cc18dab23d03023b217