CVE-2026-99831
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.
Affected versions
Linux kernel versions
4.13
and later are affected. Fixed in
6.12.119,
6.18.65,
7.3.4,
7.4-rc1
and their respective stable series.
References
6 totalFrequently asked questions
-
What is CVE-2026-99831?
CVE-2026-99831 is a unscored severity Linux kernel vulnerability . It affects Linux kernel versions from 4.13 onward and has been patched in 6.12.119, 6.18.65, 7.3.4 and others. CVE-2026-99831 has not been confirmed as actively exploited and is not listed in the CISA KEV catalog.
-
Is there a patch available for CVE-2026-99831?
Yes. CVE-2026-99831 has been patched. Fixed versions include 6.12.119, 6.18.65, 7.3.4 and others. If you are running Linux kernel 4.13 or later up to the fix versions, apply the relevant patch for your kernel branch.
-
Is CVE-2026-99831 actively exploited?
No. CVE-2026-99831 has not been confirmed as actively exploited. It is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog.