# CVE-2026-99832: apparmor: remove fs entries created by a failed policy load

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.22%, higher than 13% of CVEs (2026-12-01)
- Published: 2026-11-30T13:17:28.090Z
- Modified: 2026-11-30T14:20:16.007Z
- Assigned by: Linux

## Description

In the Linux kernel, the following vulnerability has been resolved:

apparmor: remove fs entries created by a failed policy load

aa_replace_profiles() creates the raw_data/<rev> directory for the
loaddata and the profile directories for new profiles before the last
checks that can fail. When one of those checks fails, the fail path
releases the ns lock without removing what this load created.

The raw_data directory is named after the current ns revision, and the
revision is only bumped by a successful load. The stale directory is
only removed once the loaddata's last profile reference is dropped, from
a workqueue. Until then, every load fails to create raw_data/<rev> with
-EEXIST. If the new profiles are never freed, which is the case when
their dents are left behind pinning the proxy, that never happens and no
policy can be loaded until reboot.

While still holding the ns lock in the fail path, remove the profile
directories of the new profiles and, if this load created it, the
raw_data directory.

(As written by CVE List.)

## Affected

- Linux Linux: from 5d5182cae40115c03933989473288e54afb39c7c before 3a7ea2442232e8c0412c2f7991f21446212523ed; from 5d5182cae40115c03933989473288e54afb39c7c before 655f3ab3bd40582e5bc108f76424ba5522e47a43; from 5d5182cae40115c03933989473288e54afb39c7c before 4a8d7dafcb5cb34d8ff5a1849687d679e0f84f30; from 5d5182cae40115c03933989473288e54afb39c7c before 1d0514f58613edcd1c143cf371010769a7aacd87; from 5d5182cae40115c03933989473288e54afb39c7c before 619e86e1cbba6fd72afa8c338b52f23356f3e8a1; from 5d5182cae40115c03933989473288e54afb39c7c before a08cef6d1aead92a85dea5a8b7a826b4355d0303; from 5d5182cae40115c03933989473288e54afb39c7c before 1ef534f49b193036fff65a8270b7afd990cb57c3; from 5d5182cae40115c03933989473288e54afb39c7c before 6ec46f8f1977d218bf2494ce276152b2d01424af; 4.13 (not affected: before 4.13; from 5.10.275 up to 5.10.*; from 5.15.226 up to 5.15.*; from 6.1.193 up to 6.1.*; from 6.6.163 up to 6.6.*; from 6.12.117 up to 6.12.*; from 6.18.63 up to 6.18.*; from 7.3.4 up to 7.3.*; from 7.4-rc1 up to *)

## References

- <https://git.kernel.org/stable/c/3a7ea2442232e8c0412c2f7991f21446212523ed>
- <https://git.kernel.org/stable/c/655f3ab3bd40582e5bc108f76424ba5522e47a43>
- <https://git.kernel.org/stable/c/4a8d7dafcb5cb34d8ff5a1849687d679e0f84f30>
- <https://git.kernel.org/stable/c/1d0514f58613edcd1c143cf371010769a7aacd87>
- <https://git.kernel.org/stable/c/619e86e1cbba6fd72afa8c338b52f23356f3e8a1>
- <https://git.kernel.org/stable/c/a08cef6d1aead92a85dea5a8b7a826b4355d0303>
- <https://git.kernel.org/stable/c/1ef534f49b193036fff65a8270b7afd990cb57c3>
- <https://git.kernel.org/stable/c/6ec46f8f1977d218bf2494ce276152b2d01424af>

## Sources

- CVE List: [CVE-2026-99832](https://www.cve.org/CVERecord?id=CVE-2026-99832), CVE Terms of Use, modified 2026-11-30
- NVD: [CVE-2026-99832](https://nvd.nist.gov/vuln/detail/CVE-2026-99832), Public domain, modified 2026-11-30

---

Page: https://cve.day/CVE-2026-99832 · Whole record: https://cve.day/CVE-2026-99832.json · Rebuilt by cve.day 2026-11-30T14:33:30.613Z
