Skip to content
This page tracks the Debian fix status. The vulnerability itself is described on the main CVE page. View CVE-2026-99838 →
Unrated

In the Linux kernel, the following vulnerability has been resolved: apparmor: fix refcount leak in aa_get_newest_profile() The labels_profile() macr...

DEBIAN-CVE-2026-99838 First seen on SecPulse

Affected packages

PackageAffected → Fixed
Debian:12linux
All versions→ Not listed
Debian:13linux
< 6.12.117-1→ 6.12.117-1
Debian:14linux
< 7.3.4-1→ 7.3.4-1
Original description The description as published by the source.

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.

Source: OSV.dev (Open Source Vulnerabilities) OSV

References

We use cookies for analytics and ad measurement. This setting applies to all Game co., Ltd. sites. Details