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.
Published: 2026-10-18
Score: 4.1 Medium
EPSS: < 1% Very Low
KEV: No
Impact: Denial of Service
Action: Patch
AI Analysis

Impact

The vulnerability originates in the Linux kernel's BPF JIT blind instruction handling, where rewriting an "if rX op imm goto off" constructs can overflow the signed 16‑bit offset field. A wrap‑around occurs when values below –32768 are used, causing the jump to leap past the end of the program. In hardened mode (bpf_jit_harden=2), this fault triggers a kernel crash rather than providing code execution or privilege escalation. The impact is a loss of kernel availability for the affected system.

Affected Systems

The flaw affects the Linux kernel wherever BPF JIT compilation with hardening is enabled. Specific version ranges are not listed, so any kernel builds that include this BPF code path are potentially vulnerable. The issue is tied to the BPF subsystem, not to particular distributions or kernel releases.

Risk and Exploitability

The CVSS score is 4.1 and the EPSS score is <1%, but the vulnerability is not listed in the CISA KEV catalog. Exploitation requires the ability to load a crafted BPF program, which typically requires root or capabilities such as CAP_SYS_ADMIN. The attack vector is therefore local or potentially remote if privilege escalation is achievable. The risk is moderate due to the requirement of BPF program injection and the fact that the flaw only causes a crash, not arbitrary code execution.

Generated by OpenCVE AI on October 24, 2026 at 01:37 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Apply the latest Linux kernel patch that corrects bpf_jit_blind_insn overflow handling.
  • If a kernel update is not yet possible, disable BPF JIT hardening by writing "0" to /proc/sys/kernel/bpf_jit_harden to prevent the crash.
  • As a temporary precaution, avoid deploying BPF programs that use jumps with large offsets or rely on blinding logic; validate offsets before loading programs.

Generated by OpenCVE AI on October 24, 2026 at 01:37 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Sat, 24 Oct 2026 00:30:00 +0000

Type Values Removed Values Added
Weaknesses CWE-191
References
Metrics threat_severity

None

cvssV3_1

{'score': 4.1, 'vector': 'CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:N/I:N/A:H'}

threat_severity

Moderate


Sun, 18 Oct 2026 20:45:00 +0000

Type Values Removed Values Added
Weaknesses CWE-190

Sun, 18 Oct 2026 16:00:00 +0000

Type Values Removed Values Added
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.
Title bpf: Fix overflow of jump offset in constant blinding
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References

Subscriptions

Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-10-19T09:26:09.337Z

Reserved: 2026-09-25T10:25:14.371Z

Link: CVE-2026-98816

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-10-18T16:17:35.770

Modified: 2026-10-19T10:19:45.683

Link: CVE-2026-98816

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-10-18T00:00:00Z

Links: CVE-2026-98816 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-10-24T01:45:17Z

Weaknesses
  • CWE-190

    Integer Overflow or Wraparound

  • CWE-191

    Integer Underflow (Wrap or Wraparound)