# CVE-2026-139605: bpf: Don't remove indirect jump targets in the nop removal pass

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.20%, higher than 9% of CVEs (2026-12-01)
- Published: 2026-11-30T13:36:17.812Z
- Modified: 2026-11-30T14:19:42.817Z
- 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.

(As written by CVE List.)

## Affected

- 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 *)

## References

- <https://git.kernel.org/stable/c/4d7421b7cb5297a21be62e9fa5689e6eb531ec78>
- <https://git.kernel.org/stable/c/c48a91c049fd98fcde54880a24c51b9a05f7e185>

## Sources

- CVE List: [CVE-2026-139605](https://www.cve.org/CVERecord?id=CVE-2026-139605), CVE Terms of Use, modified 2026-11-30
- NVD: [CVE-2026-139605](https://nvd.nist.gov/vuln/detail/CVE-2026-139605), Public domain, modified 2026-11-30

---

Page: https://cve.day/CVE-2026-139605 · Whole record: https://cve.day/CVE-2026-139605.json · Rebuilt by cve.day 2026-11-30T14:33:30.487Z
