CVE-2025-38029
Linux Kernel vulnerability analysis and mitigation

Overview

A vulnerability (CVE-2025-38029) was discovered in the Linux kernel where apply_to_pte_range() enters the lazy MMU mode and invokes kasan_populate_vmalloc_pte() callback on each page table walk iteration. The issue was disclosed on June 18, 2025, and affects the Linux kernel's memory management subsystem (NVD, Wiz).

Technical details

The vulnerability occurs when the callback attempts to allocate a single page while in sleep mode, particularly if an architecture disables preemption on lazy MMU mode enter. This specifically affects s390 architecture when arch_enter_lazy_mmu_mode() enables preemption and arch_leave_lazy_mmu_mode() disables it, leading to a crash in the kernel. The issue manifests as a 'sleeping function called from invalid context' error, occurring in an atomic context (NVD).

Impact

When triggered, this vulnerability causes a kernel crash, resulting in system instability. The issue specifically affects the kernel's memory management functionality, potentially leading to system crashes during memory operations (Wiz).

Mitigation and workarounds

The fix involves bulk-allocating the shadow memory prior to applying kasan_populate_vmalloc_pte() callback on a page range, instead of allocating single pages per-PTE. This prevents the sleep state conflict in atomic context (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-71142N/AN/A
  • Linux KernelLinux Kernel
  • kernel-64k-core
NoNoJan 14, 2026
CVE-2025-71137N/AN/A
  • Linux KernelLinux Kernel
  • kernel-64k
NoYesJan 14, 2026
CVE-2025-71135N/AN/A
  • Linux KernelLinux Kernel
  • rv
NoNoJan 14, 2026
CVE-2025-71134N/AN/A
  • Linux KernelLinux Kernel
  • kernel-zfcpdump
NoNoJan 14, 2026
CVE-2025-71133N/AN/A
  • Linux KernelLinux Kernel
  • kernel-rt-debug
NoYesJan 14, 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