CVE-2026-99838
CVE-2026-99838 — apparmor: fix refcount leak in aa_get_newest_profile()
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.
Published Updated Sources: cvelistV5, Linux
Triage
Is it exploited, how likely is exploitation, what does it touch, and how severe do the scoring sources call it.
Exploitation
Unreported
no source claims exploitation
EPSS
<1%
chance of exploitation in 30 days
CVSS base
Unscored
no source published a base score
Affected scope
The catalog records vendors and products as separate lists, not pairs, so which product belongs to which vendor is not something this page can say.
Vendors (1)
Products (1)
References
8 on the record
- git.kernel.org/stable/c/d8a4aac994f8497b20ace6c3ca33425c80ab7492
reference
- git.kernel.org/stable/c/c70aba4b08a081cae49aaa7f94e76758b221b01b
reference
- git.kernel.org/stable/c/52e2c4b19e5a097e7c3fa99a39ad66b9d307c33a
reference
- git.kernel.org/stable/c/d8bc7adff286996fd3e5e984e25eb2359eb5cd94
reference
- git.kernel.org/stable/c/e89a7966686b80e9a0e4b49c6040b6a18c6c98aa
reference
- git.kernel.org/stable/c/8c054c71d47d19472d2aa2efbae89d2c85e0b7cf
reference
- git.kernel.org/stable/c/dabd6ac70acaa838e011df72286734faa318f99b
reference
- git.kernel.org/stable/c/33ed50716251d5b2875706c40d0c8082d46be0b1
reference
Related CVEs
Same product first, then the same weakness or threat actor.
- CVE-2025-39682 tls: fix handling of zero-length records on the rx_listCVSS 9.8 · CISA KEV
- CVE-2016-3427 Oracle Java SE and JRockit Unspecified VulnerabilityCVSS 9.8 · CISA KEV
- CVE-2026-53266 netfilter: bridge: make ebt_snat ARP rewrite writableCVSS 8.8 · CISA KEV
- CVE-2026-46300 net: skbuff: preserve shared-frag marker during coalescingCVSS 7.8 · CISA KEV
- CVE-2026-31431 crypto: algif_aead - Revert to operating out-of-placeCVSS 7.8 · CISA KEV
- CVE-2014-3153 Linux Kernel Privilege Escalation VulnerabilityCVSS 7.8 · CISA KEV
Elsewhere on this site
- Linuxevery CVE for this vendor
Not in any source we poll
Listed rather than left blank: an empty field and an unmeasured one look identical on screen, and only one is a reason to look elsewhere.
- No confirmed IOCs, IP addresses, domains, file hashes, or malware artifacts supplied.
- No organization-specific asset inventory, compensating-control status, or patch deployment evidence supplied.
- No exploit packet captures, log samples, or incident case IDs supplied.