apparmor: fix race between freeing data and fs accessing it (Linux Linux)

CVE-2026-23411
HIGH 7.8

At a glance

Source
NVD
EPSS
EPSS 0.15 % · percentile 4 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
NVD status
Analyzed

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.

Weaknesses (CWE)

  • CWE-362 — Concurrent Execution using Shared Resource with Improper Synchronization

References

Scores

VersionScoreVectorScored by
CVSS 3.1HIGH 7.8CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HLinux
CVSS 3.1HIGH 7.8CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HNVD · 416baaa9-dc9f-4396-8d5f-8c081fb06d67 (Secondary)
CVSS 3.1HIGH 7.8CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HNVD · nvd@nist.gov (Primary)

European references

CERT-FR advisories

Affected configurations (NVD CPE)

Affected products

ProductVersions
Linux · Linuxaffected c961ee5f21b202dea60b63eeef945730d92e46a6 < a92c5e5086a87d082696245a8607666da3d80554 ; affected c961ee5f21b202dea60b63eeef945730d92e46a6 < 667df93769c02ff581c77d2d8f162147e719c557 ; affected c961ee5f21b202dea60b63eeef945730d92e46a6 < 3ddb961d2929bbb3204a2bba21b5d8153cd3f7cc ; affected c961ee5f21b202dea60b63eeef945730d92e46a6 < ae10787d955fb255d381e0d5589451dd72c614b1 ; affected c961ee5f21b202dea60b63eeef945730d92e46a6 < eecce026399917f6efa532c56bc7a3e9dd6ee68b ; affected c961ee5f21b202dea60b63eeef945730d92e46a6 < 13bc2772414d68e94e273dea013181a986948ddf
Linux · Linuxaffected 4.13 ; unaffected 0 < 4.13 ; unaffected 5.10.253 ≤ 5.10.* ; unaffected 5.15.203 ≤ 5.15.* ; unaffected 6.1.169 ≤ 6.1.* ; unaffected 6.6.130 ≤ 6.6.*

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD