CVE-2026-99838
Last modified
CVE-2026-99838 is a vulnerability of currently unknown severity. In the Linux kernel, the following vulnerability has been resolved: apparmor: fix refcount leak in aa_get_newest_profile() The labels_profile() macro is evaluating its argument twice #define labels_profile(X) ((X)->vec[(X)->size - 1]) unfortunately aa_get_newest_profile() passes aa_get_newest_label(&p->label) so every call to aa_get_newest_profile results in 2 refcounts being taken with one being leaked. There is no need for labels_profile() to be a macro. Convert it to an inline fn, which ensures all uses are passing the correct struct and removes the double evaluation..
Description
In the Linux kernel, the following vulnerability has been resolved: apparmor: fix refcount leak in aa_get_newest_profile() The labels_profile() macro is evaluating its argument twice #define labels_profile(X) ((X)->vec[(X)->size - 1]) unfortunately aa_get_newest_profile() passes aa_get_newest_label(&p->label) so every call to aa_get_newest_profile results in 2 refcounts being taken with one being leaked. There is no need for labels_profile() to be a macro. Convert it to an inline fn, which ensures all uses are passing the correct struct and removes the double evaluation.
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | >= 637f688dc3dc304a89f441d76f49a0e35bc49c08, < d8a4aac994f8497b20ace6c3ca33425c80ab7492; >= 637f688dc3dc304a89f441d76f49a0e35bc49c08, < c70aba4b08a081cae49aaa7f94e76758b221b01b; >= 637f688dc3dc304a89f441d76f49a0e35bc49c08, < 52e2c4b19e5a097e7c3fa99a39ad66b9d307c33a; >= 637f688dc3dc304a89f441d76f49a0e35bc49c08, < d8bc7adff286996fd3e5e984e25eb2359eb5cd94; >= 637f688dc3dc304a89f441d76f49a0e35bc49c08, < e89a7966686b80e9a0e4b49c6040b6a18c6c98aa; >= 637f688dc3dc304a89f441d76f49a0e35bc49c08, < 8c054c71d47d19472d2aa2efbae89d2c85e0b7cf; >= 637f688dc3dc304a89f441d76f49a0e35bc49c08, < dabd6ac70acaa838e011df72286734faa318f99b; >= 637f688dc3dc304a89f441d76f49a0e35bc49c08, < 33ed50716251d5b2875706c40d0c8082d46be0b1 |
| Linux | Linux | 4.13 |
References
Timeline
- Published
- Last Modified
- Status
- Received
Frequently Asked Questions
What is CVE-2026-99838?
How severe is CVE-2026-99838?
How do I fix CVE-2026-99838?
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-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
- CVE-2026-99839In the Linux kernel, the following vulnerability has been re…
- CVE-2026-9984Use after free in UI in Google Chrome on Windows prior to 14…8.8
- CVE-2026-99840In the Linux kernel, the following vulnerability has been re…
- CVE-2026-99841In the Linux kernel, the following vulnerability has been re…
- CVE-2026-99842In the Linux kernel, the following vulnerability has been re…
- CVE-2026-99843In the Linux kernel, the following vulnerability has been re…
Are you affected by CVE-2026-99838?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
