fs/proc: fix softlockup in __read_vmcore (part 2) (Linux Linux)

CVE-2025-21694
MEDIUM 5.5

At a glance

Source
NVD
EPSS
EPSS 0.24 % · percentile 15 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
NVD status
Modified

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.

References

Scores

VersionScoreVectorScored by
CVSS 3.1MEDIUM 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HCISA-ADP
CVSS 3.1MEDIUM 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HNVD · nvd@nist.gov (Primary)
CVSS 3.1MEDIUM 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HNVD · 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary)

European references

CERT-FR advisories

Affected configurations (NVD CPE)

Affected products

ProductVersions
Linux · Linuxaffected 803d5a33d5ffdc2d86dcc0cfa01655a330612cdb < 84c4ed15626574c9ac6c1039ba9c137a77bcc7f2 ; affected 70c1835e776c8447c1aca87ddb38cfe764fe756a < 80da29deb88a3a907441fc35bb7bac309f31e713 ; affected e1b160a50c756e0efbea290b9bf5117cb80e8c4b < 649b266606bc413407ce315f710c8ce8a88ee30a ; affected a373ad833a6bfe4bc6cedcf7e56a99cc6fd9a193 < 65c367bd9d4f43513c7f837df5753bea9561b836 ; affected 518fbd644dabb6aedbdd4939c6c9cc1bf651459f < a5a2ee8144c3897d37403a69118c3e3dc5713958 ; affected 5cbcb62dddf5346077feb82b7b0c9254222d3445 < 80828540dad0757b6337c6561d49c81038f38d87
Linux · Linuxaffected 6.10 ; unaffected 0 < 6.10 ; unaffected 5.4.290 ≤ 5.4.* ; unaffected 5.10.234 ≤ 5.10.* ; unaffected 5.15.177 ≤ 5.15.* ; unaffected 6.1.127 ≤ 6.1.*

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD