PT-2026-167222

CVE-2026-143364

·

تاريخ النشر

2026-12-03

·

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

2026-12-03

الوصف من

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

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

In the Linux kernel, the following vulnerability has been resolved:
bpf: Clamp the trace length before the skip test in stackid init()
stackid init() gives a bucket of the stack map min(trace nr - skip, max depth - skip) trace entries. Here max depth is the size of a bucket plus skip, but at most perf event max stack. Context markers can make trace nr larger than that, so the skip test can pass when max depth < skip. Then 'max depth - skip' wraps, and the kernel can write after the bucket.
Clamp trace nr to max depth before the skip test, as bpf get stack pe() does. The result changes only when skip >= max depth. Then it is -EFAULT. Until now skip == max depth could give the id of an empty trace.
get perf callchain() releases the trace, so an NMI can change trace->nr. Use READ ONCE() in bpf get stackid(), so the compiler reads it one time.
المورّدون
المنتجات المتأثرة
المعرّفات ذات الصلة
وجدت خطأً في الوصف؟ لديك ما تضيفه؟ لا تتردد في مراسلتنا 👾