Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2026-99831

published

apparmor: fix profile leak when a policy load fails

Published
30 Nov 2026, 13:17:27 UTC
Updated
30 Nov 2026, 13:17:27 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Linux — Linux637f688dc3dc304a89f441d76f49a0e35bc49c08 to < 086a46c82e33270815c8bbbdae5238136d44cb19 · 637f688dc3dc304a89f441d76f49a0e35bc49c08 to < fd17fdf972e16cbbcc7e930a8e03fdb694319aa9 · 637f688dc3dc304a89f441d76f49a0e35bc49c08 to < 2390625ee60eb12b6ffd9834511df250c1634bb3 · 637f688dc3dc304a89f441d76f49a0e35bc49c08 to < ce94927fa4173fcc1eca27bdc65a140064c8f1e6 · Other versions: unaffected Affected Not stated Linux
Linux — Linux4.13 (affected) · 0 to < 4.13 (unaffected · semver) · 6.12.119 through 6.12.* (unaffected · semver) · 6.18.65 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: fix profile leak when a policy load fails The error paths of aa_replace_profiles() and aa_unpack() do not break the refcount cycle between label and proxy. They just aa_put_profile() the new profiles, which drops the label refcount from 2 to 1, and the proxy keeps the profile alive. Every failed atomic policy load (e.g. "profile can not be replaced", or a later profile in the blob failing to unpack) leaks every new profile in the set, along with its proxy, rules and its loaddata reference. The leak is usually not visible from userspace, because the raw_data directory for a failed load is not created, but it becomes visible when the blob is deduplicated onto an existing loaddata, which then keeps its policy/raw_data/<rev> directory forever. Add aa_put_unpublished_profile(), which drops the profile's own proxy before putting the profile, and use it on those error paths. The proxy of an unpacked profile is always freshly allocated and not referenced by anything else before the profile is published, so putting it is safe.

en · Linux · cna

Vendor advisories explicitly linked to this CVE.

0

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.

Affected vendor and product assertions
VendorProductVersion statusSource
Linux Linux 637f688dc3dc304a89f441d76f49a0e35bc49c08 to < 086a46c82e33270815c8bbbdae5238136d44cb19 (affected · git)637f688dc3dc304a89f441d76f49a0e35bc49c08 to < fd17fdf972e16cbbcc7e930a8e03fdb694319aa9 (affected · git)637f688dc3dc304a89f441d76f49a0e35bc49c08 to < 2390625ee60eb12b6ffd9834511df250c1634bb3 (affected · git)637f688dc3dc304a89f441d76f49a0e35bc49c08 to < ce94927fa4173fcc1eca27bdc65a140064c8f1e6 (affected · git)Default: unaffected Linux · cna
Linux Linux 4.13 (affected)0 to < 4.13 (unaffected · semver)6.12.119 through 6.12.* (unaffected · semver)6.18.65 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

0

No weakness assertions.

References

4

Provider assertions

1

Linux · cna

apparmor: fix profile leak when a policy load fails

Provenance

Schema
5.2
Searchable
yes
Content hash
596ef6ca6bc1d959e65408785a18e640b6d048f83402da08b8d49d7fa493f3b4
Ingested
30 Nov 2026, 13:30:07 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected