CVE-2021-47608: 
Linux Kernel vulnerability analysis and mitigation

Overview

In the Linux kernel, a vulnerability (CVE-2021-47608) was discovered in the BPF subsystem that allows unprivileged users to leak kernel pointers. The issue was introduced by a change in commit 37086bfdc737 regarding check_mem_access() handling in atomic fetch operations. The vulnerability affects Linux kernel versions from 5.12 up to (excluding) 5.15.11, and version 5.16-rc1 through 5.16-rc5 (NVD).

Technical details

The vulnerability stems from a bug in the handling of atomic fetch operations where an atomic fetch/and with -1 on a stack destination holding a spilled pointer would migrate the spilled register type into a scalar. Since scalar types are different from pointer types, this allows the value to be exported out of the program by dumping it into a map value. The original XADD implementation prevented this through a double call to check_mem_access() with BPF_READ and BPF_WRITE, using -1 as a placeholder value (Kernel Patch). The vulnerability has a CVSS v3.1 Base Score of 5.5 MEDIUM (AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N) (NVD).

Impact

The vulnerability allows unprivileged users to leak kernel pointer addresses, which could potentially be used to bypass kernel address space layout randomization (KASLR) and facilitate other attacks (NVD).

Exploitability

The vulnerability can be exploited by unprivileged local users through specially crafted BPF programs that manipulate atomic fetch operations on stack destinations containing spilled pointers (Kernel Patch).

Mitigation and workarounds

The issue has been fixed by modifying the BPF_FETCH case to initially check the BPF_READ case via check_mem_access() with -1 as register, followed by the actual load case with non-negative load_reg to propagate stack bounds to registers. Users should upgrade to Linux kernel version 5.15.11 or later, or apply the provided patch (Kernel Patch).

Additional resources


Source: This report was generated using AI

Related Linux Kernel vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-121876HIGH7.9
  • Linux Kernel logoLinux Kernel
  • kernel-tools-libs-devel
NoNoNov 12, 2026
CVE-2026-99287MEDIUM6.5
  • Linux Kernel logoLinux Kernel
  • linux-nvidia-tegra-igx
NoYesNov 10, 2026
CVE-2024-21963MEDIUM6
  • Linux Kernel logoLinux Kernel
  • linux-lowlatency-hwe-5.15
NoYesNov 12, 2026
CVE-2026-99288MEDIUM5.9
  • Linux Kernel logoLinux Kernel
  • kernel-doc
NoYesNov 10, 2026
CVE-2026-0004MEDIUM5.7
  • Linux Kernel logoLinux Kernel
  • kernel-uek-debug-modules-wireless
NoYesNov 12, 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

Additional Wiz resources

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