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

bpf: don't downgrade half-dead scalar zero spills to STACK_ZERO

states.c:__clean_func_state() can downgrade scalar zero spill to
STACK_ZERO in the following case:

*(u64 *)(r10 - 8) = 0;
... checkpoint ...
r1 = *(u32 *)(r10 - 4);
... no reads from r10-8 ...

Here 4 bytes at r10-8 are dead and verifier changes scalar spill to a
combination: 0000pppp (p stands for poison). Such a change breaks
precision propagation chains. All places that produce STACK_ZERO
should call bpf_mark_chain_precision() for the zero source.

This patch fixes the bug in a simplest way possible:
avoids converting stack spills of zero to STACK_ZERO.
Two smarter approaches are possible:
- do bpf_mark_chain_precision() from __clean_func_state()
- check slot liveness information in check_stack_write_fixed_off()

I investigated both and the changes required are a bit tricky,
hence go with a simple fix for the time being.
Published: 2026-09-25
Score: 5.5 Medium
EPSS: < 1% Very Low
KEV: No
Impact: Potential BPF Verification Bypass (inferred)
Action: Patch Immediately
AI Analysis

Impact

In the Linux kernel, the bpf verifier can inappropriately convert a half‑dead scalar zero spill into a STACK_ZERO value. This flaw disrupts precision propagation chains and can allow a malformed eBPF program to pass verification even though it is invalid. The vulnerability is a CWE-843 type flaw involving improper handling of precision propagation, and can potentially allow an attacker to gain kernel execution privileges. While the CVE description does not explicitly claim privilege escalation, a successful bypass could enable the execution of arbitrary code in the kernel context by the attacker, potentially granting elevated privileges.

Affected Systems

All Linux kernel releases that do not contain the patch 2f3536bff8823d3c5fdbbe15e17bfca696cc2b2e or the equivalent commit are vulnerable. This includes every upstream Linux kernel version prior to the inclusion of the fix, as the vulnerability was present in the kernel code and not tied to a particular downstream distribution. The affected product is the Linux kernel, used as the core operating system in all Linux distributions.

Risk and Exploitability

The CVSS score of 5.5 indicates moderate severity, and the EPSS score of less than 1% suggests a low current likelihood of exploitation. The vulnerability is not yet listed in CISA’s KEV catalog, implying it has not been observed in the wild. An attacker would need the ability to load eBPF programs and craft a malicious program that triggers the zero‑spill downgrade. In hardened environments where eBPF loading is restricted, the risk is further reduced, but systems that allow user‑space BPF loading remain potentially vulnerable.

Generated by OpenCVE AI on October 8, 2026 at 22:07 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Apply a Linux kernel update that incorporates commit 2f3536bff8823d3c5fdbbe15e17bfca696cc2b2e.
  • If an upgrade is not immediately possible, disable user‑space BPF program loading by setting sysctl kernel.bpf.disable_loader=1 and restrict /dev/bpf to privileged users only.
  • Configure device permissions or udev rules so that only privileged processes can access the BPF subsystem, thereby limiting potential exploitation vectors.

Generated by OpenCVE AI on October 8, 2026 at 22:07 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Thu, 08 Oct 2026 19:00:00 +0000

Type Values Removed Values Added
Weaknesses NVD-CWE-noinfo
CPEs cpe:2.3:o:linux:linux_kernel:7.3:rc1:*:*:*:*:*:*

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

Type Values Removed Values Added
Weaknesses CWE-284

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

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

None

cvssV3_1

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

threat_severity

Moderate


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

Type Values Removed Values Added
Weaknesses CWE-284

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

Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: bpf: don't downgrade half-dead scalar zero spills to STACK_ZERO states.c:__clean_func_state() can downgrade scalar zero spill to STACK_ZERO in the following case: *(u64 *)(r10 - 8) = 0; ... checkpoint ... r1 = *(u32 *)(r10 - 4); ... no reads from r10-8 ... Here 4 bytes at r10-8 are dead and verifier changes scalar spill to a combination: 0000pppp (p stands for poison). Such a change breaks precision propagation chains. All places that produce STACK_ZERO should call bpf_mark_chain_precision() for the zero source. This patch fixes the bug in a simplest way possible: avoids converting stack spills of zero to STACK_ZERO. Two smarter approaches are possible: - do bpf_mark_chain_precision() from __clean_func_state() - check slot liveness information in check_stack_write_fixed_off() I investigated both and the changes required are a bit tricky, hence go with a simple fix for the time being.
Title bpf: don't downgrade half-dead scalar zero spills to STACK_ZERO
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-25T10:36:11.662Z

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

Link: CVE-2026-98132

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Analyzed

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

Modified: 2026-10-08T18:51:34.703

Link: CVE-2026-98132

cve-icon Redhat

Severity : Moderate

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

Links: CVE-2026-98132 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-10-08T22:15:19Z

Weaknesses