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

bpf: Don't predict JMP32 pointer vs zero comparisons

Consider the following program:

r1 = map_value; /* low 32 bits are zero at runtime */
r6 = 0xdead000000000000;
if w1 != 0 goto l1;
l0: r1 += r6;
r2 = *(u64 *)(r1 + 0);
exit;
l1: r6 = 0;
goto l0;

At the moment is_branch_taken() reports the jump as always taken,
because it does not distinguish between BPF_JMP and BPF_JMP32
comparisons when processing 'if w1 != 0 ...'.
Published: 2026-09-25
Score: 7 High
EPSS: < 1% Very Low
KEV: No
Impact: BPF verification bypass
Action: Apply Patch
AI Analysis

Impact

The vulnerability resides in the Linux kernel’s BPF verifier; the verifier’s is_branch_taken function incorrectly treats a comparison between a pointer and zero as always true for BPF_JMP32 instructions. A crafted eBPF program can thus execute branching logic that the verifier should have rejected, effectively bypassing safety checks and enabling arbitrary code to run in kernel context.

Affected Systems

All Linux kernel versions that contain the unpatched BPF verifier are affected. Because the CVE does not specify a limited version range, every distribution shipping such kernels prior to the fix is considered vulnerable.

Risk and Exploitability

The CVSS score of 7 indicates medium severity, while the EPSS score of <1% and absence from KEV suggest that widespread exploitation has not been observed. Based on the description, it is inferred that exploitation requires the ability to load custom eBPF bytecode, so the attack vector is local or via a privileged user. The risk to systems permitting untrusted BPF code is therefore significant, though the overall exploitation probability remains low due to the local nature of the required privileges.

Generated by OpenCVE AI on September 30, 2026 at 14:27 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Apply the latest kernel update that contains the BPF verifier fix.
  • If patching is delayed, restrict BPF program loading by disabling JIT compilation (sysctl net.core.bpf_jit_enable=0) and tightening limits on program size and instruction count.
  • Enforce strict user and group permissions for BPF loading and consider enabling SELinux/AppArmor enforcement to restrict which users can load BPF programs.
  • Monitor kernel logs for BPF verifier messages that may indicate attempts to bypass verification.

Generated by OpenCVE AI on September 30, 2026 at 14:27 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Debian DLA Debian DLA DLA-4817-1 linux-6.12 security update
Debian DSA Debian DSA DSA-6528-1 linux security update
History

Wed, 30 Sep 2026 10:00:00 +0000

Type Values Removed Values Added
Weaknesses CWE-754

Tue, 29 Sep 2026 13:15:00 +0000


Sat, 26 Sep 2026 00:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-754

Fri, 25 Sep 2026 22:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-704
CWE-747

Fri, 25 Sep 2026 16:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-704
CWE-747

Fri, 25 Sep 2026 15:00:00 +0000

Type Values Removed Values Added
Metrics cvssV3_1

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


Fri, 25 Sep 2026 10:30:00 +0000

Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: bpf: Don't predict JMP32 pointer vs zero comparisons Consider the following program: r1 = map_value; /* low 32 bits are zero at runtime */ r6 = 0xdead000000000000; if w1 != 0 goto l1; l0: r1 += r6; r2 = *(u64 *)(r1 + 0); exit; l1: r6 = 0; goto l0; At the moment is_branch_taken() reports the jump as always taken, because it does not distinguish between BPF_JMP and BPF_JMP32 comparisons when processing 'if w1 != 0 ...'.
Title bpf: Don't predict JMP32 pointer vs zero comparisons
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-09-25T14:41:55.951Z

Reserved: 2026-09-25T10:19:56.071Z

Link: CVE-2026-98041

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-09-25T11:17:32.880

Modified: 2026-09-25T15:18:04.747

Link: CVE-2026-98041

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-09-25T00:00:00Z

Links: CVE-2026-98041 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-09-30T14:30:18Z

Weaknesses