# CVE-2026-139608: bpf: Bound the number of indirect jump edges in a program

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

## Description

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

bpf: Bound the number of indirect jump edges in a program

Every gotox instruction gets its own copy of the jump table of the subprog
containing it, and each distinct target in that table is a CFG successor
of the instruction. The number of such edges is therefore the number of
gotox instructions times the number of distinct targets, and neither
factor is bounded by anything except the instruction limit.

What is expensive is a BPF prog whose gotox instructions are themselves
the targets, which makes the edge count quadratic. 1024 such gotox are
already ~1e6 edges and about 4s of CPU to load.

Bound the total across the program at BPF_COMPLEXITY_LIMIT_INSNS, aka
the limit on the number of instructions the verifier processes. Progs
with real switch statements are orders of magnitude below this.

This bounds the edges only. Building the jump table of a gotox costs the
number of entries of all insn array maps regardless of how many distinct
targets they hold, which a later patch addresses separately.

(As written by CVE List.)

## Affected

- Linux Linux: from 493d9e0d608339a32f568504d5fd411a261bb0af before 10c336564fff4fba166280230b7b874154021879; from 493d9e0d608339a32f568504d5fd411a261bb0af before 57f6eca2f63b46dc9526e040cb419321a5013564; 6.19 (not affected: before 6.19; from 7.3.6 up to 7.3.*; from 7.4-rc1 up to *)

## References

- <https://git.kernel.org/stable/c/10c336564fff4fba166280230b7b874154021879>
- <https://git.kernel.org/stable/c/57f6eca2f63b46dc9526e040cb419321a5013564>

## Sources

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

---

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