CVE-2026-99831
Last modified
CVE-2026-99831 is a vulnerability of currently unknown severity. 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. EPSS estimates a 0.21% chance of exploitation in the next 30 days.
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.
Metrics
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | >= 637f688dc3dc304a89f441d76f49a0e35bc49c08, < 0d9f58ac13c92723cd3907deb0acc357ee4a3317; >= 637f688dc3dc304a89f441d76f49a0e35bc49c08, < 6ccc653c7e95f02e1e271f26c6d3bc80f264ab6d; >= 637f688dc3dc304a89f441d76f49a0e35bc49c08, < 086a46c82e33270815c8bbbdae5238136d44cb19; >= 637f688dc3dc304a89f441d76f49a0e35bc49c08, < fd17fdf972e16cbbcc7e930a8e03fdb694319aa9; >= 637f688dc3dc304a89f441d76f49a0e35bc49c08, < 2390625ee60eb12b6ffd9834511df250c1634bb3; >= 637f688dc3dc304a89f441d76f49a0e35bc49c08, < ce94927fa4173fcc1eca27bdc65a140064c8f1e6 |
| Linux | Linux | 4.13 |
References
Timeline
- Published
- Last Modified
- Status
- Received
Frequently Asked Questions
What is CVE-2026-99831?
How severe is CVE-2026-99831?
How do I fix CVE-2026-99831?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-99826In the Linux kernel, the following vulnerability has been re…
- CVE-2026-99827In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2026-99828In the Linux kernel, the following vulnerability has been re…
- CVE-2026-99829In the Linux kernel, the following vulnerability has been re…
- CVE-2026-9983Type Confusion in Skia in Google Chrome prior to 148.0.7778.…8.8
- CVE-2026-99830In the Linux kernel, the following vulnerability has been re…
- CVE-2026-99832In the Linux kernel, the following vulnerability has been re…
- CVE-2026-99833In the Linux kernel, the following vulnerability has been re…
- CVE-2026-99834In the Linux kernel, the following vulnerability has been re…
- CVE-2026-99835In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2026-99836In the Linux kernel, the following vulnerability has been re…
- CVE-2026-99837In the Linux kernel, the following vulnerability has been re…7
Are you affected by CVE-2026-99831?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
