CVE-2026-139608

Source
https://cve.org/CVERecord?id=CVE-2026-139608
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-139608.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-139608
Downstream
Published
2026-11-30T13:36:19Z
Modified
2026-11-30T15:02:29Z
Summary
bpf: Bound the number of indirect jump edges in a program
Details

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.

Database specific
{
    "cna_assigner":  "Linux",
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/139xxx/CVE-2026-139608.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
493d9e0d608339a32f568504d5fd411a261bb0af
Fixed
10c336564fff4fba166280230b7b874154021879
Fixed
57f6eca2f63b46dc9526e040cb419321a5013564

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-139608.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
6.19.0
Fixed
7.3.6

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-139608.json"