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.
Affected products
- Linux / Linux0 – 2.6.29
- Linux / Linuxe68b75a027bb94066576139ee33676264f867b87 – 75bd76c9eb2de9afeca03dc5152ebca5fb8fc816
- Linux / Linuxe68b75a027bb94066576139ee33676264f867b87 – febb4bf373ac565d3fb8d1f429827bdd983be496
- Linux / Linuxe68b75a027bb94066576139ee33676264f867b87 – 95de7bb4bf535a9288549d401ebde83cdcbf2792
- Linux / Linuxe68b75a027bb94066576139ee33676264f867b87 – 151ee470edc3d7ed29fe72df678f8357d2ad8ced
- Linux / Linuxe68b75a027bb94066576139ee33676264f867b87 – 0a065c51a225854768b772a0b733a44d77162582
- Linux / Linuxe68b75a027bb94066576139ee33676264f867b87 – e35f3550c5b4fab33103c18654c293cee9850b0a
- Linux / Linuxe68b75a027bb94066576139ee33676264f867b87 – d782e4d200cd9036ef353eeb29525bfbfd13a14e
- Linux / Linuxe68b75a027bb94066576139ee33676264f867b87 – e4a640475e43f406fdfd56d370b1f34b0cbbc18d
- Linux / Linux2.6.29 – 2.6.29
- Linux / Linux5.10.258 – 5.10.*
- Linux / Linux5.15.209 – 5.15.*
- Linux / Linux6.1.175 – 6.1.*
- Linux / Linux6.6.141 – 6.6.*
- Linux / Linux6.12.91 – 6.12.*
- Linux / Linux6.18.33 – 6.18.*
- Linux / Linux7.0.10 – 7.0.*
- Linux / Linux7.1 – *
References
- MISChttps://git.kernel.org/stable/c/75bd76c9eb2de9afeca03dc5152ebca5fb8fc816
- MISChttps://git.kernel.org/stable/c/febb4bf373ac565d3fb8d1f429827bdd983be496
- MISChttps://git.kernel.org/stable/c/95de7bb4bf535a9288549d401ebde83cdcbf2792
- MISChttps://git.kernel.org/stable/c/151ee470edc3d7ed29fe72df678f8357d2ad8ced
- MISChttps://git.kernel.org/stable/c/0a065c51a225854768b772a0b733a44d77162582
- MISChttps://git.kernel.org/stable/c/e35f3550c5b4fab33103c18654c293cee9850b0a
- MISChttps://git.kernel.org/stable/c/d782e4d200cd9036ef353eeb29525bfbfd13a14e
- MISChttps://git.kernel.org/stable/c/e4a640475e43f406fdfd56d370b1f34b0cbbc18d