5.5Medium

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

Linux Linux; Siemens SIMATIC S7-1500 CPU 1518-4 PN/DP MFP; Siemens SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP; Siemens SIMATIC S7-1500 TM MFP - GNU/Linux subsystem Published: (1 year ago)

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.

Data: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Published as the sources state it, in English.

Affected products and versions

VendorProductVersions
Linux Linux 5.4.279 – < 5.4.290, 5.10.221 – < 5.10.234, 5.15.162 – < 5.15.177, 6.1.95 – < 6.1.127, 6.6.35 – < 6.6.74, 4.19.317 – < 4.20, 6.9.6 – < 6.10
linux linux kernel 5.4.279 – < 5.4.290
Siemens RUGGEDCOM RST2428P < V3.2
Siemens SCALANCE XC-300/XR-300/XC-400/XR-500WG/XR-500 family < V3.2
Siemens SCALANCE XCM-/XRM-/XCH-/XRH-300 family < V3.2
Siemens SIMATIC S7-1500 CPU 1518-4 PN/DP MFP V3.1.0 – < V3.1.5
Siemens SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP V3.1.0 – < V3.1.5
Siemens SIMATIC S7-1500 TM MFP - GNU/Linux subsystem 0
Siemens SIPLUS S7-1500 CPU 1518-4 PN/DP MFP V3.1.0 – < V3.1.5

References and patches

CPE matches (NVD) (14)

  • cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* ≥ 4.19.317 < 4.20
  • cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* ≥ 5.4.279 < 5.4.290
  • cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* ≥ 5.10.221 < 5.10.234
  • cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* ≥ 5.15.162 < 5.15.177
  • cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* ≥ 6.1.95 < 6.1.127
  • cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* ≥ 6.6.35 < 6.6.74
  • cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* ≥ 6.9.6 < 6.12.11
  • cpe:2.3:o:linux:linux_kernel:6.13:rc1:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:6.13:rc2:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:6.13:rc3:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:6.13:rc4:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:6.13:rc5:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:6.13:rc6:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:6.13:rc7:*:*:*:*:*:*