CVE-2026-98816
Full vulnerability record from the local CVENow database.
Description
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.
Severity
Not scored
CVSS score
Not available
Vulnerability status
Received
Source identifier
416baaa9-dc9f-4396-8d5f-8c081fb06d67
Published
2026-10-18 16:17:35.770000
Last modified
2026-10-19 10:19:45.683000
View original CVE JSON
{
"id": "CVE-2026-98816",
"sourceIdentifier": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"published": "2026-10-18T16:17:35.770",
"lastModified": "2026-10-19T10:19:45.683",
"vulnStatus": "Received",
"cveTags": [],
"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."
}
],
"affected": [
{
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"affectedData": [
{
"vendor": "Linux",
"product": "Linux",
"defaultStatus": "unaffected",
"programFiles": [
"kernel/bpf/core.c"
],
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"versions": [
{
"version": "4f3446bb809f20ad56cadf712e6006815ae7a8f9",
"lessThan": "443328237113ee0ea515e506497334d871dbc2aa",
"versionType": "git",
"status": "affected"
},
{
"version": "4f3446bb809f20ad56cadf712e6006815ae7a8f9",
"lessThan": "ad139384ecddb6f3e7e3c3c12765aafae0e39670",
"versionType": "git",
"status": "affected"
}
]
},
{
"vendor": "Linux",
"product": "Linux",
"defaultStatus": "affected",
"programFiles": [
"kernel/bpf/core.c"
],
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"versions": [
{
"version": "4.7",
"status": "affected"
},
{
"version": "0",
"lessThan": "4.7",
"versionType": "semver",
"status": "unaffected"
},
{
"version": "7.2.10",
"lessThanOrEqual": "7.2.*",
"versionType": "semver",
"status": "unaffected"
},
{
"version": "7.3",
"lessThanOrEqual": "*",
"versionType": "original_commit_for_fix",
"status": "unaffected"
}
]
}
]
}
],
"metrics": {},
"references": [
{
"url": "https://git.kernel.org/stable/c/443328237113ee0ea515e506497334d871dbc2aa",
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
},
{
"url": "https://git.kernel.org/stable/c/ad139384ecddb6f3e7e3c3c12765aafae0e39670",
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
}
]
}