EnvMap GitHub

CVE-2026-143362

bpf: Require prog fd or capability for cgroup detach

Not scored yetEPSS 0.30%Received

Description

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.

In the words of the organisation that published it (Linux).

Affected

  • Linux: from 2c78ee898d8f10ae6fb2fa23a3fbaec96b1b7366 before ee7978b00584e4479d52b640d7b; from 2c78ee898d8f10ae6fb2fa23a3fbaec96b1b7366 before aa92a579ea27b5ff255bc4ef96b; from 2c78ee898d8f10ae6fb2fa23a3fbaec96b1b7366 before 655b2a6215815fdbf164f4fdb09; from 2c78ee898d8f10ae6fb2fa23a3fbaec96b1b7366 before 2962329f7c86fc51c177d4049c0; 5.8

as the publisher (Linux) lists them.

Likelihood of exploitation

FIRST's EPSS gives a 0.30% chance of exploitation in the next 30 days, higher than 24% of all CVEs (as of 4 December 2026).

References

Record

Published10:18 UTC, 3 December 2026
Last changed10:18 UTC, 3 December 2026
NVD statusReceived
Published byLinux

CVE-2026-143362 on NVD · on CVE.org · Security Briefing

Follow it

Add the feed to a feed reader and new items arrive there as they are published, with no account here and no email.

Add to Feedly Add to Inoreader

Any other reader: paste https://envmap.tech/security/feed.xml

Where this comes from

Nothing here is written by an AI, summarised or rewritten: a headline is its newsroom's own and opens its story. A description is in the words of the organisation that published the CVE; a score says whose it is, NVD's or the publisher's; a CVE nobody has scored yet says so. A CVE that is rejected comes off every list. When a source does not answer, the page keeps the last answer it gave and says since when.

How to read it

EnvMap is a free, open-source DevOps control plane that you run yourself; its Security page brings your scanners' findings into one place. See what it does.