CVE-2025-38607

bpf: handle jset (if a & b ...) as a jump in CFG computation

published August 19, 2025

CVSS
—
EPSS
0%
Percentile
5.1
In the wild
Unconfirmed
What it is

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

bpf: handle jset (if a & b ...) as a jump in CFG computation

BPF_JSET is a conditional jump and currently verifier.c:can_jump()

does not know about that. This can lead to incorrect live registers

and SCC computation.

E.g. in the following example:

1: r0 = 1;

2: r2 = 2;

3: if r1 & 0x7 goto +1;

4: exit;

5: r0 = r2;

6: exit;

W/o this fix insn_successors(3) will return only (4), a jump to (5)

would be missed and r2 won't be marked as alive at (3).

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.00162 · 5.1th percentile
Published
2025-08-19T17:03Z
EPSS history
Timeline
  • 19 AUG 17:03Z
    bpf: handle jset (if a & b ...) as a jump in CFG computation
    cvelistv5