Advisory Published
Updated

CVE-2025-21694: fs/proc: fix softlockup in __read_vmcore (part 2)

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 SoftwareAffected VersionHow 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

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • What is the severity of CVE-2025-21694?

    CVE-2025-21694 has been classified with a moderate severity level due to the risk of soft lockups during kdump operations.

  • How do I fix CVE-2025-21694?

    To address CVE-2025-21694, it is recommended to update the Linux kernel to the latest stable version where the vulnerability has been resolved.

  • What systems are affected by CVE-2025-21694?

    CVE-2025-21694 affects the Linux kernel across various distributions that utilize the kernel's proc filesystem.

  • What are the potential impacts of CVE-2025-21694?

    The potential impacts of CVE-2025-21694 include system instability and hangs during memory dump operations.

  • When was CVE-2025-21694 reported?

    CVE-2025-21694 was reported and subsequently addressed after encountering issues in the Linux kernel related to softlockups during kdump.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203