{"id":"CVE-2026-139622","aliases":["CVE-2026-139622"],"related":[],"kind":"vulnerability","state":"published","title":"bpf: Fix overflow of jump offset in may_goto expansion","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"}],"published":"2026-11-30T13:36:27.171Z","modified":"2026-11-30T14:19:45.070Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"011832b97b311bb9e3c27945bc0d1089a14209c9","fixed":"90bf9ec4c063f478a0a822f664b819eb0a7b4a00","status":"affected"},{"type":"git","introduced":"011832b97b311bb9e3c27945bc0d1089a14209c9","fixed":"cd6f4f06637dff4df789ff733585c93ddbec8fb8","status":"affected"},{"type":"git","introduced":"011832b97b311bb9e3c27945bc0d1089a14209c9","fixed":"65014bb72d9ad73118ca2fe1936e1847b4556762","status":"affected"},{"type":"git","introduced":"011832b97b311bb9e3c27945bc0d1089a14209c9","fixed":"8a12a00f6c5dba70a6d908fe27a3c980d42b9515","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"6.9","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.9","status":"unaffected"},{"type":"semver","introduced":"6.12.120","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.66","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.3.6","lastAffected":"7.3.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.4-rc1","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/90bf9ec4c063f478a0a822f664b819eb0a7b4a00","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/cd6f4f06637dff4df789ff733585c93ddbec8fb8","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/65014bb72d9ad73118ca2fe1936e1847b4556762","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/8a12a00f6c5dba70a6d908fe27a3c980d42b9515","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-139622","url":"https://www.cve.org/CVERecord?id=CVE-2026-139622","licence":"CVE Terms of Use","modified":"2026-11-30T13:36:27.171Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-139622","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-139622","licence":"Public domain","modified":"2026-11-30T14:19:45.070Z"}],"updatedAt":"2026-11-30T14:33:06.069Z","epss":{"score":0.002,"percentile":0.1034,"date":"2026-12-01T12:00:22.000Z"}}