PT-2026-163485
CVE-2026-139444
·
تاريخ النشر
2026-11-30
·
تاريخ التحديث
2026-11-30
الوصف من
الدرجة
N/A
غير متوفرلا تتوفر حاليًا تقييمات أو مقاييس للخطورة. سنحدّث المعلومات المقابلة في الصفحة فور توفرها.
In the Linux kernel, the following vulnerability has been resolved:
bpf: Reject BTF ids with the same address in tracing multi link
check dup ids() rejects equal BTF ids, but different ids can resolve to
the same address. Aliases:
ffffffff8161b6b0 t do sys munlockall
ffffffff8161b6b0 T ia32 sys munlockall
ffffffff8161b6b0 T x64 sys munlockall
or several BTF KIND FUNC with the same name that vmlinux BTF has when
CONFIG DEBUG INFO BTF INLINE is set.
Each id gets its own trampoline and register fentry multi() adds them to
data->reg with the same ip. update ftrace direct add() checks that new
entries are not in direct functions, but doesn't compare them with each
other, so the attach succeeds. At detach update ftrace direct del() sees
that 'direct' of one of the entries doesn't match and returns -EINVAL:
WARNING: kernel/bpf/trampoline.c:1845 at bpf trampoline multi detach+0x24c/0x280
Call Trace:
bpf link free+0x51/0x110
bpf link release+0x18/0x20
fput+0x103/0x2d0
x64 sys close+0x3d/0x80
The images are freed anyway, while ftrace still calls them:
Oops: int3: 0000 [#1] SMP NOPTI
RIP: 0010:0xffffffffc042b201
Call Trace:
? audit syscall exit+0x9/0x100
? do syscall 64+0x5ab/0x5e0
entry SYSCALL 64 after hwframe+0x77/0x7f
Kernel panic - not syncing: Fatal exception in interrupt
Return -EINVAL from register fentry multi() when ip is already in
data->reg. When such ids are attached via different links the second
attach already fails with -EINVAL in update ftrace direct add().
Move the declaration of ftrace lookup ip() to include/linux/ftrace.h.
The lookup adds 60 msec to the attach of 64480 functions in
tracing multi bench attach: 1.34 -> 1.40 sec.
وجدت خطأً في الوصف؟ لديك ما تضيفه؟ لا تتردد في مراسلتنا 👾