{"id":"CVE-2026-98816","aliases":["CVE-2026-98816"],"related":[],"kind":"vulnerability","state":"published","title":"bpf: Fix overflow of jump offset in constant blinding","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nbpf: Fix overflow of jump offset in constant blinding\n\nbpf_jit_blind_insn() rewrites 'if rX op imm goto off' into:\n\n  AX = imm ^ rnd\n  AX ^= rnd\n  if rX op AX goto off\n\nand subtracts 2 from off when the jump is backward. off is s16, so\n-32767 and -32768 wrap and the jump goes 32767 insns forward, past the\nend of the prog. The jump is inside the patch, hence bpf_adj_branches()\ndoesn't check it. The kernel crashes when such prog runs with\nbpf_jit_harden=2.\n\nReturn -ERANGE in such case. bpf_jit_blind_constants() fails the same\nway when blinding of other insns moves a jump out of range.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nbpf: Fix overflow of jump offset in constant blinding\n\nbpf_jit_blind_insn() rewrites 'if rX op imm goto off' into:\n\n  AX = imm ^ rnd\n  AX ^= rnd\n  if rX op AX goto off\n\nand subtracts 2 from off when the jump is backward. off is s16, so\n-32767 and -32768 wrap and the jump goes 32767 insns forward, past the\nend of the prog. The jump is inside the patch, hence bpf_adj_branches()\ndoesn't check it. The kernel crashes when such prog runs with\nbpf_jit_harden=2.\n\nReturn -ERANGE in such case. bpf_jit_blind_constants() fails the same\nway when blinding of other insns moves a jump out of range.","source":"cvelist"}],"published":"2026-10-18T15:49:05.616Z","modified":"2026-10-19T10:19:45.683Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"4f3446bb809f20ad56cadf712e6006815ae7a8f9","fixed":"443328237113ee0ea515e506497334d871dbc2aa","status":"affected"},{"type":"git","introduced":"4f3446bb809f20ad56cadf712e6006815ae7a8f9","fixed":"ad139384ecddb6f3e7e3c3c12765aafae0e39670","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"4.7","status":"affected"},{"type":"semver","introduced":"0","fixed":"4.7","status":"unaffected"},{"type":"semver","introduced":"7.2.10","lastAffected":"7.2.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.3","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/443328237113ee0ea515e506497334d871dbc2aa","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/ad139384ecddb6f3e7e3c3c12765aafae0e39670","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-98816","url":"https://www.cve.org/CVERecord?id=CVE-2026-98816","licence":"CVE Terms of Use","modified":"2026-10-19T09:26:09.337Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-98816","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-98816","licence":"Public domain","modified":"2026-10-19T10:19:45.683Z"}],"updatedAt":"2026-11-25T22:59:45.313Z","epss":{"score":0.00162,"percentile":0.05654,"date":"2026-12-01T12:00:22.000Z"}}