PT-2026-162805

CVE-2026-99838

·

تاريخ النشر

2026-11-30

·

تاريخ التحديث

2026-11-30

الوصف من

الدرجة
N/A
غير متوفر

لا تتوفر حاليًا تقييمات أو مقاييس للخطورة. سنحدّث المعلومات المقابلة في الصفحة فور توفرها.

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.
المورّدون
المنتجات المتأثرة
المعرّفات ذات الصلة
وجدت خطأً في الوصف؟ لديك ما تضيفه؟ لا تتردد في مراسلتنا 👾