Medium severity · published Feb 12, 2025
CVE-2025-21694
fs/proc: fix softlockup in __read_vmcore (part 2)
5.5
CVSS
0.2%
EPSS
No
On KEV
Description
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.
CVSS vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Attack vector
Local
Complexity
Low
Privileges
Low
User interaction
None
Confidentiality
None
Integrity
None
Availability
High
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)0.2% · higher than 15% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
KE
Kernel · Linux
4.19.317 before 4.20; 5.4.279 before 5.4.290; 5.10.221 before 5.10.234; 5.15.162 before 5.15.177; 6.1.95 before 6.1.127; 6.6.35 before 6.6.74; +8 more · source: NVD
LI
Linux · Linux
803d5a33d5ffdc2d86dcc0cfa01655a330612cdb before 84c4ed15626574c9ac6c1039ba9c137a77bcc7f2; 70c1835e776c8447c1aca87ddb38cfe764fe756a before 80da29deb88a3a907441fc35bb7bac309f31e713; e1b160a50c756e0efbea290b9bf5117cb80e8c4b before 649b266606bc413407ce315f710c8ce8a88ee30a; a373ad833a6bfe4bc6cedcf7e56a99cc6fd9a193 before 65c367bd9d4f43513c7f837df5753bea9561b836; 518fbd644dabb6aedbdd4939c6c9cc1bf651459f before a5a2ee8144c3897d37403a69118c3e3dc5713958; 5cbcb62dddf5346077feb82b7b0c9254222d3445 before 80828540dad0757b6337c6561d49c81038f38d87; +11 more · source: vendor
RR
RUGGEDCOM RST2428P · Siemens
before V3.2 · source: CISA
SS
SIMATIC S7-1500 CPU 1518-4 PN/DP MFP · Siemens
V3.1.0 before V3.1.5; V3.1.0 before V3.1.5 · source: CISA
SS
SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP · Siemens
V3.1.0 before V3.1.5; V3.1.0 before V3.1.5 · source: CISA
SS
SIPLUS S7-1500 CPU 1518-4 PN/DP MFP · Siemens
V3.1.0 before V3.1.5 · source: CISA