{"id":"CVE-2025-21694","state":"PUBLISHED","title":"fs/proc: fix softlockup in __read_vmcore (part 2)","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nfs/proc: fix softlockup in __read_vmcore (part 2)\n\nSince commit 5cbcb62dddf5 (\"fs/proc: fix softlockup in __read_vmcore\") the\nnumber of softlockups in __read_vmcore at kdump time have gone down, but\nthey still happen sometimes.\n\nIn a memory constrained environment like the kdump image, a softlockup is\nnot just a harmless message, but it can interfere with things like RCU\nfreeing memory, causing the crashdump to get stuck.\n\nThe second loop in __read_vmcore has a lot more opportunities for natural\nsleep points, like scheduling out while waiting for a data write to\nhappen, but apparently that is not always enough.\n\nAdd a cond_resched() to the second loop in __read_vmcore to (hopefully)\nget rid of the softlockups.","publishedAt":"2025-02-12T13:27:53.763Z","updatedAt":"2026-10-15T01:03:18.737Z","severity":{"score":5.5,"label":"Medium","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","source":"CISA-ADP"},"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"803d5a33d5ffdc2d86dcc0cfa01655a330612cdb","status":"affected","lessThan":"84c4ed15626574c9ac6c1039ba9c137a77bcc7f2","versionType":"git"},{"version":"70c1835e776c8447c1aca87ddb38cfe764fe756a","status":"affected","lessThan":"80da29deb88a3a907441fc35bb7bac309f31e713","versionType":"git"},{"version":"e1b160a50c756e0efbea290b9bf5117cb80e8c4b","status":"affected","lessThan":"649b266606bc413407ce315f710c8ce8a88ee30a","versionType":"git"},{"version":"a373ad833a6bfe4bc6cedcf7e56a99cc6fd9a193","status":"affected","lessThan":"65c367bd9d4f43513c7f837df5753bea9561b836","versionType":"git"},{"version":"518fbd644dabb6aedbdd4939c6c9cc1bf651459f","status":"affected","lessThan":"a5a2ee8144c3897d37403a69118c3e3dc5713958","versionType":"git"},{"version":"5cbcb62dddf5346077feb82b7b0c9254222d3445","status":"affected","lessThan":"80828540dad0757b6337c6561d49c81038f38d87","versionType":"git"},{"version":"5cbcb62dddf5346077feb82b7b0c9254222d3445","status":"affected","lessThan":"cbc5dde0a461240046e8a41c43d7c3b76d5db952","versionType":"git"},{"version":"7bdf1d550ddfcd9ab797087421f77b7aceddc8a7","status":"affected","versionType":"git"},{"version":"e8780e8a0e25dc4c3927f611ec8970d26c0c7369","status":"affected","versionType":"git"},{"version":"5.4.279","status":"affected","lessThan":"5.4.290","versionType":"semver"},{"version":"5.10.221","status":"affected","lessThan":"5.10.234","versionType":"semver"},{"version":"5.15.162","status":"affected","lessThan":"5.15.177","versionType":"semver"},{"version":"6.1.95","status":"affected","lessThan":"6.1.127","versionType":"semver"},{"version":"6.6.35","status":"affected","lessThan":"6.6.74","versionType":"semver"},{"version":"4.19.317","status":"affected","lessThan":"4.20","versionType":"semver"},{"version":"6.9.6","status":"affected","lessThan":"6.10","versionType":"semver"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["fs/proc/vmcore.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.10","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.10","versionType":"semver"},{"version":"5.4.290","status":"unaffected","lessThanOrEqual":"5.4.*","versionType":"semver"},{"version":"5.10.234","status":"unaffected","lessThanOrEqual":"5.10.*","versionType":"semver"},{"version":"5.15.177","status":"unaffected","lessThanOrEqual":"5.15.*","versionType":"semver"},{"version":"6.1.127","status":"unaffected","lessThanOrEqual":"6.1.*","versionType":"semver"},{"version":"6.6.74","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.12.11","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.13","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["fs/proc/vmcore.c"]}],"references":["https://git.kernel.org/stable/c/84c4ed15626574c9ac6c1039ba9c137a77bcc7f2","https://git.kernel.org/stable/c/80da29deb88a3a907441fc35bb7bac309f31e713","https://git.kernel.org/stable/c/649b266606bc413407ce315f710c8ce8a88ee30a","https://git.kernel.org/stable/c/65c367bd9d4f43513c7f837df5753bea9561b836","https://git.kernel.org/stable/c/a5a2ee8144c3897d37403a69118c3e3dc5713958","https://git.kernel.org/stable/c/80828540dad0757b6337c6561d49c81038f38d87","https://git.kernel.org/stable/c/cbc5dde0a461240046e8a41c43d7c3b76d5db952","https://lists.debian.org/debian-lts-announce/2025/03/msg00001.html","https://lists.debian.org/debian-lts-announce/2025/03/msg00002.html","https://cert-portal.siemens.com/productcert/html/ssa-398330.html","https://cert-portal.siemens.com/productcert/html/ssa-265688.html","https://cert-portal.siemens.com/productcert/html/ssa-355557.html"],"weaknesses":[],"ingestedAt":"2026-10-29T20:08:39.238Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2025/21xxx/CVE-2025-21694.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2025-21694","state":"PUBLISHED","datePublished":"2025-02-12T13:27:53.763Z","dateUpdated":"2026-10-15T01:03:18.737Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2024-12-29T08:45:45.743Z"},"containers":{"cna":{"title":"fs/proc: fix softlockup in __read_vmcore (part 2)","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nfs/proc: fix softlockup in __read_vmcore (part 2)\n\nSince commit 5cbcb62dddf5 (\"fs/proc: fix softlockup in __read_vmcore\") the\nnumber of softlockups in __read_vmcore at kdump time have gone down, but\nthey still happen sometimes.\n\nIn a memory constrained environment like the kdump image, a softlockup is\nnot just a harmless message, but it can interfere with things like RCU\nfreeing memory, causing the crashdump to get stuck.\n\nThe second loop in __read_vmcore has a lot more opportunities for natural\nsleep points, like scheduling out while waiting for a data write to\nhappen, but apparently that is not always enough.\n\nAdd a cond_resched() to the second loop in __read_vmcore to (hopefully)\nget rid of the softlockups."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"803d5a33d5ffdc2d86dcc0cfa01655a330612cdb","status":"affected","lessThan":"84c4ed15626574c9ac6c1039ba9c137a77bcc7f2","versionType":"git"},{"version":"70c1835e776c8447c1aca87ddb38cfe764fe756a","status":"affected","lessThan":"80da29deb88a3a907441fc35bb7bac309f31e713","versionType":"git"},{"version":"e1b160a50c756e0efbea290b9bf5117cb80e8c4b","status":"affected","lessThan":"649b266606bc413407ce315f710c8ce8a88ee30a","versionType":"git"},{"version":"a373ad833a6bfe4bc6cedcf7e56a99cc6fd9a193","status":"affected","lessThan":"65c367bd9d4f43513c7f837df5753bea9561b836","versionType":"git"},{"version":"518fbd644dabb6aedbdd4939c6c9cc1bf651459f","status":"affected","lessThan":"a5a2ee8144c3897d37403a69118c3e3dc5713958","versionType":"git"},{"version":"5cbcb62dddf5346077feb82b7b0c9254222d3445","status":"affected","lessThan":"80828540dad0757b6337c6561d49c81038f38d87","versionType":"git"},{"version":"5cbcb62dddf5346077feb82b7b0c9254222d3445","status":"affected","lessThan":"cbc5dde0a461240046e8a41c43d7c3b76d5db952","versionType":"git"},{"version":"7bdf1d550ddfcd9ab797087421f77b7aceddc8a7","status":"affected","versionType":"git"},{"version":"e8780e8a0e25dc4c3927f611ec8970d26c0c7369","status":"affected","versionType":"git"},{"version":"5.4.279","status":"affected","lessThan":"5.4.290","versionType":"semver"},{"version":"5.10.221","status":"affected","lessThan":"5.10.234","versionType":"semver"},{"version":"5.15.162","status":"affected","lessThan":"5.15.177","versionType":"semver"},{"version":"6.1.95","status":"affected","lessThan":"6.1.127","versionType":"semver"},{"version":"6.6.35","status":"affected","lessThan":"6.6.74","versionType":"semver"},{"version":"4.19.317","status":"affected","lessThan":"4.20","versionType":"semver"},{"version":"6.9.6","status":"affected","lessThan":"6.10","versionType":"semver"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["fs/proc/vmcore.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.10","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.10","versionType":"semver"},{"version":"5.4.290","status":"unaffected","lessThanOrEqual":"5.4.*","versionType":"semver"},{"version":"5.10.234","status":"unaffected","lessThanOrEqual":"5.10.*","versionType":"semver"},{"version":"5.15.177","status":"unaffected","lessThanOrEqual":"5.15.*","versionType":"semver"},{"version":"6.1.127","status":"unaffected","lessThanOrEqual":"6.1.*","versionType":"semver"},{"version":"6.6.74","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.12.11","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.13","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["fs/proc/vmcore.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/84c4ed15626574c9ac6c1039ba9c137a77bcc7f2"},{"url":"https://git.kernel.org/stable/c/80da29deb88a3a907441fc35bb7bac309f31e713"},{"url":"https://git.kernel.org/stable/c/649b266606bc413407ce315f710c8ce8a88ee30a"},{"url":"https://git.kernel.org/stable/c/65c367bd9d4f43513c7f837df5753bea9561b836"},{"url":"https://git.kernel.org/stable/c/a5a2ee8144c3897d37403a69118c3e3dc5713958"},{"url":"https://git.kernel.org/stable/c/80828540dad0757b6337c6561d49c81038f38d87"},{"url":"https://git.kernel.org/stable/c/cbc5dde0a461240046e8a41c43d7c3b76d5db952"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-05-23T15:56:54.899Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.4.279","versionEndExcluding":"5.4.290"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.10.221","versionEndExcluding":"5.10.234"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.15.162","versionEndExcluding":"5.15.177"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.1.95","versionEndExcluding":"6.1.127"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.6.35","versionEndExcluding":"6.6.74"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.10","versionEndExcluding":"6.12.11"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.10","versionEndExcluding":"6.13"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.19.317"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.9.6"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"cvssV3_1":{"scope":"UNCHANGED","version":"3.1","baseScore":5.5,"attackVector":"LOCAL","baseSeverity":"MEDIUM","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","integrityImpact":"NONE","userInteraction":"NONE","attackComplexity":"LOW","availabilityImpact":"HIGH","privilegesRequired":"LOW","confidentialityImpact":"NONE"}},{"other":{"type":"ssvc","content":{"id":"CVE-2025-21694","role":"CISA Coordinator","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"version":"2.0.3","timestamp":"2025-10-01T20:08:56.110006Z"}}}],"problemTypes":[{"descriptions":[{"lang":"en","type":"CWE","description":"CWE-noinfo Not enough information"}]}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2025-10-01T20:17:06.985Z"}},{"title":"CVE Program Container","references":[{"url":"https://lists.debian.org/debian-lts-announce/2025/03/msg00001.html"},{"url":"https://lists.debian.org/debian-lts-announce/2025/03/msg00002.html"}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2025-11-03T20:59:17.714Z"}},{"affected":[{"vendor":"Siemens","product":"SIMATIC S7-1500 CPU 1518-4 PN/DP MFP","defaultStatus":"unknown","versions":[{"version":"V3.1.0","status":"affected","lessThan":"V3.1.5","versionType":"custom"}]},{"vendor":"Siemens","product":"SIMATIC S7-1500 CPU 1518-4 PN/DP MFP","defaultStatus":"unknown","versions":[{"version":"V3.1.0","status":"affected","lessThan":"V3.1.5","versionType":"custom"}]},{"vendor":"Siemens","product":"SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP","defaultStatus":"unknown","versions":[{"version":"V3.1.0","status":"affected","lessThan":"V3.1.5","versionType":"custom"}]},{"vendor":"Siemens","product":"SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP","defaultStatus":"unknown","versions":[{"version":"V3.1.0","status":"affected","lessThan":"V3.1.5","versionType":"custom"}]},{"vendor":"Siemens","product":"SIMATIC S7-1500 TM MFP - GNU/Linux subsystem","defaultStatus":"unknown","versions":[{"version":"0","status":"affected","lessThan":"*","versionType":"custom"}]},{"vendor":"Siemens","product":"SIPLUS S7-1500 CPU 1518-4 PN/DP MFP","defaultStatus":"unknown","versions":[{"version":"V3.1.0","status":"affected","lessThan":"V3.1.5","versionType":"custom"}]},{"vendor":"Siemens","product":"RUGGEDCOM RST2428P","defaultStatus":"unknown","versions":[{"version":"0","status":"affected","lessThan":"V3.2","versionType":"custom"}]},{"vendor":"Siemens","product":"SCALANCE XC-300/XR-300/XC-400/XR-500WG/XR-500 family","defaultStatus":"unknown","versions":[{"version":"0","status":"affected","lessThan":"V3.2","versionType":"custom"}]},{"vendor":"Siemens","product":"SCALANCE XCM-/XRM-/XCH-/XRH-300 family","defaultStatus":"unknown","versions":[{"version":"0","status":"affected","lessThan":"V3.2","versionType":"custom"}]}],"references":[{"url":"https://cert-portal.siemens.com/productcert/html/ssa-398330.html"},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-265688.html"},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-355557.html"}],"providerMetadata":{"shortName":"siemens-SADP","orgId":"0b142b55-0307-4c5a-b3c9-f314f3fb7c5e","dateUpdated":"2026-10-15T01:03:18.737Z"},"x_adpType":"supplier"}]}}}