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 _readvmcore") 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 condresched() to the second loop in _read_vmcore to (hopefully) get rid of the softlockups.
[
{
"digest": {
"length": 1770.0,
"function_hash": "242673942119275855965284130984933140695"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@649b266606bc413407ce315f710c8ce8a88ee30a",
"signature_version": "v1",
"deprecated": false,
"target": {
"file": "fs/proc/vmcore.c",
"function": "__read_vmcore"
},
"signature_type": "Function",
"id": "CVE-2025-21694-38ace512"
},
{
"digest": {
"threshold": 0.9,
"line_hashes": [
"19603951797066329940628881157209697605",
"11047106761468615340886614128266513830",
"85676476294724232134109683462765461791",
"93493729992185579729270371030187589009"
]
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@cbc5dde0a461240046e8a41c43d7c3b76d5db952",
"signature_version": "v1",
"deprecated": false,
"target": {
"file": "fs/proc/vmcore.c"
},
"signature_type": "Line",
"id": "CVE-2025-21694-54c3bd16"
},
{
"digest": {
"length": 1703.0,
"function_hash": "113578628128452815747180143718789003804"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@a5a2ee8144c3897d37403a69118c3e3dc5713958",
"signature_version": "v1",
"deprecated": false,
"target": {
"file": "fs/proc/vmcore.c",
"function": "__read_vmcore"
},
"signature_type": "Function",
"id": "CVE-2025-21694-59b1f027"
},
{
"digest": {
"threshold": 0.9,
"line_hashes": [
"45176385656352726263151121856945351883",
"201614561882134420702989953025278118549",
"85676476294724232134109683462765461791",
"93493729992185579729270371030187589009"
]
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@649b266606bc413407ce315f710c8ce8a88ee30a",
"signature_version": "v1",
"deprecated": false,
"target": {
"file": "fs/proc/vmcore.c"
},
"signature_type": "Line",
"id": "CVE-2025-21694-678ea018"
},
{
"digest": {
"length": 1703.0,
"function_hash": "113578628128452815747180143718789003804"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@cbc5dde0a461240046e8a41c43d7c3b76d5db952",
"signature_version": "v1",
"deprecated": false,
"target": {
"file": "fs/proc/vmcore.c",
"function": "__read_vmcore"
},
"signature_type": "Function",
"id": "CVE-2025-21694-6dfa4073"
},
{
"digest": {
"threshold": 0.9,
"line_hashes": [
"19603951797066329940628881157209697605",
"11047106761468615340886614128266513830",
"85676476294724232134109683462765461791",
"93493729992185579729270371030187589009"
]
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@80828540dad0757b6337c6561d49c81038f38d87",
"signature_version": "v1",
"deprecated": false,
"target": {
"file": "fs/proc/vmcore.c"
},
"signature_type": "Line",
"id": "CVE-2025-21694-d6620d94"
},
{
"digest": {
"threshold": 0.9,
"line_hashes": [
"19603951797066329940628881157209697605",
"11047106761468615340886614128266513830",
"85676476294724232134109683462765461791",
"93493729992185579729270371030187589009"
]
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@a5a2ee8144c3897d37403a69118c3e3dc5713958",
"signature_version": "v1",
"deprecated": false,
"target": {
"file": "fs/proc/vmcore.c"
},
"signature_type": "Line",
"id": "CVE-2025-21694-e8dc80ef"
},
{
"digest": {
"length": 1703.0,
"function_hash": "113578628128452815747180143718789003804"
},
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@80828540dad0757b6337c6561d49c81038f38d87",
"signature_version": "v1",
"deprecated": false,
"target": {
"file": "fs/proc/vmcore.c",
"function": "__read_vmcore"
},
"signature_type": "Function",
"id": "CVE-2025-21694-ee3161b9"
}
]