Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2025-38607

published high CVSS 3.1 · 7.8

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

Published
19 Aug 2025, 17:03:50 UTC
Updated
05 Aug 2026, 12:03:27 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Linux — Linux14c8552db64476ffc27c13dc6652fc0dac31c0ba to < 65eb166b8636365ad3d6e36d50a7c5edfe6cc66e · 14c8552db64476ffc27c13dc6652fc0dac31c0ba to < 261b30ad1516f4b9edd500aa6e8d6315c8fc109a · 14c8552db64476ffc27c13dc6652fc0dac31c0ba to < 3157f7e2999616ac91f4d559a8566214f74000a5 · Other versions: unaffected Affected Not stated Linux
Linux — Linux6.15 (affected) · 0 to < 6.15 (unaffected · semver) · 6.15.10 through 6.15.* (unaffected · semver) · 6.16.1 through 6.16.* (unaffected · semver) · 6.17 and later (unaffected · original_commit_for_fix) · Other versions: affected Version-specific Not stated Linux
Amazon Linux AL2 Release evaluation Not Affected Not required Amazon Linux assessment
Amazon Linux AL2023 Release evaluation Not Affected Not required Amazon Linux assessment

Description

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).

en · Linux · cna

Vendor advisories explicitly linked to this CVE.

0

No linked advisories were found for this CVE.

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
7.8 / 10
Severity
high
Provider
Linux · cna
Vector string
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Scenarios
en: AV:L - The vulnerable analysis runs inside the BPF verifier, reached only through the local `bpf(BPF_PROG_LOAD)` syscall with attacker-supplied bytecode. There is no network or remote-peer component in the path. AC:L - The attacker fully authors the instruction stream, so emitting a `BPF_JSET` prune point whose taken-branch registers are wrongly marked dead is entirely deterministic. No race, timing window, or uncontrollable memory-layout condition is involved. PR:L - With the upstream default `CONFIG_BPF_UNPRIV_DEFAULT_OFF=n` (`sysctl_unprivileged_bpf_disabled == 0`), any unprivileged local user can load a socket-filter program and reach `compute_live_registers()`/`func_states_equal()`; otherwise `CAP_BPF`, commonly held by container and observability workloads, is enough. No real root in the init namespace is required. UI:N - The attacker loads and triggers its own BPF program end-to-end via the bpf() syscall. No victim action or cooperation is needed. S:U - The impact is confinement failure within the kernel's own security authority — an unprivileged process gains kernel-level memory access on the same host. No VM, IOMMU, or hypervisor boundary is crossed. C:H - Unsound pruning at the JSET checkpoint lets an unverified attacker-controlled pointer/scalar be used for loads on the taken branch, yielding arbitrary kernel memory read and disclosure of KASLR bases, credentials, and keys. The parallel SCC/precision defect provides a second route to the same leak. I:H - The same skipped-register comparison permits an unverified value to reach a store, giving an out-of-bounds kernel write primitive — the standard eBPF verifier-bypass path to overwriting `struct cred` or kernel text pointers and achieving full privilege escalation. Missing precision back-propagation on JSET loops compounds this. A:H - A program accepted with unverified register state performs wild kernel reads and writes, reliably producing oops, corruption, or panic. Complete kernel compromise likewise implies full loss of availability.

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Linux Linux 14c8552db64476ffc27c13dc6652fc0dac31c0ba to < 65eb166b8636365ad3d6e36d50a7c5edfe6cc66e (affected · git)14c8552db64476ffc27c13dc6652fc0dac31c0ba to < 261b30ad1516f4b9edd500aa6e8d6315c8fc109a (affected · git)14c8552db64476ffc27c13dc6652fc0dac31c0ba to < 3157f7e2999616ac91f4d559a8566214f74000a5 (affected · git)Default: unaffected Linux · cna
Linux Linux 6.15 (affected)0 to < 6.15 (unaffected · semver)6.15.10 through 6.15.* (unaffected · semver)6.16.1 through 6.16.* (unaffected · semver)6.17 and later (unaffected · original_commit_for_fix)Default: affected Linux · cna

Weaknesses

0

No weakness assertions.

References

3

Provider assertions

1

Linux · cna

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

Provenance

Schema
5.2
Searchable
yes
Content hash
1012c89bb638893b41c21cb3efce974216faaa0477ecd630f076a34cb26da8bc
Ingested
23 Sep 2026, 08:46:47 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected