First published: Wed Feb 12 2025(Updated: )
In the Linux kernel, the following vulnerability has been resolved: fs/proc: fix softlockup in __read_vmcore (part 2) Since commit 5cbcb62dddf5 ("fs/proc: fix softlockup in __read_vmcore") the number of softlockups in __read_vmcore at kdump time have gone down, but they still happen sometimes. In a memory constrained environment like the kdump image, a softlockup is not just a harmless message, but it can interfere with things like RCU freeing memory, causing the crashdump to get stuck. The second loop in __read_vmcore has a lot more opportunities for natural sleep points, like scheduling out while waiting for a data write to happen, but apparently that is not always enough. Add a cond_resched() to the second loop in __read_vmcore to (hopefully) get rid of the softlockups.
Credit: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Affected Software | Affected Version | How to fix |
---|---|---|
Linux kernel | ||
Linux kernel | >=4.19.317<4.20 | |
Linux kernel | >=5.4.279<5.4.290 | |
Linux kernel | >=5.10.221<5.10.234 | |
Linux kernel | >=5.15.162<5.15.177 | |
Linux kernel | >=6.1.95<6.1.127 | |
Linux kernel | >=6.6.35<6.6.74 | |
Linux kernel | >=6.9.6<6.12.11 | |
Linux kernel | =6.13-rc1 | |
Linux kernel | =6.13-rc2 | |
Linux kernel | =6.13-rc3 | |
Linux kernel | =6.13-rc4 | |
Linux kernel | =6.13-rc5 | |
Linux kernel | =6.13-rc6 | |
Linux kernel | =6.13-rc7 |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
CVE-2025-21694 has been classified with a moderate severity level due to the risk of soft lockups during kdump operations.
To address CVE-2025-21694, it is recommended to update the Linux kernel to the latest stable version where the vulnerability has been resolved.
CVE-2025-21694 affects the Linux kernel across various distributions that utilize the kernel's proc filesystem.
The potential impacts of CVE-2025-21694 include system instability and hangs during memory dump operations.
CVE-2025-21694 was reported and subsequently addressed after encountering issues in the Linux kernel related to softlockups during kdump.