PT-2026-162805

CVE-2026-99838

·

Published

2026-11-30

·

Updated

2026-11-30

Description by

Score
N/A
Not available

No severity ratings or metrics are available. When they are, we'll update the corresponding info on the page.

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.
Vendors
Affected products
Related identifiers
Found an issue in the description? Have something to add? Feel free to write us 👾