# CVE-2026-23410: apparmor: fix race on rawdata dereference

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.8
- **CVSS:** 7.8 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.15% (percentile 2, 2026-11-28)
- **CWE:** CWE-362
- **Published:** 2026-04-01T08:36:39.202Z
- **Modified:** 2026-08-05T12:21:30.404Z

## Who should check

- Anyone running Linux \>= 5d5182cae40115c03933989473288e54afb39c7c, \< 3b8e77c7abab40e6de9ad9de730d77984a498840; \>= 5d5182cae40115c03933989473288e54afb39c7c, \< d9d8560b9b7932f8cffc4c068c14289220900f79; \>= 5d5182cae40115c03933989473288e54afb39c7c, \< 6b6ba87579c7e7c669e0bec91823e7fb693bc5df; \>= 5d5182cae40115c03933989473288e54afb39c7c, \< 6ef1f2926c41ab96952d9696d55a052f1b3a9418; \>= 5d5182cae40115c03933989473288e54afb39c7c, \< f9761add6d100962a23996cb68f3d6abdd4d1815; \>= 5d5182cae40115c03933989473288e54afb39c7c, \< af782cc8871e3683ddd5a3cd2f7df526599863a9; \>= 5d5182cae40115c03933989473288e54afb39c7c, \< 763e838adc3c7ec5a7df2990ce84cad951e42721; \>= 5d5182cae40115c03933989473288e54afb39c7c, \< a0b7091c4de45a7325c8780e6934a894f92ac86b
- Anyone running Linux 4.13

## 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.

## Affected and fixed versions

- Linux: \>= 5d5182cae40115c03933989473288e54afb39c7c, \< 3b8e77c7abab40e6de9ad9de730d77984a498840; \>= 5d5182cae40115c03933989473288e54afb39c7c, \< d9d8560b9b7932f8cffc4c068c14289220900f79; \>= 5d5182cae40115c03933989473288e54afb39c7c, \< 6b6ba87579c7e7c669e0bec91823e7fb693bc5df; \>= 5d5182cae40115c03933989473288e54afb39c7c, \< 6ef1f2926c41ab96952d9696d55a052f1b3a9418; \>= 5d5182cae40115c03933989473288e54afb39c7c, \< f9761add6d100962a23996cb68f3d6abdd4d1815; \>= 5d5182cae40115c03933989473288e54afb39c7c, \< af782cc8871e3683ddd5a3cd2f7df526599863a9; \>= 5d5182cae40115c03933989473288e54afb39c7c, \< 763e838adc3c7ec5a7df2990ce84cad951e42721; \>= 5d5182cae40115c03933989473288e54afb39c7c, \< a0b7091c4de45a7325c8780e6934a894f92ac86b (cvelist)
- Linux: 4.13 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-23410. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-23410.md
Affected: Linux >= 5d5182cae40115c03933989473288e54afb39c7c, < 3b8e77c7abab40e6de9ad9de730d77984a498840; >= 5d5182cae40115c03933989473288e54afb39c7c, < d9d8560b9b7932f8cffc4c068c14289220900f79; >= 5d5182cae40115c03933989473288e54afb39c7c, < 6b6ba87579c7e7c669e0bec91823e7fb693bc5df; >= 5d5182cae40115c03933989…
Fixed in: Linux 3b8e77c7abab40e6de9ad9de730d77984a498840, Linux 6b6ba87579c7e7c669e0bec91823e7fb693bc5df, Linux 6ef1f2926c41ab96952d9696d55a052f1b3a9418, Linux 763e838adc3c7ec5a7df2990ce84cad951e42721

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-23410 being exploited?

There is no confirmed exploitation: CVE-2026-23410 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.15% chance of exploitation in the next 30 days (as of 2026-11-28).

### How serious is CVE-2026-23410?

High: CVSS 7.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2026-23410?

Linux \>= 5d5182cae40115c03933989473288e54afb39c7c, \< 3b8e77c7abab40e6de9ad9de730d77984a498840; \>= 5d5182cae40115c03933989473288e54afb39c7c, \< d9d8560b9b7932f8cffc4c068c14289220900f79; \>= 5d5182cae40115c03933989473288e54afb39c7c, \< 6b6ba87579c7e7c669e0bec91823e7fb693bc5df; \>= 5d5182cae40115c03933989473288e54afb39c7c, \< 6ef1f2926c41ab96952d9696d55a052f1b3a9418; \>= 5d5182cae40115c03933989473288e54afb39c7c, \< f9761add6d100962a23996cb68f3d6abdd4d1815; \>= 5d5182cae40115c03933989473288e54afb39c7c, \< af782cc8871e3683ddd5a3cd2f7df526599863a9; \>= 5d5182cae40115c03933989473288e54afb39c7c, \< 763e838adc3c7ec5a7df2990ce84cad951e42721; \>= 5d5182cae40115c03933989473288e54afb39c7c, \< a0b7091c4de45a7325c8780e6934a894f92ac86b; Linux 4.13.

### Is there a fix for CVE-2026-23410?

Yes. Fixed in Linux 3b8e77c7abab40e6de9ad9de730d77984a498840, Linux 6b6ba87579c7e7c669e0bec91823e7fb693bc5df, Linux 6ef1f2926c41ab96952d9696d55a052f1b3a9418, Linux 763e838adc3c7ec5a7df2990ce84cad951e42721. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2026-23410?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://git.kernel.org/stable/c/3b8e77c7abab40e6de9ad9de730d77984a498840>
- patch: <https://git.kernel.org/stable/c/d9d8560b9b7932f8cffc4c068c14289220900f79>
- patch: <https://git.kernel.org/stable/c/6b6ba87579c7e7c669e0bec91823e7fb693bc5df>
- patch: <https://git.kernel.org/stable/c/6ef1f2926c41ab96952d9696d55a052f1b3a9418>
- patch: <https://git.kernel.org/stable/c/f9761add6d100962a23996cb68f3d6abdd4d1815>
- patch: <https://git.kernel.org/stable/c/af782cc8871e3683ddd5a3cd2f7df526599863a9>
- patch: <https://git.kernel.org/stable/c/763e838adc3c7ec5a7df2990ce84cad951e42721>
- patch: <https://git.kernel.org/stable/c/a0b7091c4de45a7325c8780e6934a894f92ac86b>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-23410>

HTML: <https://flawdb.com/CVE-2026-23410> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-23410>
