CVE-2023-52489
Linux Kernel vulnerability analysis and mitigation

Overview

A race condition vulnerability was discovered in the Linux kernel's sparsemem memory management subsystem (CVE-2023-52489). The issue occurs when a PFN (Page Frame Number) falls into the device memory region with a specific system memory configuration where PFNs are arranged as [ZONE_NORMAL ZONE_DEVICE ZONE_NORMAL]. The vulnerability was discovered in October 2023 and affects the memory section usage handling (Kernel Git).

Technical details

The vulnerability stems from a race condition between pfn_valid()/pfn_section_valid() and section deactivate operations with CONFIG_SPASEMEM_VMEMAP enabled. When compaction is triggered on device memory PFNs (which results in NOP since pfn_to_online_page() returns NULL for ZONE_DEVICE memory sections), while simultaneously another core is removing section mappings for the ZONE_DEVICE region, it can lead to accessing a NULL pointer in ms->usage (Red Hat CVE).

Impact

The vulnerability can result in a kernel crash (denial of service) when exploited. This occurs due to NULL pointer dereference when accessing memory_section->usage under specific conditions, compromising system availability (Red Hat CVE).

Exploitability

The vulnerability requires local access and specific memory configurations to be exploited. It has been observed in real-world scenarios, particularly on Snapdragon SoC devices with the mentioned memory configuration of PFNs as [ZONE_NORMAL ZONE_DEVICE ZONE_NORMAL] (Kernel Git).

Mitigation and workarounds

The issue has been fixed by implementing three key changes: 1) Clearing SECTION_HAS_MEM_MAP before freeing the ->usage, 2) Adding RCU protected read side critical section, and 3) Using kfree_rcu() for freeing ->usage and setting ms->usage to NULL. The fix ensures that no attempt will be made to access ->usage after SECTION_HAS_MEM_MAP is cleared (Kernel Git).

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-74732NONEN/A
  • Linux Kernel logoLinux Kernel
  • kernel-firmware
NoYesAug 22, 2026
CVE-2026-74730NONEN/A
  • Linux Kernel logoLinux Kernel
  • kernel-debug-devel
NoYesAug 22, 2026
CVE-2026-74726NONEN/A
  • Linux Kernel logoLinux Kernel
  • kernel-64k-debug-modules
NoYesAug 22, 2026
CVE-2026-74719NONEN/A
  • Linux Kernel logoLinux Kernel
  • kernel-64k-modules-partner
NoYesAug 22, 2026
CVE-2026-74717NONEN/A
  • Linux Kernel logoLinux Kernel
  • rtla
NoYesAug 22, 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