CVE-2026-98816

Source
https://cve.org/CVERecord?id=CVE-2026-98816
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-98816.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-98816
Downstream
Published
2026-10-18T15:49:05Z
Modified
2026-10-19T02:47:27Z
Summary
bpf: Fix overflow of jump offset in constant blinding
Details

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

bpf: Fix overflow of jump offset in constant blinding

bpf_jit_blind_insn() rewrites 'if rX op imm goto off' into:

AX = imm ^ rnd AX ^= rnd if rX op AX goto off

and subtracts 2 from off when the jump is backward. off is s16, so -32767 and -32768 wrap and the jump goes 32767 insns forward, past the end of the prog. The jump is inside the patch, hence bpf_adj_branches() doesn't check it. The kernel crashes when such prog runs with bpf_jit_harden=2.

Return -ERANGE in such case. bpf_jit_blind_constants() fails the same way when blinding of other insns moves a jump out of range.

Database specific
{
    "cna_assigner":  "Linux",
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/98xxx/CVE-2026-98816.json"
}
References

Affected packages

Git / 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
4f3446bb809f20ad56cadf712e6006815ae7a8f9
Fixed
443328237113ee0ea515e506497334d871dbc2aa
Fixed
ad139384ecddb6f3e7e3c3c12765aafae0e39670

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-98816.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
4.7.0
Fixed
7.2.10

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-98816.json"