CVE-2026-23410 Details
Description
In the Linux kernel, the following vulnerability has been resolved: apparmor: fix race on rawdata dereference There is a race condition that leads to a use-after-free situation: because the rawdata inodes are not refcounted, an attacker can start open()ing one of the rawdata files, and at the same time remove the last reference to this rawdata (by removing the corresponding profile, for example), which frees its struct aa_loaddata; as a result, when seq_rawdata_open() is reached, i_private is a dangling pointer and freed memory is accessed. The rawdata inodes weren't refcounted to avoid a circular refcount and were supposed to be held by the profile rawdata reference. However during profile removal there is a window where the vfs and profile destruction race, resulting in the use after free. Fix this by moving to a double refcount scheme. Where the profile refcount on rawdata is used to break the circular dependency. Allowing for freeing of the rawdata once all inode references to the rawdata are put.
A race condition vulnerability has been identified in the Linux kernel's AppArmor component, specifically related to the handling of raw data files. This vulnerability arises from the raw data inodes not being properly reference-counted, allowing an attacker to open a raw data file while simultaneously removing the last reference to it by deleting the associated profile. This action frees the memory structure holding the raw data, creating a use-after-free scenario. When the raw data is accessed later, it results in dereferencing a dangling pointer, leading to the exploitation of freed memory. The issue is exacerbated by a timing window during profile removal, where the virtual file system and profile destruction processes interfere with each other, causing the use-after-free condition.
Users can update to the latest version of the Linux kernel where this vulnerability has been fixed. Instructions for updating the kernel can be found in the official Linux kernel documentation.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
No SSVC data is available for this CVE.
References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://git.kernel.org/stable/c/3b8e77c7abab40e6de9ad9de730d77984a498840 | kernel.org | Patch |
| https://git.kernel.org/stable/c/6b6ba87579c7e7c669e0bec91823e7fb693bc5df | kernel.org | Patch |
| https://git.kernel.org/stable/c/6ef1f2926c41ab96952d9696d55a052f1b3a9418 | kernel.org | Patch |
| https://git.kernel.org/stable/c/763e838adc3c7ec5a7df2990ce84cad951e42721 | kernel.org | Patch |
| https://git.kernel.org/stable/c/a0b7091c4de45a7325c8780e6934a894f92ac86b | kernel.org | Patch |
| https://git.kernel.org/stable/c/af782cc8871e3683ddd5a3cd2f7df526599863a9 | kernel.org | Patch |
| https://git.kernel.org/stable/c/d9d8560b9b7932f8cffc4c068c14289220900f79 | kernel.org | Patch |
| https://git.kernel.org/stable/c/f9761add6d100962a23996cb68f3d6abdd4d1815 | kernel.org | Patch |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-362 | Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| linux linux kernel | >= 4.13.1, < 5.10.253 >= 5.11, < 5.15.203 >= 5.16, < 6.1.169 >= 6.2, < 6.6.130 >= 6.7, < 6.12.77 >= 6.13, < 6.18.18 >= 6.19, < 6.19.8 4.13 - 7.0 rc1 7.0 rc2 7.0 rc3 7.0 rc4 7.0 rc5 7.0 rc6 7.0 rc7 |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | kernel.org |
| Apr 24, 2026 | Initial Analysis | [email protected] |
| Apr 18, 2026 | CVE Modified | kernel.org |
| Apr 2, 2026 | CVE Modified | kernel.org |
| Apr 1, 2026 | New CVE Received | kernel.org |