CVE-2021-47640
Linux Debian 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).

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 Debian vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-23884HIGH7.7
  • Linux DebianLinux Debian
  • freerdp3
NoNoJan 19, 2026
CVE-2026-23883HIGH7.7
  • Linux DebianLinux Debian
  • freerdp3
NoNoJan 19, 2026
CVE-2026-23534HIGH7.7
  • Linux DebianLinux Debian
  • freerdp-devel
NoNoJan 19, 2026
CVE-2026-23533HIGH7.7
  • Linux DebianLinux Debian
  • freerdp3
NoNoJan 19, 2026
CVE-2026-23732MEDIUM5.5
  • Linux DebianLinux Debian
  • freerdp-libs
NoNoJan 19, 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