CVE-2025-21694

Source
https://cve.org/CVERecord?id=CVE-2025-21694
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-21694.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2025-21694
Downstream
Published
2025-02-12T13:27:53.763Z
Modified
2026-03-09T23:57:08.489250Z
Severity
  • 5.5 (Medium) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
fs/proc: fix softlockup in __read_vmcore (part 2)
Details

In the Linux kernel, the following vulnerability has been resolved:

fs/proc: fix softlockup in _readvmcore (part 2)

Since commit 5cbcb62dddf5 ("fs/proc: fix softlockup in __read_vmcore") the number of softlockups in _readvmcore 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 _readvmcore 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 _readvmcore to (hopefully) get rid of the softlockups.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/21xxx/CVE-2025-21694.json",
    "cna_assigner": "Linux"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
803d5a33d5ffdc2d86dcc0cfa01655a330612cdb
Fixed
84c4ed15626574c9ac6c1039ba9c137a77bcc7f2
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
70c1835e776c8447c1aca87ddb38cfe764fe756a
Fixed
80da29deb88a3a907441fc35bb7bac309f31e713
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
e1b160a50c756e0efbea290b9bf5117cb80e8c4b
Fixed
649b266606bc413407ce315f710c8ce8a88ee30a
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
a373ad833a6bfe4bc6cedcf7e56a99cc6fd9a193
Fixed
65c367bd9d4f43513c7f837df5753bea9561b836
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
518fbd644dabb6aedbdd4939c6c9cc1bf651459f
Fixed
a5a2ee8144c3897d37403a69118c3e3dc5713958
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
5cbcb62dddf5346077feb82b7b0c9254222d3445
Fixed
80828540dad0757b6337c6561d49c81038f38d87
Fixed
cbc5dde0a461240046e8a41c43d7c3b76d5db952
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Last affected
7bdf1d550ddfcd9ab797087421f77b7aceddc8a7
Last affected
e8780e8a0e25dc4c3927f611ec8970d26c0c7369

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-21694.json"