# CVE-2025-38607: bpf: handle jset (if a & b ...) as a jump in CFG computation

- Severity: High 7.8 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.18%, higher than 8% of CVEs (2026-12-01)
- Published: 2025-08-19T17:03:50.947Z
- Modified: 2026-08-05T12:03:27.014Z
- Assigned by: Linux

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

(As written by CVE List.)

## Affected

- Linux Linux: from 14c8552db64476ffc27c13dc6652fc0dac31c0ba before 65eb166b8636365ad3d6e36d50a7c5edfe6cc66e; from 14c8552db64476ffc27c13dc6652fc0dac31c0ba before 261b30ad1516f4b9edd500aa6e8d6315c8fc109a; from 14c8552db64476ffc27c13dc6652fc0dac31c0ba before 3157f7e2999616ac91f4d559a8566214f74000a5; 6.15 (not affected: before 6.15; from 6.15.10 up to 6.15.*; from 6.16.1 up to 6.16.*; from 6.17 up to *)
- linux linux_kernel: from 6.15 before 6.15.10; from 6.16 before 6.16.1

## Every score

- Linux: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://git.kernel.org/stable/c/65eb166b8636365ad3d6e36d50a7c5edfe6cc66e> (patch)
- <https://git.kernel.org/stable/c/261b30ad1516f4b9edd500aa6e8d6315c8fc109a> (patch)
- <https://git.kernel.org/stable/c/3157f7e2999616ac91f4d559a8566214f74000a5> (patch)

## Sources

- CVE List: [CVE-2025-38607](https://www.cve.org/CVERecord?id=CVE-2025-38607), CVE Terms of Use, modified 2026-08-05
- NVD: [CVE-2025-38607](https://nvd.nist.gov/vuln/detail/CVE-2025-38607), Public domain, modified 2026-07-30

---

Page: https://cve.day/CVE-2025-38607 · Whole record: https://cve.day/CVE-2025-38607.json · Rebuilt by cve.day 2026-11-25T22:59:02.768Z
