Bug 2586892 (CVE-2026-139608) - CVE-2026-139608 kernel: kernel: Denial of Service via unbounded indirect jump edges in BPF verifier
Summary: CVE-2026-139608 kernel: kernel: Denial of Service via unbounded indirect jump...
Keywords:
Status: NEW
Alias: CVE-2026-139608
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-11-30 14:46 UTC by OSIDB Bzimport
Modified: 2026-12-01 06:55 UTC (History)
17 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-11-30 14:46:39 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.