CVE-2025-21694

CVE-2025-21694

Medium · published February 12, 2025

CVSS v3.1
5.5
EPSS
0%
Percentile
14.5
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
5.5 · MEDIUM
Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
CVSS v4.0
Not supplied
EPSS
0.00242 · 14.5th percentile
Published
2025-02-12T19:15Z
Affected products (14)
ProductVersionsFixed in
linux/linux_kernel≥ 6.1.95, < 6.1.1276.1.127
linux/linux_kernel≥ 6.6.35, < 6.6.746.6.74
linux/linux_kernel≥ 6.9.6, < 6.12.116.12.11
linux/linux_kernelall versions—
linux/linux_kernelall versions—
linux/linux_kernelall versions—
linux/linux_kernelall versions—
linux/linux_kernelall versions—
linux/linux_kernelall versions—
linux/linux_kernelall versions—
linux/linux_kernel≥ 4.19.317, < 4.204.20
linux/linux_kernel≥ 5.4.279, < 5.4.2905.4.290
linux/linux_kernel≥ 5.10.221, < 5.10.2345.10.234
linux/linux_kernel≥ 5.15.162, < 5.15.1775.15.177
References (12)
EPSS history
Timeline
  • 12 FEB 13:27Z
    fs/proc: fix softlockup in __read_vmcore (part 2)
    cvelistv5