PT-2026-167220
CVE-2026-143362
·
تاريخ النشر
2026-12-03
·
تاريخ التحديث
2026-12-03
الوصف من
الدرجة
N/A
غير متوفرلا تتوفر حاليًا تقييمات أو مقاييس للخطورة. سنحدّث المعلومات المقابلة في الصفحة فور توفرها.
In the Linux kernel, the following vulnerability has been resolved:
bpf: Require prog fd or capability for cgroup detach
Since the commit below a cgroup prog detach does not require CAP NET ADMIN.
The fd of the attached prog gives the permission instead. But the detach
requires this fd only with BPF F ALLOW MULTI. Without this flag a cgroup
has only one prog per attach type. Then find detach entry() returns this
prog and does not compare it with the prog of the caller. Thus the kernel
detaches this prog for a caller with neither the fd nor a capability.
Compare the two progs. If they are different, require CAP NET ADMIN or
CAP SYS ADMIN in the initial user namespace. The error is -EPERM. A detach
from tcx or netkit without a prog fd already requires these capabilities.
With BPF F ALLOW MULTI nothing changes.
Without these capabilities, a caller of bpf prog detach() of libbpf must
now use bpf prog detach2() with the fd of the attached prog.
وجدت خطأً في الوصف؟ لديك ما تضيفه؟ لا تتردد في مراسلتنا 👾