{"id":"CVE-2026-98816","revision":"8d23048b7259439d87c9e278efa37e12","records":[{"revision":"8d23048b7259439d87c9e278efa37e12","observedAt":"2026-10-23T15:48:27.903+00:00","statement":{"source":"cve-program","id":"CVE-2026-98816","aliases":[],"title":"bpf: Fix overflow of jump offset in constant blinding","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nbpf: Fix overflow of jump offset in constant blinding\n\nbpf_jit_blind_insn() rewrites 'if rX op imm goto off' into:\n\n  AX = imm ^ rnd\n  AX ^= rnd\n  if rX op AX goto off\n\nand subtracts 2 from off when the jump is backward. off is s16, so\n-32767 and -32768 wrap and the jump goes 32767 insns forward, past the\nend of the prog. The jump is inside the patch, hence bpf_adj_branches()\ndoesn't check it. The kernel crashes when such prog runs with\nbpf_jit_harden=2.\n\nReturn -ERANGE in such case. bpf_jit_blind_constants() fails the same\nway when blinding of other insns moves a jump out of range.","state":0,"publishedAt":"2026-10-18T15:49:05.616+00:00","modifiedAt":"2026-10-19T09:26:09.337+00:00","affected":[{"ecosystem":"Vendor product","name":"Linux","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"product\": \"Linux\",\n                    \"vendor\": \"Linux\",\n                    \"defaultStatus\": \"unaffected\",\n                    \"repo\": \"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\n                    \"programFiles\": [\n                        \"kernel/bpf/core.c\"\n                    ],\n                    \"versions\": [\n                        {\n                            \"version\": \"4f3446bb809f20ad56cadf712e6006815ae7a8f9\",\n                            \"lessThan\": \"443328237113ee0ea515e506497334d871dbc2aa\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        },\n                        {\n                            \"version\": \"4f3446bb809f20ad56cadf712e6006815ae7a8f9\",\n                            \"lessThan\": \"ad139384ecddb6f3e7e3c3c12765aafae0e39670\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        }\n                    ]\n                }"},{"ecosystem":"Vendor product","name":"Linux","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"product\": \"Linux\",\n                    \"vendor\": \"Linux\",\n                    \"defaultStatus\": \"affected\",\n                    \"repo\": \"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\n                    \"programFiles\": [\n                        \"kernel/bpf/core.c\"\n                    ],\n                    \"versions\": [\n                        {\n                            \"version\": \"4.7\",\n                            \"status\": \"affected\"\n                        },\n                        {\n                            \"version\": \"0\",\n                            \"lessThan\": \"4.7\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"7.2.10\",\n                            \"lessThanOrEqual\": \"7.2.*\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"7.3\",\n                            \"lessThanOrEqual\": \"*\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"original_commit_for_fix\"\n                        }\n                    ]\n                }"}],"metrics":[],"references":["https://git.kernel.org/stable/c/443328237113ee0ea515e506497334d871dbc2aa","https://git.kernel.org/stable/c/ad139384ecddb6f3e7e3c3c12765aafae0e39670"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-98816","license":"CVE Program Terms of Use","key":"cve-program:CVE-2026-98816","identifiers":["CVE-2026-98816"]},"retained":false,"historicalAffected":[]}],"coverage":[]}