# CVE-2026-139622: bpf: Fix overflow of jump offset in may_goto expansion

- 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.20%, higher than 10% of CVEs (2026-12-01)
- Published: 2026-11-30T13:36:27.171Z
- Modified: 2026-11-30T14:19:45.070Z
- Assigned by: Linux

## Description

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

bpf: Fix overflow of jump offset in may_goto expansion

may_goto is expanded into 'if AX == 0 goto off + 5' when it's timed,
off + 2 when it's not and off - 1 when it jumps backward. The sum is
stored into 16-bit off without a range check, so may_goto +32763
turns into:

  if r12 == 0x0 goto pc-32768

and the prog jumps backward when may_goto expires.

Emit 'if AX != 0 goto +1; gotol' when the offset doesn't fit and
compute the offset from the number of insns in the expansion.
JITs that don't support gotol will reject such prog.

(As written by CVE List.)

## Affected

- Linux Linux: from 011832b97b311bb9e3c27945bc0d1089a14209c9 before 90bf9ec4c063f478a0a822f664b819eb0a7b4a00; from 011832b97b311bb9e3c27945bc0d1089a14209c9 before cd6f4f06637dff4df789ff733585c93ddbec8fb8; from 011832b97b311bb9e3c27945bc0d1089a14209c9 before 65014bb72d9ad73118ca2fe1936e1847b4556762; from 011832b97b311bb9e3c27945bc0d1089a14209c9 before 8a12a00f6c5dba70a6d908fe27a3c980d42b9515; 6.9 (not affected: before 6.9; from 6.12.120 up to 6.12.*; from 6.18.66 up to 6.18.*; from 7.3.6 up to 7.3.*; from 7.4-rc1 up to *)

## References

- <https://git.kernel.org/stable/c/90bf9ec4c063f478a0a822f664b819eb0a7b4a00>
- <https://git.kernel.org/stable/c/cd6f4f06637dff4df789ff733585c93ddbec8fb8>
- <https://git.kernel.org/stable/c/65014bb72d9ad73118ca2fe1936e1847b4556762>
- <https://git.kernel.org/stable/c/8a12a00f6c5dba70a6d908fe27a3c980d42b9515>

## Sources

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

---

Page: https://cve.day/CVE-2026-139622 · Whole record: https://cve.day/CVE-2026-139622.json · Rebuilt by cve.day 2026-11-30T14:33:06.069Z
