# CVE-2026-98816: bpf: Fix overflow of jump offset in constant blinding

- 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.16%, higher than 5% of CVEs (2026-12-01)
- Published: 2026-10-18T15:49:05.616Z
- Modified: 2026-10-19T10:19:45.683Z
- Assigned by: Linux

## Description

In the Linux kernel, the following vulnerability has been resolved:

bpf: Fix overflow of jump offset in constant blinding

bpf_jit_blind_insn() rewrites 'if rX op imm goto off' into:

  AX = imm ^ rnd
  AX ^= rnd
  if rX op AX goto off

and subtracts 2 from off when the jump is backward. off is s16, so
-32767 and -32768 wrap and the jump goes 32767 insns forward, past the
end of the prog. The jump is inside the patch, hence bpf_adj_branches()
doesn't check it. The kernel crashes when such prog runs with
bpf_jit_harden=2.

Return -ERANGE in such case. bpf_jit_blind_constants() fails the same
way when blinding of other insns moves a jump out of range.

(As written by CVE List.)

## Affected

- Linux Linux: from 4f3446bb809f20ad56cadf712e6006815ae7a8f9 before 443328237113ee0ea515e506497334d871dbc2aa; from 4f3446bb809f20ad56cadf712e6006815ae7a8f9 before ad139384ecddb6f3e7e3c3c12765aafae0e39670; 4.7 (not affected: before 4.7; from 7.2.10 up to 7.2.*; from 7.3 up to *)

## References

- <https://git.kernel.org/stable/c/443328237113ee0ea515e506497334d871dbc2aa>
- <https://git.kernel.org/stable/c/ad139384ecddb6f3e7e3c3c12765aafae0e39670>

## Sources

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

---

Page: https://cve.day/CVE-2026-98816 · Whole record: https://cve.day/CVE-2026-98816.json · Rebuilt by cve.day 2026-11-25T22:59:45.313Z
