Skip to contentSkip to conversation

CVE-2026-53287: audit: fix incorrect inheritable capability in CAPSET records

DISCUSSION Greg Kroah-Hartman 1 participant 1 message Jun 26

lore
Share & tools
lore
#0 lore raw

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

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

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

audit: fix incorrect inheritable capability in CAPSET records

__audit_log_capset() records the effective capability set into the inheritable field due to a copy-paste error. Every CAPSET audit record therefore reports cap_pi (process inheritable) with the value of cap_effective instead of cap_inheritable.

This silently corrupts audit data used for compliance and forensic
analysis: an attacker who modifies inheritable capabilities to prepare for a privilege-escalating exec would have the change masked in the audit trail.

The bug has been present since the original introduction of CAPSET audit records in 2008.

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

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

	Issue introduced in 2.6.29 with commit e68b75a027bb94066576139ee33676264f867b87 and fixed in 5.10.258 with commit 75bd76c9eb2de9afeca03dc5152ebca5fb8fc816
	Issue introduced in 2.6.29 with commit e68b75a027bb94066576139ee33676264f867b87 and fixed in 5.15.209 with commit febb4bf373ac565d3fb8d1f429827bdd983be496
	Issue introduced in 2.6.29 with commit e68b75a027bb94066576139ee33676264f867b87 and fixed in 6.1.175 with commit 95de7bb4bf535a9288549d401ebde83cdcbf2792
	Issue introduced in 2.6.29 with commit e68b75a027bb94066576139ee33676264f867b87 and fixed in 6.6.141 with commit 151ee470edc3d7ed29fe72df678f8357d2ad8ced
	Issue introduced in 2.6.29 with commit e68b75a027bb94066576139ee33676264f867b87 and fixed in 6.12.91 with commit 0a065c51a225854768b772a0b733a44d77162582
	Issue introduced in 2.6.29 with commit e68b75a027bb94066576139ee33676264f867b87 and fixed in 6.18.33 with commit e35f3550c5b4fab33103c18654c293cee9850b0a
	Issue introduced in 2.6.29 with commit e68b75a027bb94066576139ee33676264f867b87 and fixed in 7.0.10 with commit d782e4d200cd9036ef353eeb29525bfbfd13a14e
	Issue introduced in 2.6.29 with commit e68b75a027bb94066576139ee33676264f867b87 and fixed in 7.1 with commit e4a640475e43f406fdfd56d370b1f34b0cbbc18d

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-53287

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:
kernel/auditsc.c

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/75bd76c9eb2de9afeca03dc5152ebca5fb8fc816
	https://git.kernel.org/stable/c/febb4bf373ac565d3fb8d1f429827bdd983be496
	https://git.kernel.org/stable/c/95de7bb4bf535a9288549d401ebde83cdcbf2792
	https://git.kernel.org/stable/c/151ee470edc3d7ed29fe72df678f8357d2ad8ced
	https://git.kernel.org/stable/c/0a065c51a225854768b772a0b733a44d77162582
	https://git.kernel.org/stable/c/e35f3550c5b4fab33103c18654c293cee9850b0a
	https://git.kernel.org/stable/c/d782e4d200cd9036ef353eeb29525bfbfd13a14e
	https://git.kernel.org/stable/c/e4a640475e43f406fdfd56d370b1f34b0cbbc18d