Junglewise Threat Intelligence

CVE-2025-21694: Linux Kernel softlockup in __read_vmcore

CVE-2025-21694 · Severity: medium · CVSS 5.5 · Published 2025-02-12

Technologies: Linux Kernel. Vendors: Linux.

Executive brief

A vulnerability in the Linux kernel's crash dump mechanism can cause the system to hang or become unresponsive during a crash recovery process. In memory-constrained environments, this issue prevents the system from properly freeing memory, which can lead to a permanent freeze of the recovery operation. This impacts the reliability of system diagnostics and automated recovery after a critical failure.

Technical details

A softlockup vulnerability exists in the fs/proc/vmcore.c component of the Linux kernel. The root cause is a lack of scheduling yield points in the second loop of the __read_vmcore function, which is used during kdump operations. In memory-constrained environments, this continuous execution without rescheduling can interfere with RCU (Read-Copy-Update) memory reclamation, leading to a system hang. An attacker with local access could potentially trigger or exacerbate this condition to cause a denial of service during crash recovery. The fix involves adding cond_resched() to the loop to allow the scheduler to yield execution.

Affected products

  • Linux Linux Kernel 4.19.317 to 4.20, 5.4.279 to 5.4.290, 5.10.221 to 5.10.234, 5.15.162 to 5.15.177, 6.1.95 to 6.1.127, 6.6.35 to 6.6.74, 6.9.6 to 6.12.11

Timeline

  • 2025-01-10: other: Patch authored
  • 2025-02-12: disclosed: CVE published
  • 2025-02-12: advisory

References

Related threats