CVE-2024-45022
Linux Kernel vulnerability analysis and mitigation

Overview

CVE-2024-45022 affects the Linux kernel's memory management subsystem, specifically related to page mapping in the vmalloc functionality. The vulnerability was discovered in September 2024 and affects Linux kernel versions from 6.1.95 up to 6.1.107, 6.3 to 6.6.48, 6.7 to 6.10.7, and 6.11 release candidates (NVD).

Technical details

The vulnerability exists in the vmappagesrangenoflush() function which incorrectly assumes its argument pages** contains pages with the same page shift. When gfpflags includes GFPNOFAIL with high order in vmareaallocpages() and page allocation fails for high order, the pages** may contain two different page shifts (high order and order-0). This can lead to incorrect mappings and potential memory corruption. The issue occurs specifically when vmapallowhuge is true and using 2M PMD_SIZE allocations (Kernel Patch). The vulnerability has been assigned a CVSS v3.1 base score of 5.5 (Medium) with vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H (NVD).

Impact

If exploited, this vulnerability could result in memory corruption due to incorrect page mappings. The impact is primarily focused on system availability, as indicated by the CVSS metrics showing no impact on confidentiality or integrity, but high impact on availability (NVD).

Mitigation and workarounds

The vulnerability has been fixed by removing the fallback code in vmareaallocpages(), as the _vmallocnoderange_noprof() function already handles retry with order-0 when high-order allocation fails. The fix has been incorporated into various Linux distributions including Debian and Ubuntu through security updates (Kernel Patch, Debian Security).

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-40343MEDIUM6.4
  • Linux KernelLinux Kernel
  • linux-iot
NoYesDec 09, 2025
CVE-2025-40342MEDIUM6.4
  • Linux KernelLinux Kernel
  • kernel-rt-devel-matched
NoYesDec 09, 2025
CVE-2025-40340MEDIUM6.4
  • Linux KernelLinux Kernel
  • linux-hwe
NoYesDec 09, 2025
CVE-2025-40341MEDIUM5.1
  • Linux KernelLinux Kernel
  • kernel-zfcpdump-core
NoYesDec 09, 2025
CVE-2025-40344N/AN/A
  • Linux KernelLinux Kernel
  • libperf-devel
NoYesDec 09, 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