CVE-2026-99832
publishedapparmor: remove fs entries created by a failed policy load
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linux5d5182cae40115c03933989473288e54afb39c7c to < 3a7ea2442232e8c0412c2f7991f21446212523ed · 5d5182cae40115c03933989473288e54afb39c7c to < 655f3ab3bd40582e5bc108f76424ba5522e47a43 · 5d5182cae40115c03933989473288e54afb39c7c to < 4a8d7dafcb5cb34d8ff5a1849687d679e0f84f30 · 5d5182cae40115c03933989473288e54afb39c7c to < 1d0514f58613edcd1c143cf371010769a7aacd87 · 5d5182cae40115c03933989473288e54afb39c7c to < 619e86e1cbba6fd72afa8c338b52f23356f3e8a1 · 5d5182cae40115c03933989473288e54afb39c7c to < a08cef6d1aead92a85dea5a8b7a826b4355d0303 · 5d5182cae40115c03933989473288e54afb39c7c to < 1ef534f49b193036fff65a8270b7afd990cb57c3 · 5d5182cae40115c03933989473288e54afb39c7c to < 6ec46f8f1977d218bf2494ce276152b2d01424af · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux4.13 (affected) · 0 to < 4.13 (unaffected · semver) · 5.10.275 through 5.10.* (unaffected · semver) · 5.15.226 through 5.15.* (unaffected · semver) · 6.1.193 through 6.1.* (unaffected · semver) · 6.6.163 through 6.6.* (unaffected · semver) · 6.12.117 through 6.12.* (unaffected · semver) · 6.18.63 through 6.18.* (unaffected · semver) · 7.3.4 through 7.3.* (unaffected · semver) · 7.4-rc1 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | 5d5182cae40115c03933989473288e54afb39c7c to < 3a7ea2442232e8c0412c2f7991f21446212523ed (affected · git)5d5182cae40115c03933989473288e54afb39c7c to < 655f3ab3bd40582e5bc108f76424ba5522e47a43 (affected · git)5d5182cae40115c03933989473288e54afb39c7c to < 4a8d7dafcb5cb34d8ff5a1849687d679e0f84f30 (affected · git)5d5182cae40115c03933989473288e54afb39c7c to < 1d0514f58613edcd1c143cf371010769a7aacd87 (affected · git)5d5182cae40115c03933989473288e54afb39c7c to < 619e86e1cbba6fd72afa8c338b52f23356f3e8a1 (affected · git)5d5182cae40115c03933989473288e54afb39c7c to < a08cef6d1aead92a85dea5a8b7a826b4355d0303 (affected · git)5d5182cae40115c03933989473288e54afb39c7c to < 1ef534f49b193036fff65a8270b7afd990cb57c3 (affected · git)5d5182cae40115c03933989473288e54afb39c7c to < 6ec46f8f1977d218bf2494ce276152b2d01424af (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 4.13 (affected)0 to < 4.13 (unaffected · semver)5.10.275 through 5.10.* (unaffected · semver)5.15.226 through 5.15.* (unaffected · semver)6.1.193 through 6.1.* (unaffected · semver)6.6.163 through 6.6.* (unaffected · semver)6.12.117 through 6.12.* (unaffected · semver)6.18.63 through 6.18.* (unaffected · semver)7.3.4 through 7.3.* (unaffected · semver)7.4-rc1 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
8- https://git.kernel.org/stable/c/1d0514f58613edcd1c143cf371010769a7aacd87
- https://git.kernel.org/stable/c/1ef534f49b193036fff65a8270b7afd990cb57c3
- https://git.kernel.org/stable/c/3a7ea2442232e8c0412c2f7991f21446212523ed
- https://git.kernel.org/stable/c/4a8d7dafcb5cb34d8ff5a1849687d679e0f84f30
- https://git.kernel.org/stable/c/619e86e1cbba6fd72afa8c338b52f23356f3e8a1
- https://git.kernel.org/stable/c/655f3ab3bd40582e5bc108f76424ba5522e47a43
- https://git.kernel.org/stable/c/6ec46f8f1977d218bf2494ce276152b2d01424af
- https://git.kernel.org/stable/c/a08cef6d1aead92a85dea5a8b7a826b4355d0303
Provider assertions
1Linux · cna
apparmor: remove fs entries created by a failed policy load
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 14403270cef6dade68a861eb46bfe3712a0a3f4d405deaac5b9d9aa961e1cf88
- Ingested
- 30 Nov 2026, 13:30:07 UTC
- Source record
- Official CVE record