{"id":"CVE-2026-139605","summary":"bpf: Don't remove indirect jump targets in the nop removal pass","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nbpf: Don't remove indirect jump targets in the nop removal pass\n\nbpf_opt_remove_nops() drops every ja +0 and may_goto +0 unconditionally.\nA gotox target may itself be such a transparent nop: it is a verified\nentry of an insn array jump table that is reachable at run time through\nthe indirect jump. bpf_insn_array_adjust_after_remove() marks it as\nINSN_DELETED instead, and bpf_insn_array_ready() skips INSN_DELETED\nentries, so the program loads with a hole in its jump table. The x86\nJIT, for example, lowers gotox to a raw indirect jump, so executing\nthat index jumps to the zeroed ips[] slot, that is, to address 0.\nFix by keeping an indirect jump target in place.","modified":"2026-11-30T15:02:29.314459373Z","published":"2026-11-30T13:36:17.812Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/139xxx/CVE-2026-139605.json","cna_assigner":"Linux"},"references":[{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"},{"type":"WEB","url":"https://git.kernel.org/stable/c/4d7421b7cb5297a21be62e9fa5689e6eb531ec78"},{"type":"WEB","url":"https://git.kernel.org/stable/c/c48a91c049fd98fcde54880a24c51b9a05f7e185"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/139xxx/CVE-2026-139605.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-139605"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"493d9e0d608339a32f568504d5fd411a261bb0af"},{"fixed":"4d7421b7cb5297a21be62e9fa5689e6eb531ec78"},{"fixed":"c48a91c049fd98fcde54880a24c51b9a05f7e185"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-139605.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"6.19.0"},{"fixed":"7.3.6"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-139605.json"}}],"schema_version":"1.9.2"}