CVE-2026-74736: net/sched: cls_bpf: reject dev-bound programs bound to a different device

Published Aug 26, 2026
·
Updated

In the Linux kernel, the following vulnerability has been resolved:

net/sched: clsbpf: reject dev-bound programs bound to a different device

clsbpfprogfromefd() obtained a SCHEDCLS program via bpfproggettypedev() but never verified that a device-bound (offloaded) program's bound netdev matches the TC netdev the classifier is being attached to. This let a program loaded with progifindex for device A be attached via clsbpf + skipsw to device B; deleting device A then destroyed the program's offload state while it was still attached to device B, triggering a netdevsim WARN (panic with paniconwarn=1).

Mirror the XDP attach path (net/core/dev.c) and reject the attach with -EINVAL when a dev-bound program's bound device does not match the target device.

Affected Software

1 affected component
Linux Linux kernel

Event History

Aug 26, 2026
CVE Published
via MITRE·02:36 PM
Data Sourced
via MITRE·02:36 PM
Description
Data Sourced
via NVD·03:16 PM
Description

Frequently Asked Questions

1

What conditions are required to trigger this issue?

An attacker or local user must be able to load a device-bound SCHED_CLS BPF program for one network device, attach it to a different TC network device using cls_bpf with skip_sw, and then delete the originally bound device.

2

What is the observable impact?

Deleting the original device destroys the program's offload state while the program remains attached to the other device. This triggers a netdevsim WARN and can cause a kernel panic when panic_on_warn=1.

3

How does the fix change behavior?

The kernel now rejects the attachment with -EINVAL when a device-bound program's bound network device differs from the TC device receiving the classifier.

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