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

bpf: Fix stack slot index in nospec checks

check_stack_write_fixed_off() computes the byte slot for a fixed-offset
stack write as -off - 1, and records each written byte in slot_type[] with
(slot - i) % BPF_REG_SIZE.

The Spectre v4 sanitization pre-check uses slot_type[i] instead. For a
4-byte write at fp-8 after the lower half of fp-8 has been zeroed, the
pre-check scans bytes 0..3 and sees STACK_ZERO while the actual write updates
bytes 7..4. That can leave the second half-slot write without nospec_result
even though the bytes being overwritten still require sanitization.

Use the same slot index in the sanitization pre-check that the write path uses
when updating slot_type[].
Published: 2026-08-15
Score: 5.5 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

In the Linux kernel, the stack slot index used for the speculative‑execution sanitization pre‑check does not match the index used during the actual write. For a 4‑byte write to an address such as fp‑8 after the lower half of that slot has been zeroed, the pre‑check examines bytes 0..3 and marks the slot as zeroed while the write updates bytes 7..4. This mismatch can allow a write to bypass the nospec check, enabling unsafe updates to kernel memory or potentially leaking data during speculative execution.

Affected Systems

All Linux kernel versions that contain the unpatched code are affected. The issue is in the generic kernel source and applies to any distribution that ships the kernel without this patch. Distribution‑specific kernel releases that have not applied the commit are vulnerable.

Risk and Exploitability

Based on the description, it is inferred that the most likely attack vector involves executing privileged kernel code, such as an exploit that triggers a 4‑byte stack write that can bypass the mis‑indexed nospec check. The CVSS score of 5.5 indicates a moderate severity, and the EPSS score is < 1%, suggesting a low probability of exploitation. The flaw is not listed in CISA KEV, implying that a successful exploit would require the attacker to gain kernel‑level access to craft the specific memory write that meets the conditions highlighted in the description.

Generated by OpenCVE AI on August 17, 2026 at 15:32 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Apply the kernel update that incorporates the commit that aligns the stack slot index with the nospec check.
  • Reboot the system to load the updated kernel and ensure the protection is active.
  • Continuously monitor kernel logs for unexpected data corruption or crash events that could indicate exploitation attempts, and apply security updates promptly as new mitigations become available.

Generated by OpenCVE AI on August 17, 2026 at 15:32 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Mon, 17 Aug 2026 12:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-1285
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


Sat, 15 Aug 2026 19:30:00 +0000

Type Values Removed Values Added
Weaknesses CWE-795

Sat, 15 Aug 2026 06:00:00 +0000

Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: bpf: Fix stack slot index in nospec checks check_stack_write_fixed_off() computes the byte slot for a fixed-offset stack write as -off - 1, and records each written byte in slot_type[] with (slot - i) % BPF_REG_SIZE. The Spectre v4 sanitization pre-check uses slot_type[i] instead. For a 4-byte write at fp-8 after the lower half of fp-8 has been zeroed, the pre-check scans bytes 0..3 and sees STACK_ZERO while the actual write updates bytes 7..4. That can leave the second half-slot write without nospec_result even though the bytes being overwritten still require sanitization. Use the same slot index in the sanitization pre-check that the write path uses when updating slot_type[].
Title bpf: Fix stack slot index in nospec checks
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-08-17T05:14:27.751Z

Reserved: 2026-08-09T03:40:39.928Z

Link: CVE-2026-72428

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-08-15T06:22:16.637

Modified: 2026-08-17T06:19:10.130

Link: CVE-2026-72428

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-08-15T00:00:00Z

Links: CVE-2026-72428 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-08-17T15:45:03Z

Weaknesses
  • CWE-1285

    Improper Validation of Specified Index, Position, or Offset in Input

  • CWE-795

    Only Filtering Special Elements at a Specified Location