PT-2026-163359

CVE-2026-139318

·

تاريخ النشر

2026-11-30

·

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

2026-11-30

الوصف من

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

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

In the Linux kernel, the following vulnerability has been resolved:
bpf: Read the probe of a perf event under event mutex
For a perf event on a kprobe or uprobe event which was made in tracefs, bpf get kprobe info() and bpf get uprobe info() look the probe up by name in the list of dynamic events, and hand a pointer to its symbol or file name back to the caller. None of the callers holds event mutex.
The perf event keeps its trace event alive, nothing else. Other dynamic events are removed from the list and freed during the walk. And a probe which shares its event with other probes can be deleted while the event is in use, so even the probe which is found can be freed, together with the string, before the caller has measured and copied it. The result is a use-after-free in the walk, in strlen() and in the copy to user space, or a NULL pointer dereference.
The readers are BPF OBJ GET INFO BY FD and fdinfo of a perf link, for whoever holds a descriptor of the link, and BPF TASK FD QUERY. The other side is anybody who may write to dynamic events, kprobe events or uprobe events.
Take event mutex in bpf get perf event info() and give the caller a copy of the name, which it has to free.
المورّدون
المنتجات المتأثرة
المعرّفات ذات الصلة
وجدت خطأً في الوصف؟ لديك ما تضيفه؟ لا تتردد في مراسلتنا 👾