CVE-2025-21694

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

5.5 medium EPSS 0.25%

Published 12 Feb 2025 Updated 15 Oct 2026 CNA: Linux

Check your servers for CVE-2025-21694

The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2025-21694 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.

Check my servers

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.

Severity (CVSS)

5.5 medium CVSS 3.1 from CISA (ADP)
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Attack vector
local: the attacker needs local access, or a user has to open a prepared file
Attack complexity
low: an attack works without special conditions
Privileges required
low: the attacker needs an ordinary user account
User interaction
none: nobody has to click or open anything
Scope
unchanged: the damage stays inside the vulnerable component
Impact
confidentiality none, integrity none, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)

Exploitation

EPSS 0.25%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 16.8% of all scored CVEs. Scores of 1 Dec 2026.

The assessment of CISA (SSVC, 1 Oct 2025):

Exploitation
none: CISA did not find evidence of exploitation or a public proof of concept
Automatable
no: each attack takes manual steps
Technical impact
partial: limited control or limited data

Affected products

As the CNA lists them.

ProductVersions
Linux
affected from 803d5a33d5ffdc2d86dcc0cfa01655a330612cdb, before 84c4ed15626574c9ac6c1039ba9c137a77bcc7f2
affected from 70c1835e776c8447c1aca87ddb38cfe764fe756a, before 80da29deb88a3a907441fc35bb7bac309f31e713
affected from e1b160a50c756e0efbea290b9bf5117cb80e8c4b, before 649b266606bc413407ce315f710c8ce8a88ee30a
affected from a373ad833a6bfe4bc6cedcf7e56a99cc6fd9a193, before 65c367bd9d4f43513c7f837df5753bea9561b836
affected from 518fbd644dabb6aedbdd4939c6c9cc1bf651459f, before a5a2ee8144c3897d37403a69118c3e3dc5713958
affected from 5cbcb62dddf5346077feb82b7b0c9254222d3445, before 80828540dad0757b6337c6561d49c81038f38d87
affected from 5cbcb62dddf5346077feb82b7b0c9254222d3445, before cbc5dde0a461240046e8a41c43d7c3b76d5db952
affected 7bdf1d550ddfcd9ab797087421f77b7aceddc8a7
affected e8780e8a0e25dc4c3927f611ec8970d26c0c7369
affected from 5.4.279, before 5.4.290
affected from 5.10.221, before 5.10.234
affected from 5.15.162, before 5.15.177
affected from 6.1.95, before 6.1.127
affected from 6.6.35, before 6.6.74
affected from 4.19.317, before 4.20
affected from 6.9.6, before 6.10
Other versions: unaffected
Linux
affected 6.10
unaffected before 6.10
unaffected from 5.4.290 up to and including 5.4.*
unaffected from 5.10.234 up to and including 5.10.*
unaffected from 5.15.177 up to and including 5.15.*
unaffected from 6.1.127 up to and including 6.1.*
unaffected from 6.6.74 up to and including 6.6.*
unaffected from 6.12.11 up to and including 6.12.*
unaffected 6.13 and later
Other versions: affected

Is my server affected?

This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:

uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2025-21694 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2025-21694

With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:

trivy rootfs --scanners vuln / | grep CVE-2025-21694
trivy image --scanners vuln IMAGE | grep CVE-2025-21694

Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.

References

Other references

Source: the record CVE-2025-21694 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.