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

bpf: Mark NULL kptr stores precise

check_map_kptr_access() permits a scalar store into an untrusted kptr
field only when the register is known to contain zero. Unlike other
verifier checks whose outcome depends on a scalar value, it does not mark
that register precise.

A state checkpoint reached with an imprecise zero can therefore prune a
second path that reaches the store with an arbitrary nonzero scalar. The
program can write attacker-controlled bits into the kptr field and load
them back as a PTR_TO_BTF_ID.

Call mark_chain_precision() before accepting a known-zero register. This
forces state equivalence to compare its scalar range and makes the verifier
visit and reject a path carrying a nonzero value.
Published: 2026-09-25
Score: 7.0 High
EPSS: < 1% Very Low
KEV: No
Impact: Privilege Escalation via Kernel Pointer Manipulation
Action: Patch Now
AI Analysis

Impact

The Linux kernel BPF verifier contains a flaw that allows an attacker to write arbitrary data into a kernel pointer field when a register that is not proven precise contains the value zero. This occurs because check_map_kptr_access() accepts a zero register as valid but does not mark it precise, permitting a later overwrite with a non‑zero scalar. The attacker can thus inject attacker‑controlled bits into internal kernel structures, including the PTR_TO_BTF_ID type, potentially compromising kernel data integrity.

Affected Systems

Linux kernel builds prior to the patch that introduced mark_chain_precision() are affected. Distribution kernels that have not incorporated this verifier fix are vulnerable, regardless of the exact release version. Exact impacted versions are not specified in the advisory.

Risk and Exploitability

Based on the description, it is inferred that the likely attack vector is loading a malicious BPF program, which normally requires elevated privileges such as CAP_SYS_ADMIN or root. No public exploit has been reported, and the vulnerability is not listed in the CISA KEV catalog. The EPSS score is < 1%, and the CVSS score is 7.0, indicating high severity. Exploitation would enable kernel memory manipulation.

Generated by OpenCVE AI on October 1, 2026 at 04:01 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade to a kernel version that includes the BPF verifier patch that calls mark_chain_precision() before accepting a known-zero register.
  • Restrict BPF program loading to privileged users only, for example by revoking the CAP_SYS_ADMIN capability from untrusted accounts or enabling a restricted BPF policy.
  • Monitor BPF system calls and analysis logs to detect anomalous BPF activity, using auditd or equivalent tools.

Generated by OpenCVE AI on October 1, 2026 at 04:01 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Thu, 15 Oct 2026 13:30:00 +0000


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

Type Values Removed Values Added
Weaknesses CWE-665

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

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

None

cvssV3_1

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

threat_severity

Moderate


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

Type Values Removed Values Added
Weaknesses CWE-665

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: Mark NULL kptr stores precise check_map_kptr_access() permits a scalar store into an untrusted kptr field only when the register is known to contain zero. Unlike other verifier checks whose outcome depends on a scalar value, it does not mark that register precise. A state checkpoint reached with an imprecise zero can therefore prune a second path that reaches the store with an arbitrary nonzero scalar. The program can write attacker-controlled bits into the kptr field and load them back as a PTR_TO_BTF_ID. Call mark_chain_precision() before accepting a known-zero register. This forces state equivalence to compare its scalar range and makes the verifier visit and reject a path carrying a nonzero value.
Title bpf: Mark NULL kptr stores precise
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-15T10:12:04.256Z

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

Link: CVE-2026-98034

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

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

Modified: 2026-10-15T11:18:10.160

Link: CVE-2026-98034

cve-icon Redhat

Severity : Moderate

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

Links: CVE-2026-98034 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-10-01T04:15:16Z

Weaknesses
  • CWE-843

    Access of Resource Using Incompatible Type ('Type Confusion')