CVE-2021-47640
Linux Kernel vulnerability analysis and mitigation

Overview

CVE-2021-47640 affects the Linux kernel's PowerPC KASAN (Kernel Address Sanitizer) implementation. The vulnerability was discovered when the shadow's page table was not being updated correctly when PTE_RPN_SHIFT is 24 and PAGE_SHIFT is 12. This issue was disclosed on February 26, 2025, and affects the PowerPC architecture specifically (NVD).

Technical details

The vulnerability exists in the PowerPC KASAN implementation where the shadow's page table update mechanism fails under specific conditions. The issue manifests when PTE_RPN_SHIFT is 24 and PAGE_SHIFT is 12, causing both false positives and false negatives in KASAN memory access detection. The bug specifically affects the kasan_update_early_region function in the PowerPC architecture code (Kernel Patch).

Impact

The vulnerability results in KASAN reporting false positives for out-of-bounds memory access and failing to detect actual memory violations (false negatives). This affects the kernel's ability to properly detect memory-related bugs and security issues, particularly in the vmalloc-out-of-bounds detection functionality (RedHat).

Exploitability

The vulnerability requires local access and affects the kernel's debugging and security testing capabilities. While it doesn't directly lead to system compromise, it impairs the kernel's ability to detect memory-related security issues. The CVSS v3.1 base score is 5.5 (Medium) with attack vector: Local, attack complexity: Low, privileges required: Low (RedHat).

Mitigation and workarounds

The issue has been fixed by modifying the logic of kasan_early_shadow_page_entry in the kernel code. The fix involves updating the page table check mechanism to use pte_page() instead of directly comparing physical addresses. Multiple Linux distributions have released patches, including Ubuntu and Debian, with fixed versions available for affected systems (Ubuntu, Debian).

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-2026-80904MEDIUM5.9
  • Linux Kernel logoLinux Kernel
  • linux-oracle-7.0
NoYesSep 04, 2026
CVE-2026-80905MEDIUM5.5
  • Linux Kernel logoLinux Kernel
  • linux-azure-6.8
NoYesSep 04, 2026
CVE-2026-80913MEDIUM4.4
  • Linux Kernel logoLinux Kernel
  • linux-intel-iotg
NoYesSep 04, 2026
CVE-2026-80912MEDIUM4.4
  • Linux Kernel logoLinux Kernel
  • linux-lowlatency-hwe-5.15
NoYesSep 04, 2026
CVE-2026-80906NONEN/A
  • Linux Kernel logoLinux Kernel
  • linux-azure-4.15
NoYesSep 04, 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