{"id":"CVE-2026-98041","summary":"bpf: Don't predict JMP32 pointer vs zero comparisons","details":"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 ...'.","modified":"2026-11-20T17:27:45.806101235Z","published":"2026-09-25T10:23:53.619Z","related":["SUSE-SU-2026:24386-1","SUSE-SU-2026:24422-1","SUSE-SU-2026:24437-1","SUSE-SU-2026:24446-1","SUSE-SU-2026:24550-1","SUSE-SU-2026:24619-1","SUSE-SU-2026:24691-1","SUSE-SU-2026:24781-1","SUSE-SU-2026:24791-1","SUSE-SU-2026:4936-1","SUSE-SU-2026:4937-1","SUSE-SU-2026:4938-1","SUSE-SU-2026:4939-1","SUSE-SU-2026:5091-1","SUSE-SU-2026:5352-1","SUSE-SU-2026:5369-1","openSUSE-SU-2026:12074-1","openSUSE-SU-2026:22167-1","openSUSE-SU-2026:22309-1","openSUSE-SU-2026:22313-1"],"database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/98xxx/CVE-2026-98041.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/6e1544986536734166176c3add504add23bcbd15"},{"type":"WEB","url":"https://git.kernel.org/stable/c/a4d7f94c1ca914469ced665ec2f98be669aef462"},{"type":"WEB","url":"https://git.kernel.org/stable/c/d16f0eafcaa62e677a2b5b0dabc1f8d31dfe3d4d"},{"type":"WEB","url":"https://git.kernel.org/stable/c/e2ae33247e8b2dbe9d116d3e61cadf6d548339c6"},{"type":"WEB","url":"https://git.kernel.org/stable/c/e51179a4e09846f8fd0f26a05068520de2b301bf"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/98xxx/CVE-2026-98041.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-98041"},{"type":"PACKAGE","url":"https://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":"cac616db39c207dc63465a4e05c6ce0e60b2cce4"},{"fixed":"6e1544986536734166176c3add504add23bcbd15"},{"fixed":"d16f0eafcaa62e677a2b5b0dabc1f8d31dfe3d4d"},{"fixed":"e2ae33247e8b2dbe9d116d3e61cadf6d548339c6"},{"fixed":"a4d7f94c1ca914469ced665ec2f98be669aef462"},{"fixed":"e51179a4e09846f8fd0f26a05068520de2b301bf"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-98041.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"5.8.0"},{"fixed":"6.6.160"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.7.0"},{"fixed":"6.12.111"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.13.0"},{"fixed":"6.18.53"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.19.0"},{"fixed":"7.2.7"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-98041.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H"}]}