CVE-2026-143362

Not scored yetLast modified Dec 3, 2026

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.

Metrics

No CVSS score has been published yet.

Affected software

Source: the vendor's advisory (CNA). NVD analysis pending.

No affected versions have been published.

Timeline

Published
Dec 3, 2026
Last modified
Dec 3, 2026
NVD status
Received

Related CVEs from 2026

CVE-2026-143363In the Linux kernel, the following vulnerability has been resolved: bpf: Don't let bpf_arena_free_pages() see a half-set user range If mapCVE-2026-143364In the Linux kernel, the following vulnerability has been resolved: bpf: Clamp the trace length before the skip test in stackid_init() staCVE-2026-143365In the Linux kernel, the following vulnerability has been resolved: bpf: Clamp the trace length in __bpf_get_stack() again get_perf_callchCVE-2026-143366In the Linux kernel, the following vulnerability has been resolved: spi: pic32-sqi: fail transfer when the BD ring is exhausted pic32_sqi_CVE-2026-143367In the Linux kernel, the following vulnerability has been resolved: bpf, x86: Fix bpf_throw() in a prog with a private stack When the mainCVE-2026-143368In the Linux kernel, the following vulnerability has been resolved: netfilter: nft_reject: prevent unbounded recursion in output hooks nftCVE-2026-143369In the Linux kernel, the following vulnerability has been resolved: ALSA: hda/core: Fix double free on stream page allocation failure SincCVE-2026-143374.6Pega Platform versions 23.1.0 through 25.1.3 are affected by an Stored Cross-site scripting (XSS) vulnerability in a user interface componenCVE-2026-143370In the Linux kernel, the following vulnerability has been resolved: ALSA: memalloc: Free the new pages when WC DMA mapping fails snd_dma_wCVE-2026-143371In the Linux kernel, the following vulnerability has been resolved: net: ipa: Fix double free of the interrupt structure on config error SCVE-2026-143372In the Linux kernel, the following vulnerability has been resolved: tipc: reject attaching bearer of different media to the same occupied dCVE-2026-143373In the Linux kernel, the following vulnerability has been resolved: scsi: target: Validate REGISTER AND MOVE TransportID length REGISTER A
CVE-2026-143362: Unscored | Vulnix