CVE-2026-139622: bpf: Fix overflow of jump offset in may_goto expansion
bpf: Fix overflow of jump offset in maygoto expansion
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 6.12.120 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 6.18.66 - 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
Event History
Frequently Asked Questions
What is required to trigger the incorrect control flow?
A BPF program must use may_goto with an offset whose expansion does not fit in the 16-bit jump-offset field. The described example is may_goto +32763, which can overflow and become a backward jump when may_goto expires.
What happens on JIT implementations that do not support gotol after the fix?
They will reject BPF programs requiring the out-of-range may_goto expansion. The fix emits a gotol-based sequence when the computed offset cannot fit.