CVE-2026-23411 PUBLISHED

apparmor: fix race between freeing data and fs accessing it

Assigner: Linux
Reserved: 13.01.2026 Published: 01.04.2026 Updated: 01.04.2026

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.

Product Status

Vendor Linux
Product Linux
Versions Default: unaffected
  • affected from c961ee5f21b202dea60b63eeef945730d92e46a6 to ae10787d955fb255d381e0d5589451dd72c614b1 (excl.)
  • affected from c961ee5f21b202dea60b63eeef945730d92e46a6 to eecce026399917f6efa532c56bc7a3e9dd6ee68b (excl.)
  • affected from c961ee5f21b202dea60b63eeef945730d92e46a6 to 13bc2772414d68e94e273dea013181a986948ddf (excl.)
  • affected from c961ee5f21b202dea60b63eeef945730d92e46a6 to 2a732ed26fbd048e7925d227af8cf9ea43fb5cc9 (excl.)
  • affected from c961ee5f21b202dea60b63eeef945730d92e46a6 to 8e135b8aee5a06c52a4347a5a6d51223c6f36ba3 (excl.)
Vendor Linux
Product Linux
Versions Default: affected
  • Version 4.13 is affected
  • unaffected from 0 to 4.13 (excl.)
  • unaffected from 6.6.130 to 6.6.* (incl.)
  • unaffected from 6.12.77 to 6.12.* (incl.)
  • unaffected from 6.18.18 to 6.18.* (incl.)
  • unaffected from 6.19.8 to 6.19.* (incl.)
  • unaffected from 7.0-rc4 to * (incl.)

References