Skip to main content
VulnerabilityPublished

CVE-2026-99838: Linux kernel · apparmor: fix refcount leak in aa_get_newest_profile()

Affects Linux kernelSource CVE Database V5

0
Compare

Not known to be exploited · fixed in e89a7966686b80e9a0e4b49c6040b6a18c6c98aa : update Linux kernel when convenient.

Data as of 30 Nov 2026, 13:46 UTC

Severity
Unrated

Rated by Threat Radar · CVSS not yet scored by NVD

Thin evidence

One scorer or none
Patch
Available – fixed in e89a7966686b80e9a0e4b49c6040b6a18c6c98aa, dabd6ac70acaa838e011df72286734faa318f99b, d8bc7adff286996fd3e5e984e25eb2359eb5cd94 +5

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 30 Nov 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 30 Nov 2026.

What to do

Upgrade to a fixed release listed under Affected software.

Affected software

ProductAffectedFixed in
LinuxLinuxAffected
  • ≥ 637f688dc3dc304a89f441d76f49a0e35bc49c08, < e89a7966686b80e9a0e4b49c6040b6a18c6c98aa
Fixed in
  • e89a7966686b80e9a0e4b49c6040b6a18c6c98aa
LinuxLinuxAffected
  • ≥ 637f688dc3dc304a89f441d76f49a0e35bc49c08, < dabd6ac70acaa838e011df72286734faa318f99b
Fixed in
  • dabd6ac70acaa838e011df72286734faa318f99b
LinuxLinuxAffected
  • ≥ 637f688dc3dc304a89f441d76f49a0e35bc49c08, < d8bc7adff286996fd3e5e984e25eb2359eb5cd94
Fixed in
  • d8bc7adff286996fd3e5e984e25eb2359eb5cd94
LinuxLinuxAffected
  • ≥ 637f688dc3dc304a89f441d76f49a0e35bc49c08, < d8a4aac994f8497b20ace6c3ca33425c80ab7492
Fixed in
  • d8a4aac994f8497b20ace6c3ca33425c80ab7492
LinuxLinuxAffected
  • ≥ 637f688dc3dc304a89f441d76f49a0e35bc49c08, < c70aba4b08a081cae49aaa7f94e76758b221b01b
Fixed in
  • c70aba4b08a081cae49aaa7f94e76758b221b01b
LinuxLinuxAffected
  • ≥ 637f688dc3dc304a89f441d76f49a0e35bc49c08, < 52e2c4b19e5a097e7c3fa99a39ad66b9d307c33a
Fixed in
  • 52e2c4b19e5a097e7c3fa99a39ad66b9d307c33a

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.

References

Community reviews

Loading reviews…