# CVE-2026-143362

- Bağlantı: https://www.allsafe.com.tr/cve-2026-143362/
- Yayımlanma: 2026-12-03T13:18:25+03:00
- Yazar: Postmaster

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.

Bu kayıt NIST NVD kaynağından aktarılmıştır. Etkilenen sürümler, güncel değerlendirme
ve üretici referansları için kaynak kaydı inceleyin.

Kaynak: [NIST NVD — özgün kaydı inceleyin ↗](https://nvd.nist.gov/vuln/detail/CVE-2026-143362)
