CVE-2025-38607

Source
https://cve.org/CVERecord?id=CVE-2025-38607
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-38607.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2025-38607
Downstream
Published
2025-08-19T17:03:50Z
Modified
2026-08-12T03:51:38Z
Severity
  • 7.8 (High) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
bpf: handle jset (if a & b ...) as a jump in CFG computation
Details

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

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/38xxx/CVE-2025-38607.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
14c8552db64476ffc27c13dc6652fc0dac31c0ba
Fixed
65eb166b8636365ad3d6e36d50a7c5edfe6cc66e
Fixed
261b30ad1516f4b9edd500aa6e8d6315c8fc109a
Fixed
3157f7e2999616ac91f4d559a8566214f74000a5

Database specific

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

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
6.15.0
Fixed
6.15.10
Type
ECOSYSTEM
Events
Introduced
6.16.0
Fixed
6.16.1

Database specific

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