PT-2026-167223
CVE-2026-143365
·
تاريخ النشر
2026-12-03
·
تاريخ التحديث
2026-12-03
الوصف من
الدرجة
N/A
غير متوفرلا تتوفر حاليًا تقييمات أو مقاييس للخطورة. سنحدّث المعلومات المقابلة في الصفحة فور توفرها.
In the Linux kernel, the following vulnerability has been resolved:
bpf: Clamp the trace length in bpf get stack() again
get perf callchain() and get callchain entry for task() store a trace in a
per-CPU entry, one per context. They release the entry before they return
it. Thus a second user in the same context can write to the entry while the
first user reads it. preempt disable() stops only other tasks.
bpf get stack() requests at most max depth frames. This is skip plus the
frames that fit in the buffer, but not more than perf event max stack.
Since the commit below, it copies 'trace->nr - skip' frames with no limit.
But a second user can store a longer trace. The unwinders of PowerPC add
context markers that max depth does not limit. In both cases the copy
writes after the end of the buffer.
Read trace->nr one time. Clamp the value to max depth before the skip test,
as bpf get stack pe() does. Thus when max depth is less than skip, the
helper returns -EFAULT, and 'trace nr - skip' does not underflow. The
copied frames can still be those of the second user.
وجدت خطأً في الوصف؟ لديك ما تضيفه؟ لا تتردد في مراسلتنا 👾