Description (CNA)
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.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| Linux / Linux | affected e68b75a027bb94066576139ee33676264f867b87 before 75bd76c9eb2de9afeca03dc5152ebca5fb8fc816; affected e68b75a027bb94066576139ee33676264f867b87 before febb4bf373ac565d3fb8d1f429827bdd983be496; affected e68b75a027bb94066576139ee33676264f867b87 before 95de7bb4bf535a9288549d401ebde83cdcbf2792; affected e68b75a027bb94066576139ee33676264f867b87 before 151ee470edc3d7ed29fe72df678f8357d2ad8ced; affected e68b75a027bb94066576139ee33676264f867b87 before 0a065c51a225854768b772a0b733a44d77162582; affected e68b75a027bb94066576139ee33676264f867b87 before e35f3550c5b4fab33103c18654c293cee9850b0a; affected e68b75a027bb94066576139ee33676264f867b87 before d782e4d200cd9036ef353eeb29525bfbfd13a14e; affected e68b75a027bb94066576139ee33676264f867b87 before e4a640475e43f406fdfd56d370b1f34b0cbbc18d |
| Linux / Linux | affected 2.6.29; unaffected 0 before 2.6.29; unaffected 5.10.258 through 5.10.*; unaffected 5.15.209 through 5.15.*; unaffected 6.1.175 through 6.1.*; unaffected 6.6.141 through 6.6.*; unaffected 6.12.91 through 6.12.*; unaffected 6.18.33 through 6.18.*; unaffected 7.0.10 through 7.0.*; unaffected 7.1 through * |
CWE
No CWE identifiers supplied.
References
- 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