All reports
Medium

kernel: bpf: Fix tcx/netkit detach permissions when prog fd isn't given

Affected versions

Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported

Exploitation

CVE-2026-45932

Probability of exploitation in the next 30 days: 0.17%

FIRST EPSS · 2026-11-22

Description

In the Linux kernel, the following vulnerability has been resolved: bpf: Fix tcx/netkit detach permissions when prog fd isn't given This commit fixes a security issue where BPF_PROG_DETACH on tcx or netkit devices could be executed by any user when no program fd was provided, bypassing permission checks. The fix adds a capability check for CAP_NET_ADMIN or CAP_SYS_ADMIN in this case.

A flaw was found in the Linux kernel's extended Berkeley Packet Filter (eBPF) subsystem. When detaching network programs from traffic control (tcx) or virtual network (netkit) devices without specifying a program descriptor, the kernel failed to perform required administrative permission checks. A local user could exploit this vulnerability to remove active network programs without authorization, potentially disrupting network traffic isolation or bypassing security and filtering policies.