{"id":"CVE-2026-139622","summary":"bpf: Fix overflow of jump offset in may_goto expansion","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nbpf: Fix overflow of jump offset in may_goto expansion\n\nmay_goto is expanded into 'if AX == 0 goto off + 5' when it's timed,\noff + 2 when it's not and off - 1 when it jumps backward. The sum is\nstored into 16-bit off without a range check, so may_goto +32763\nturns into:\n\n  if r12 == 0x0 goto pc-32768\n\nand the prog jumps backward when may_goto expires.\n\nEmit 'if AX != 0 goto +1; gotol' when the offset doesn't fit and\ncompute the offset from the number of insns in the expansion.\nJITs that don't support gotol will reject such prog.","modified":"2026-11-30T15:02:29.623284227Z","published":"2026-11-30T13:36:27.171Z","database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/139xxx/CVE-2026-139622.json"},"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/65014bb72d9ad73118ca2fe1936e1847b4556762"},{"type":"WEB","url":"https://git.kernel.org/stable/c/8a12a00f6c5dba70a6d908fe27a3c980d42b9515"},{"type":"WEB","url":"https://git.kernel.org/stable/c/90bf9ec4c063f478a0a822f664b819eb0a7b4a00"},{"type":"WEB","url":"https://git.kernel.org/stable/c/cd6f4f06637dff4df789ff733585c93ddbec8fb8"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/139xxx/CVE-2026-139622.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-139622"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"011832b97b311bb9e3c27945bc0d1089a14209c9"},{"fixed":"90bf9ec4c063f478a0a822f664b819eb0a7b4a00"},{"fixed":"cd6f4f06637dff4df789ff733585c93ddbec8fb8"},{"fixed":"65014bb72d9ad73118ca2fe1936e1847b4556762"},{"fixed":"8a12a00f6c5dba70a6d908fe27a3c980d42b9515"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-139622.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"6.9.0"},{"fixed":"6.12.120"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.13.0"},{"fixed":"6.18.66"}]},{"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-139622.json"}}],"schema_version":"1.9.2"}