# CVE-2026-98041: bpf: Don't predict JMP32 pointer vs zero comparisons

- Severity: High 7.0 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:L/AC:H/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.15%, higher than 2% of CVEs (2026-11-30)
- Published: 2026-09-25T10:23:53.619Z
- Modified: 2026-10-21T13:21:19.813Z
- Assigned by: Linux

## Description

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

bpf: Don't predict JMP32 pointer vs zero comparisons

Consider the following program:

        r1 = map_value;      /* low 32 bits are zero at runtime */
        r6 = 0xdead000000000000;
        if w1 != 0 goto l1;
    l0: r1 += r6;
        r2 = *(u64 *)(r1 + 0);
        exit;
    l1: r6 = 0;
        goto l0;

At the moment is_branch_taken() reports the jump as always taken,
because it does not distinguish between BPF_JMP and BPF_JMP32
comparisons when processing 'if w1 != 0 ...'.

(As written by CVE List.)

## Affected

- Linux Linux: from cac616db39c207dc63465a4e05c6ce0e60b2cce4 before 6e1544986536734166176c3add504add23bcbd15; from cac616db39c207dc63465a4e05c6ce0e60b2cce4 before d16f0eafcaa62e677a2b5b0dabc1f8d31dfe3d4d; from cac616db39c207dc63465a4e05c6ce0e60b2cce4 before e2ae33247e8b2dbe9d116d3e61cadf6d548339c6; from cac616db39c207dc63465a4e05c6ce0e60b2cce4 before a4d7f94c1ca914469ced665ec2f98be669aef462; from cac616db39c207dc63465a4e05c6ce0e60b2cce4 before e51179a4e09846f8fd0f26a05068520de2b301bf; 5.8 (not affected: before 5.8; from 6.6.160 up to 6.6.*; from 6.12.111 up to 6.12.*; from 6.18.53 up to 6.18.*; from 7.2.7 up to 7.2.*; from 7.3 up to *)

## References

- <https://git.kernel.org/stable/c/6e1544986536734166176c3add504add23bcbd15>
- <https://git.kernel.org/stable/c/d16f0eafcaa62e677a2b5b0dabc1f8d31dfe3d4d>
- <https://git.kernel.org/stable/c/e2ae33247e8b2dbe9d116d3e61cadf6d548339c6>
- <https://git.kernel.org/stable/c/a4d7f94c1ca914469ced665ec2f98be669aef462>
- <https://git.kernel.org/stable/c/e51179a4e09846f8fd0f26a05068520de2b301bf>

## Sources

- CVE List: [CVE-2026-98041](https://www.cve.org/CVERecord?id=CVE-2026-98041), CVE Terms of Use, modified 2026-10-21
- NVD: [CVE-2026-98041](https://nvd.nist.gov/vuln/detail/CVE-2026-98041), Public domain, modified 2026-10-21

---

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