CVE-2026-45932: bpf: Fix tcx/netkit detach permissions when prog fd isn't given

Published May 27, 2026
·
Updated

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 BPFPROGDETACH 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 CAPNETADMIN or CAPSYSADMIN in this case.

Affected Software

3 affected components
Linux Linux kernel
Linux Linux kernel>=6.6<6.18.14
Linux Linux kernel>=6.19<6.19.4

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Configuration

    Apply the kernel fix that adds a capability check so BPF_PROG_DETACH on tcx/netkit detach operations verifies CAP_NET_ADMIN or CAP_SYS_ADMIN when the program file descriptor (prog fd) is not provided.

    Linux kernel (BPF_PROG_DETACH on tcx/netkit) Detach permission checks for BPF program detach when prog fd isn't provided = Require CAP_NET_ADMIN or CAP_SYS_ADMIN

Event History

May 27, 2026
CVE Published
via MITRE·12:17 PM
Data Sourced
via MITRE·12:17 PM
DescriptionSeverity
Data Sourced
via NVD·02:17 PM
RemedyDescriptionSeverityAffected Software

Frequently Asked Questions

1

Who can exploit this issue?

A local user able to issue BPF_PROG_DETACH requests against tcx or netkit devices could exploit the missing permission check when no program file descriptor is supplied. The vulnerable path allowed this without the intended administrative capabilities.

2

What access does an attacker need?

The attack vector is local and requires low privileges; no user interaction is required. The affected operation is detaching BPF programs from tcx or netkit devices without providing a program FD.

3

What changes after the fix?

When no program FD is provided for BPF_PROG_DETACH on tcx or netkit devices, the kernel now requires CAP_NET_ADMIN or CAP_SYS_ADMIN. Users without either capability can no longer use that path to bypass permission checks.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203