CVE-2025-37922
Linux Kernel vulnerability analysis and mitigation

Overview

CVE-2025-37922 is a vulnerability discovered in the Linux kernel related to memory management in the vmemmap system. The vulnerability was disclosed on May 20, 2025, affecting the Linux kernel's book3s64/radix component. The issue specifically involves the alignment of section vmemmap start addresses to PAGE_SIZE (NVD).

Technical details

The vulnerability occurs when namespaces are created unaligned, causing the section vmemmap start address to also be unaligned. When this happens, an altmap page allocated from the current namespace might be used by the previous namespace. During free operations, since the altmap is shared between two namespaces, the previous namespace may incorrectly detect that the page doesn't belong to its altmap and assume it's a normal page. This leads to an attempt to free the normal page, resulting in a kernel crash. Additionally, if there is no altmap, a PMD-sized vmemmap page will be allocated from RAM regardless of the section start address alignment, which can trigger a VMBUGON when setting the PMD-sized page to page table (NVD).

Impact

The vulnerability can result in a kernel crash when the system attempts to free memory pages incorrectly. This manifests as a NULL pointer dereference and can lead to system instability. The issue can trigger kernel BUG reports and cause system crashes, potentially affecting system availability (NVD).

Mitigation and workarounds

The issue has been addressed by aligning the section vmemmap start address to PAGESIZE. After alignment, the start address will not be part of the current namespace, and a normal page will be allocated for the vmemmap mapping of the current section. For the remaining sections, altmaps will be allocated. Additionally, a PMDSIZE vmemmap page will only be allocated if the section start address is PMD_SIZE-aligned; otherwise, it will fall back to a PAGE-sized vmemmap allocation (NVD).

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-40205HIGH7.8
  • Linux KernelLinux Kernel
  • linux-gcp-5.4
NoYesNov 12, 2025
CVE-2025-40211HIGH7.1
  • Linux KernelLinux Kernel
  • linux-gcp-6.8
NoYesNov 21, 2025
CVE-2025-40206MEDIUM5.5
  • Linux KernelLinux Kernel
  • kernel-zfcpdump-modules-extra
NoYesNov 12, 2025
CVE-2025-40210MEDIUM5.1
  • Linux KernelLinux Kernel
  • kernel-rt-64k-modules
NoYesNov 21, 2025
CVE-2025-40212N/AN/A
  • Linux KernelLinux Kernel
  • linux-azure-6.14
NoYesNov 24, 2025

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