7.8high
apparmor: fix race between freeing data and fs accessing it
- Severity
- 7.8high CVSS:3.1 by Linux
- Exploit likelihood
- 0.16% (higher than 5% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Linux
Description
In the Linux kernel, the following vulnerability has been resolved: apparmor: fix race between freeing data and fs accessing it AppArmor was putting the reference to i_private data on its end after removing the original entry from the file system. However the inode can aand does live beyond that point and it is possible that some of the fs call back functions will be invoked after the reference has been put, which results in a race between freeing the data and accessing it through the fs. While the rawdata/loaddata is the most likely candidate to fail the race, as it has the fewest references. If properly crafted it might be possible to trigger a race for the other types stored in i_private. Fix this by moving the put of i_private referenced data to the correct place which is during inode eviction.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Linux Linux | from c961ee5f21b202dea60b63eeef945730d92e46a6 before a92c5e5086a87d082696245a8607666da3d80554, from c961ee5f21b202dea60b63eeef945730d92e46a6 before 667df93769c02ff581c77d2d8f162147e719c557, from c961ee5f21b202dea60b63eeef945730d92e46a6 before 3ddb961d2929bbb3204a2bba21b5d8153cd3f7cc, from c961ee5f21b202dea60b63eeef945730d92e46a6 before ae10787d955fb255d381e0d5589451dd72c614b1, from c961ee5f21b202dea60b63eeef945730d92e46a6 before eecce026399917f6efa532c56bc7a3e9dd6ee68b, from c961ee5f21b202dea60b63eeef945730d92e46a6 before 13bc2772414d68e94e273dea013181a986948ddf, from c961ee5f21b202dea60b63eeef945730d92e46a6 before 2a732ed26fbd048e7925d227af8cf9ea43fb5cc9, from c961ee5f21b202dea60b63eeef945730d92e46a6 before 8e135b8aee5a06c52a4347a5a6d51223c6f36ba3 and 1 more Not affected: before 4.13, from 5.10.253 up to 5.10.*, from 5.15.203 up to 5.15.*, from 6.1.169 up to 6.1.*, from 6.6.130 up to 6.6.*, from 6.12.77 up to 6.12.* | CVE List |
| linux linux_kernel | from 4.13.1 before 5.10.253, from 5.11 before 5.15.203, from 5.16 before 6.1.169, from 6.2 before 6.6.130, from 6.7 before 6.12.77, from 6.13 before 6.18.18, from 6.19 before 6.19.8, 4.13 and 1 more | NVD |
All scores
| Linux | 7.8high CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVD | 7.8high CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
Classification
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-23411 changed 2026-08-05 | CVE Terms of Use |
| NVD | CVE-2026-23411 changed 2026-06-17 | Public domain |