CVE-2026-139605
Not scored
bpf: Don't remove indirect jump targets in the nop removal pass
- Severity
- Not scored
- Exploit likelihood
- 0.20% (higher than 9% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Linux
Description
In the Linux kernel, the following vulnerability has been resolved: bpf: Don't remove indirect jump targets in the nop removal pass bpf_opt_remove_nops() drops every ja +0 and may_goto +0 unconditionally. A gotox target may itself be such a transparent nop: it is a verified entry of an insn array jump table that is reachable at run time through the indirect jump. bpf_insn_array_adjust_after_remove() marks it as INSN_DELETED instead, and bpf_insn_array_ready() skips INSN_DELETED entries, so the program loads with a hole in its jump table. The x86 JIT, for example, lowers gotox to a raw indirect jump, so executing that index jumps to the zeroed ips[] slot, that is, to address 0. Fix by keeping an indirect jump target in place.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Linux Linux | from 493d9e0d608339a32f568504d5fd411a261bb0af before 4d7421b7cb5297a21be62e9fa5689e6eb531ec78, from 493d9e0d608339a32f568504d5fd411a261bb0af before c48a91c049fd98fcde54880a24c51b9a05f7e185, 6.19 Not affected: before 6.19, from 7.3.6 up to 7.3.*, from 7.4-rc1 up to * | CVE List |
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-139605 changed 2026-11-30 | CVE Terms of Use |
| NVD | CVE-2026-139605 changed 2026-11-30 | Public domain |