CVE-2021-34556
Linux Kernel vulnerability analysis and mitigation

Overview

CVE-2021-34556 is a vulnerability discovered in the Linux kernel through version 5.13.7, where an unprivileged BPF program can obtain sensitive information from kernel memory via a Speculative Store Bypass side-channel attack. The vulnerability exists because the protection mechanism neglects the possibility of uninitialized memory locations on the BPF stack. This vulnerability was discovered by Benedict Schlueter and disclosed on August 1, 2021 (Openwall).

Technical details

The vulnerability stems from insufficient protection against Speculative Store Bypass in the BPF subsystem. When identifying memory store operations to be protected, uninitialized BPF stack locations are not considered, and the BPF verifier never attempts to protect the first store operation for each BPF stack location. Additionally, the BPF stack is allocated without sanitizing preexisting memory content. This allows later load instructions that depend on the unprotected store to speculatively execute ahead of the store and use unsanitized memory (Openwall, Kernel Patch).

Impact

When exploited, this vulnerability allows an unprivileged attacker to disclose the content of arbitrary kernel memory through a side-channel attack. This can lead to information disclosure of sensitive kernel data, potentially compromising system security (NVD, Openwall).

Mitigation and workarounds

The vulnerability has been fixed in the Linux kernel through patches that reimplement the mitigation to follow techniques recommended by CPU vendors. The fix is available in the mainline kernel git repository. For systems that cannot be immediately patched, the vulnerability can be mitigated by setting sysctl kernel.unprivileged_bpf_disabled=1, which disables BPF use by unprivileged users (Debian LTS, Openwall).

Additional resources


SourceThis report was generated using AI

Related Linux Kernel vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-71142N/AN/A
  • Linux KernelLinux Kernel
  • kernel-uki-virt-addons
NoNoJan 14, 2026
CVE-2025-71137N/AN/A
  • Linux KernelLinux Kernel
  • linux-azure-6.14
NoYesJan 14, 2026
CVE-2025-71135N/AN/A
  • Linux KernelLinux Kernel
  • kernel-debug-modules-internal
NoNoJan 14, 2026
CVE-2025-71134N/AN/A
  • Linux KernelLinux Kernel
  • kernel-64k-debug-modules-core
NoNoJan 14, 2026
CVE-2025-71133N/AN/A
  • Linux KernelLinux Kernel
  • linux-ibm-5.15
NoYesJan 14, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management