CVE-2026-139605: bpf: Don't remove indirect jump targets in the nop removal pass
bpf: Don't remove indirect jump targets in the nop removal pass
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 7.3.6 - Upgrade
Upgrade
debian/linuxto a version that resolves this vulnerability.Fixed in 7.3.6-1 - Compensating control
Keep indirect jump targets in place during the nop-removal pass.
Event History
Frequently Asked Questions
What conditions are required for this issue to be triggered?
A BPF program must use an indirect gotox jump whose verified instruction-array jump-table target is a transparent no-op such as ja +0 or may_goto +0. During optimization, removal of that target can leave a deleted jump-table entry that remains reachable at run time.
What is the runtime consequence on x86 systems?
The x86 JIT lowers gotox to a raw indirect jump. If execution selects the removed jump-table entry, it can jump through a zeroed ips[] slot to address 0.
How can I determine whether a BPF program is exposed?
Review BPF programs using gotox and their instruction-array jump tables for targets that are ja +0 or may_goto +0. Such targets must remain present rather than being removed by the no-op optimization pass.