CVE-2024-56559
Linux Kernel vulnerability analysis and mitigation

Overview

CVE-2024-56559 addresses a performance issue in the Linux kernel related to TLB (Translation Lookaside Buffer) flush operations during KASAN (Kernel Address Sanitizer) shadow virtual address handling. The vulnerability was discovered when compiling kernel source with KASAN enabled on a 256-core machine, where it caused CPU soft lockups lasting up to 22 seconds (Kernel Git).

Technical details

The issue manifests when the drain_vmap_area_work() function spends excessive time iterating vmap_nodes and flushing TLB when purging vm_area structures. Analysis showed approximately 2,805 flush_tlb_kernel_range() calls in the ftrace log, with each flush operation taking about 7.5ms, resulting in a total execution time of around 21.03 seconds. This prolonged execution triggers the soft lockup detector (Kernel Git).

Impact

The vulnerability causes significant performance degradation and system responsiveness issues on KASAN-enabled kernels, particularly on multi-core systems. When triggered, it results in CPU soft lockups that can last for over 22 seconds, potentially affecting system stability and performance (Kernel Git).

Mitigation and workarounds

A temporary workaround involves extending the soft lockup timeout by modifying the watchdog threshold (echo 60 > /proc/sys/kernel/watchdog_thresh). The permanent fix combines all TLB flush operations of KASAN shadow virtual addresses into a single operation in the purge_vmap_node()->kasan_release_vmalloc() call path, reducing the drain_vmap_area_work() execution time to approximately 1 second (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-2025-71142N/AN/A
  • Linux KernelLinux Kernel
  • kernel-64k-debug-devel-matched
NoNoJan 14, 2026
CVE-2025-71137N/AN/A
  • Linux KernelLinux Kernel
  • linux-gcp
NoYesJan 14, 2026
CVE-2025-71135N/AN/A
  • Linux KernelLinux Kernel
  • kernel-debug-core
NoNoJan 14, 2026
CVE-2025-71134N/AN/A
  • Linux KernelLinux Kernel
  • kernel-uki-virt
NoNoJan 14, 2026
CVE-2025-71133N/AN/A
  • Linux KernelLinux Kernel
  • kernel-modules-extra
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