Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2026-99838

published

apparmor: fix refcount leak in aa_get_newest_profile()

Published
30 Nov 2026, 13:17:31 UTC
Updated
30 Nov 2026, 13:17:31 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Linux — Linux637f688dc3dc304a89f441d76f49a0e35bc49c08 to < d8a4aac994f8497b20ace6c3ca33425c80ab7492 · 637f688dc3dc304a89f441d76f49a0e35bc49c08 to < c70aba4b08a081cae49aaa7f94e76758b221b01b · 637f688dc3dc304a89f441d76f49a0e35bc49c08 to < 52e2c4b19e5a097e7c3fa99a39ad66b9d307c33a · 637f688dc3dc304a89f441d76f49a0e35bc49c08 to < d8bc7adff286996fd3e5e984e25eb2359eb5cd94 · 637f688dc3dc304a89f441d76f49a0e35bc49c08 to < e89a7966686b80e9a0e4b49c6040b6a18c6c98aa · 637f688dc3dc304a89f441d76f49a0e35bc49c08 to < 8c054c71d47d19472d2aa2efbae89d2c85e0b7cf · 637f688dc3dc304a89f441d76f49a0e35bc49c08 to < dabd6ac70acaa838e011df72286734faa318f99b · 637f688dc3dc304a89f441d76f49a0e35bc49c08 to < 33ed50716251d5b2875706c40d0c8082d46be0b1 · Other versions: unaffected Affected Not stated Linux
Linux — Linux4.13 (affected) · 0 to < 4.13 (unaffected · semver) · 5.10.275 through 5.10.* (unaffected · semver) · 5.15.226 through 5.15.* (unaffected · semver) · 6.1.193 through 6.1.* (unaffected · semver) · 6.6.163 through 6.6.* (unaffected · semver) · 6.12.117 through 6.12.* (unaffected · semver) · 6.18.63 through 6.18.* (unaffected · semver) · 7.3.4 through 7.3.* (unaffected · semver) · 7.4-rc1 and later (unaffected · original_commit_for_fix) · Other versions: affected Version-specific Not stated Linux
Amazon Linux AL2 Release evaluation Not Affected Not required Amazon Linux assessment
Amazon Linux AL2023 Release evaluation Not Affected Not required Amazon Linux assessment

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.

en · Linux · cna

Vendor advisories explicitly linked to this CVE.

0

No linked advisories were found for this CVE.

Assessment

CVSS risk assessment and additional context for this vulnerability.

No normalized assessments.

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Linux Linux 637f688dc3dc304a89f441d76f49a0e35bc49c08 to < d8a4aac994f8497b20ace6c3ca33425c80ab7492 (affected · git)637f688dc3dc304a89f441d76f49a0e35bc49c08 to < c70aba4b08a081cae49aaa7f94e76758b221b01b (affected · git)637f688dc3dc304a89f441d76f49a0e35bc49c08 to < 52e2c4b19e5a097e7c3fa99a39ad66b9d307c33a (affected · git)637f688dc3dc304a89f441d76f49a0e35bc49c08 to < d8bc7adff286996fd3e5e984e25eb2359eb5cd94 (affected · git)637f688dc3dc304a89f441d76f49a0e35bc49c08 to < e89a7966686b80e9a0e4b49c6040b6a18c6c98aa (affected · git)637f688dc3dc304a89f441d76f49a0e35bc49c08 to < 8c054c71d47d19472d2aa2efbae89d2c85e0b7cf (affected · git)637f688dc3dc304a89f441d76f49a0e35bc49c08 to < dabd6ac70acaa838e011df72286734faa318f99b (affected · git)637f688dc3dc304a89f441d76f49a0e35bc49c08 to < 33ed50716251d5b2875706c40d0c8082d46be0b1 (affected · git)Default: unaffected Linux · cna
Linux Linux 4.13 (affected)0 to < 4.13 (unaffected · semver)5.10.275 through 5.10.* (unaffected · semver)5.15.226 through 5.15.* (unaffected · semver)6.1.193 through 6.1.* (unaffected · semver)6.6.163 through 6.6.* (unaffected · semver)6.12.117 through 6.12.* (unaffected · semver)6.18.63 through 6.18.* (unaffected · semver)7.3.4 through 7.3.* (unaffected · semver)7.4-rc1 and later (unaffected · original_commit_for_fix)Default: affected Linux · cna

Weaknesses

0

No weakness assertions.

References

8

Provider assertions

1

Linux · cna

apparmor: fix refcount leak in aa_get_newest_profile()

Provenance

Schema
5.2
Searchable
yes
Content hash
4c232b1be262f964d2b15a49241e20f040ce54c4d5237dc15edae05d0716e8b4
Ingested
30 Nov 2026, 13:30:07 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected