{"id":"CVE-2026-98041","aliases":["CVE-2026-98041"],"related":[],"kind":"vulnerability","state":"published","title":"bpf: Don't predict JMP32 pointer vs zero comparisons","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nbpf: Don't predict JMP32 pointer vs zero comparisons\n\nConsider the following program:\n\n        r1 = map_value;      /* low 32 bits are zero at runtime */\n        r6 = 0xdead000000000000;\n        if w1 != 0 goto l1;\n    l0: r1 += r6;\n        r2 = *(u64 *)(r1 + 0);\n        exit;\n    l1: r6 = 0;\n        goto l0;\n\nAt the moment is_branch_taken() reports the jump as always taken,\nbecause it does not distinguish between BPF_JMP and BPF_JMP32\ncomparisons when processing 'if w1 != 0 ...'.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nbpf: Don't predict JMP32 pointer vs zero comparisons\n\nConsider the following program:\n\n        r1 = map_value;      /* low 32 bits are zero at runtime */\n        r6 = 0xdead000000000000;\n        if w1 != 0 goto l1;\n    l0: r1 += r6;\n        r2 = *(u64 *)(r1 + 0);\n        exit;\n    l1: r6 = 0;\n        goto l0;\n\nAt the moment is_branch_taken() reports the jump as always taken,\nbecause it does not distinguish between BPF_JMP and BPF_JMP32\ncomparisons when processing 'if w1 != 0 ...'.","source":"cvelist"}],"published":"2026-09-25T10:23:53.619Z","modified":"2026-10-21T13:21:19.813Z","severity":{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7,"rating":"HIGH"},"severities":[{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7,"rating":"HIGH"}],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"cac616db39c207dc63465a4e05c6ce0e60b2cce4","fixed":"6e1544986536734166176c3add504add23bcbd15","status":"affected"},{"type":"git","introduced":"cac616db39c207dc63465a4e05c6ce0e60b2cce4","fixed":"d16f0eafcaa62e677a2b5b0dabc1f8d31dfe3d4d","status":"affected"},{"type":"git","introduced":"cac616db39c207dc63465a4e05c6ce0e60b2cce4","fixed":"e2ae33247e8b2dbe9d116d3e61cadf6d548339c6","status":"affected"},{"type":"git","introduced":"cac616db39c207dc63465a4e05c6ce0e60b2cce4","fixed":"a4d7f94c1ca914469ced665ec2f98be669aef462","status":"affected"},{"type":"git","introduced":"cac616db39c207dc63465a4e05c6ce0e60b2cce4","fixed":"e51179a4e09846f8fd0f26a05068520de2b301bf","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"5.8","status":"affected"},{"type":"semver","introduced":"0","fixed":"5.8","status":"unaffected"},{"type":"semver","introduced":"6.6.160","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.111","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.53","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.2.7","lastAffected":"7.2.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.3","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/6e1544986536734166176c3add504add23bcbd15","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/d16f0eafcaa62e677a2b5b0dabc1f8d31dfe3d4d","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/e2ae33247e8b2dbe9d116d3e61cadf6d548339c6","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/a4d7f94c1ca914469ced665ec2f98be669aef462","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/e51179a4e09846f8fd0f26a05068520de2b301bf","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-98041","url":"https://www.cve.org/CVERecord?id=CVE-2026-98041","licence":"CVE Terms of Use","modified":"2026-10-21T12:54:10.647Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-98041","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-98041","licence":"Public domain","modified":"2026-10-21T13:21:19.813Z"}],"updatedAt":"2026-11-25T22:59:41.033Z","epss":{"score":0.00155,"percentile":0.02422,"date":"2026-11-30T12:00:22.000Z"}}