selinux: fix avdcache auditing
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
6.18
|
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]
From the CVE record · Linux
The Linux kernel’s SELinux per-task avdcache can reuse an audit result instead of recalculating it for the current permission request. This can cause some permission checks to go unaudited; the input does not describe an attacker action or access requirements.
Anyone running the Linux kernel with SELinux should check whether their version is affected; affected versions were not provided.