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.
[
{
"id": "CVE-2025-21694-0e3d9747",
"signature_type": "Function",
"signature_version": "v1",
"digest": {
"length": 1770.0,
"function_hash": "242673942119275855965284130984933140695"
},
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@80da29deb88a3a907441fc35bb7bac309f31e713",
"target": {
"function": "__read_vmcore",
"file": "fs/proc/vmcore.c"
}
},
{
"id": "CVE-2025-21694-38ace512",
"signature_type": "Function",
"signature_version": "v1",
"digest": {
"length": 1770.0,
"function_hash": "242673942119275855965284130984933140695"
},
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@649b266606bc413407ce315f710c8ce8a88ee30a",
"target": {
"function": "__read_vmcore",
"file": "fs/proc/vmcore.c"
}
},
{
"id": "CVE-2025-21694-53db174c",
"signature_type": "Function",
"signature_version": "v1",
"digest": {
"length": 1703.0,
"function_hash": "113578628128452815747180143718789003804"
},
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@65c367bd9d4f43513c7f837df5753bea9561b836",
"target": {
"function": "__read_vmcore",
"file": "fs/proc/vmcore.c"
}
},
{
"id": "CVE-2025-21694-54c3bd16",
"signature_type": "Line",
"signature_version": "v1",
"digest": {
"line_hashes": [
"19603951797066329940628881157209697605",
"11047106761468615340886614128266513830",
"85676476294724232134109683462765461791",
"93493729992185579729270371030187589009"
],
"threshold": 0.9
},
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@cbc5dde0a461240046e8a41c43d7c3b76d5db952",
"target": {
"file": "fs/proc/vmcore.c"
}
},
{
"id": "CVE-2025-21694-59b1f027",
"signature_type": "Function",
"signature_version": "v1",
"digest": {
"length": 1703.0,
"function_hash": "113578628128452815747180143718789003804"
},
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@a5a2ee8144c3897d37403a69118c3e3dc5713958",
"target": {
"function": "__read_vmcore",
"file": "fs/proc/vmcore.c"
}
},
{
"id": "CVE-2025-21694-5a06107a",
"signature_type": "Line",
"signature_version": "v1",
"digest": {
"line_hashes": [
"45176385656352726263151121856945351883",
"201614561882134420702989953025278118549",
"85676476294724232134109683462765461791",
"93493729992185579729270371030187589009"
],
"threshold": 0.9
},
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@84c4ed15626574c9ac6c1039ba9c137a77bcc7f2",
"target": {
"file": "fs/proc/vmcore.c"
}
},
{
"id": "CVE-2025-21694-678ea018",
"signature_type": "Line",
"signature_version": "v1",
"digest": {
"line_hashes": [
"45176385656352726263151121856945351883",
"201614561882134420702989953025278118549",
"85676476294724232134109683462765461791",
"93493729992185579729270371030187589009"
],
"threshold": 0.9
},
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@649b266606bc413407ce315f710c8ce8a88ee30a",
"target": {
"file": "fs/proc/vmcore.c"
}
},
{
"id": "CVE-2025-21694-6dfa4073",
"signature_type": "Function",
"signature_version": "v1",
"digest": {
"length": 1703.0,
"function_hash": "113578628128452815747180143718789003804"
},
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@cbc5dde0a461240046e8a41c43d7c3b76d5db952",
"target": {
"function": "__read_vmcore",
"file": "fs/proc/vmcore.c"
}
},
{
"id": "CVE-2025-21694-9fdab2c4",
"signature_type": "Line",
"signature_version": "v1",
"digest": {
"line_hashes": [
"45176385656352726263151121856945351883",
"201614561882134420702989953025278118549",
"85676476294724232134109683462765461791",
"93493729992185579729270371030187589009"
],
"threshold": 0.9
},
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@80da29deb88a3a907441fc35bb7bac309f31e713",
"target": {
"file": "fs/proc/vmcore.c"
}
},
{
"id": "CVE-2025-21694-b33a2401",
"signature_type": "Function",
"signature_version": "v1",
"digest": {
"length": 1770.0,
"function_hash": "242673942119275855965284130984933140695"
},
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@84c4ed15626574c9ac6c1039ba9c137a77bcc7f2",
"target": {
"function": "__read_vmcore",
"file": "fs/proc/vmcore.c"
}
},
{
"id": "CVE-2025-21694-d6620d94",
"signature_type": "Line",
"signature_version": "v1",
"digest": {
"line_hashes": [
"19603951797066329940628881157209697605",
"11047106761468615340886614128266513830",
"85676476294724232134109683462765461791",
"93493729992185579729270371030187589009"
],
"threshold": 0.9
},
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@80828540dad0757b6337c6561d49c81038f38d87",
"target": {
"file": "fs/proc/vmcore.c"
}
},
{
"id": "CVE-2025-21694-dfd297f2",
"signature_type": "Line",
"signature_version": "v1",
"digest": {
"line_hashes": [
"19603951797066329940628881157209697605",
"11047106761468615340886614128266513830",
"85676476294724232134109683462765461791",
"93493729992185579729270371030187589009"
],
"threshold": 0.9
},
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@65c367bd9d4f43513c7f837df5753bea9561b836",
"target": {
"file": "fs/proc/vmcore.c"
}
},
{
"id": "CVE-2025-21694-e8dc80ef",
"signature_type": "Line",
"signature_version": "v1",
"digest": {
"line_hashes": [
"19603951797066329940628881157209697605",
"11047106761468615340886614128266513830",
"85676476294724232134109683462765461791",
"93493729992185579729270371030187589009"
],
"threshold": 0.9
},
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@a5a2ee8144c3897d37403a69118c3e3dc5713958",
"target": {
"file": "fs/proc/vmcore.c"
}
},
{
"id": "CVE-2025-21694-ee3161b9",
"signature_type": "Function",
"signature_version": "v1",
"digest": {
"length": 1703.0,
"function_hash": "113578628128452815747180143718789003804"
},
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@80828540dad0757b6337c6561d49c81038f38d87",
"target": {
"function": "__read_vmcore",
"file": "fs/proc/vmcore.c"
}
}
]