{"api_version":"1","generated_at":"2026-11-05T00:38:12+00:00","cve":"CVE-2026-98816","urls":{"html":"https://cve.report/CVE-2026-98816","api":"https://cve.report/api/cve/CVE-2026-98816.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-98816","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-98816"},"summary":{"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":"PUBLISHED","assigner":"Linux","published_at":"2026-10-18 16:17:35","updated_at":"2026-10-19 10:19:45"},"problem_types":[],"metrics":[],"references":[{"url":"https://git.kernel.org/stable/c/443328237113ee0ea515e506497334d871dbc2aa","name":"https://git.kernel.org/stable/c/443328237113ee0ea515e506497334d871dbc2aa","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/ad139384ecddb6f3e7e3c3c12765aafae0e39670","name":"https://git.kernel.org/stable/c/ad139384ecddb6f3e7e3c3c12765aafae0e39670","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-98816","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-98816","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 4f3446bb809f20ad56cadf712e6006815ae7a8f9 443328237113ee0ea515e506497334d871dbc2aa git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 4f3446bb809f20ad56cadf712e6006815ae7a8f9 ad139384ecddb6f3e7e3c3c12765aafae0e39670 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 4.7","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 4.7 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.2.10 7.2.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.3 * original_commit_for_fix","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"cna":{"affected":[{"defaultStatus":"unaffected","product":"Linux","programFiles":["kernel/bpf/core.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"lessThan":"443328237113ee0ea515e506497334d871dbc2aa","status":"affected","version":"4f3446bb809f20ad56cadf712e6006815ae7a8f9","versionType":"git"},{"lessThan":"ad139384ecddb6f3e7e3c3c12765aafae0e39670","status":"affected","version":"4f3446bb809f20ad56cadf712e6006815ae7a8f9","versionType":"git"}]},{"defaultStatus":"affected","product":"Linux","programFiles":["kernel/bpf/core.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"status":"affected","version":"4.7"},{"lessThan":"4.7","status":"unaffected","version":"0","versionType":"semver"},{"lessThanOrEqual":"7.2.*","status":"unaffected","version":"7.2.10","versionType":"semver"},{"lessThanOrEqual":"*","status":"unaffected","version":"7.3","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"cpeMatch":[{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.2.10","versionStartIncluding":"4.7","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.3","versionStartIncluding":"4.7","vulnerable":true}],"negate":false,"operator":"OR"}]}],"descriptions":[{"lang":"en","value":"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."}],"providerMetadata":{"dateUpdated":"2026-10-19T09:26:09.337Z","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux"},"references":[{"url":"https://git.kernel.org/stable/c/443328237113ee0ea515e506497334d871dbc2aa"},{"url":"https://git.kernel.org/stable/c/ad139384ecddb6f3e7e3c3c12765aafae0e39670"}],"title":"bpf: Fix overflow of jump offset in constant blinding","x_generator":{"engine":"bippy-1.2.0"}}},"cveMetadata":{"assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","assignerShortName":"Linux","cveId":"CVE-2026-98816","datePublished":"2026-10-18T15:49:05.616Z","dateReserved":"2026-09-25T10:25:14.371Z","dateUpdated":"2026-10-19T09:26:09.337Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-10-18 16:17:35","lastModifiedDate":"2026-10-19 10:19:45","problem_types":[],"metrics":[],"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"98816","Ordinal":"1","Title":"bpf: Fix overflow of jump offset in constant blinding","CVE":"CVE-2026-98816","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"98816","Ordinal":"1","NoteData":"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.","Type":"Description","Title":"bpf: Fix overflow of jump offset in constant blinding"}]}}}