CVE-2026-99832
apparmor: remove fs entries created by a failed policy load
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.
INFO
Published Date :
Nov. 30, 2026, 2:20 p.m.
Last Modified :
Nov. 30, 2026, 2:20 p.m.
Remotely Exploit :
No
Source :
416baaa9-dc9f-4396-8d5f-8c081fb06d67
Solution
- Remove profile directories on failure.
- Remove raw_data directory on failure.
- Update Linux kernel to the latest version.
- Apply vendor patches when available.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2026-99832.
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2026-99832 is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2026-99832
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2026-99832 vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2026-99832 vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
New CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Nov. 30, 2026
Action Type Old Value New Value Added 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. Added Affected New affected value received. <a href="https://github.com/CVEProject/cvelistV5/blob/main/cves/2026/99xxx/CVE-2026-99832.json">CVE-2026-99832</a> Added Reference https://git.kernel.org/stable/c/1d0514f58613edcd1c143cf371010769a7aacd87 Added Reference https://git.kernel.org/stable/c/1ef534f49b193036fff65a8270b7afd990cb57c3 Added Reference https://git.kernel.org/stable/c/3a7ea2442232e8c0412c2f7991f21446212523ed Added Reference https://git.kernel.org/stable/c/4a8d7dafcb5cb34d8ff5a1849687d679e0f84f30 Added Reference https://git.kernel.org/stable/c/619e86e1cbba6fd72afa8c338b52f23356f3e8a1 Added Reference https://git.kernel.org/stable/c/655f3ab3bd40582e5bc108f76424ba5522e47a43 Added Reference https://git.kernel.org/stable/c/6ec46f8f1977d218bf2494ce276152b2d01424af Added Reference https://git.kernel.org/stable/c/a08cef6d1aead92a85dea5a8b7a826b4355d0303