{"id":"CVE-2025-37981","state":"PUBLISHED","title":"scsi: smartpqi: Use is_kdump_kernel() to check for kdump","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nscsi: smartpqi: Use is_kdump_kernel() to check for kdump\n\nThe smartpqi driver checks the reset_devices variable to determine\nwhether special adjustments need to be made for kdump. This has the\neffect that after a regular kexec reboot, some driver parameters such as\nmax_transfer_size are much lower than usual. More importantly, kexec\nreboot tests have revealed memory corruption caused by the driver log\nbeing written to system memory after a kexec.\n\nFix this by testing is_kdump_kernel() rather than reset_devices where\nappropriate.","publishedAt":"2025-05-20T16:58:23.299Z","updatedAt":"2026-05-11T21:18:59.250Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"058311b72f54890de824b063feb603942269b732","status":"affected","lessThan":"7cc670e8ebaa5241dd99c0ad75eceb8f8f64f607","versionType":"git"},{"version":"058311b72f54890de824b063feb603942269b732","status":"affected","lessThan":"ebf673c76ce91e612a882dfaa9a3824962994aae","versionType":"git"},{"version":"058311b72f54890de824b063feb603942269b732","status":"affected","lessThan":"a2d5a0072235a69749ceb04c1a26dc75df66a31a","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/scsi/smartpqi/smartpqi_init.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.12","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.12","versionType":"semver"},{"version":"6.12.25","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.14.4","status":"unaffected","lessThanOrEqual":"6.14.*","versionType":"semver"},{"version":"6.15","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/scsi/smartpqi/smartpqi_init.c"]}],"references":["https://git.kernel.org/stable/c/7cc670e8ebaa5241dd99c0ad75eceb8f8f64f607","https://git.kernel.org/stable/c/ebf673c76ce91e612a882dfaa9a3824962994aae","https://git.kernel.org/stable/c/a2d5a0072235a69749ceb04c1a26dc75df66a31a"],"weaknesses":[],"ingestedAt":"2026-10-29T20:09:03.054Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2025/37xxx/CVE-2025-37981.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2025-37981","state":"PUBLISHED","datePublished":"2025-05-20T16:58:23.299Z","dateUpdated":"2026-05-11T21:18:59.250Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2025-04-16T04:51:23.975Z"},"containers":{"cna":{"title":"scsi: smartpqi: Use is_kdump_kernel() to check for kdump","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nscsi: smartpqi: Use is_kdump_kernel() to check for kdump\n\nThe smartpqi driver checks the reset_devices variable to determine\nwhether special adjustments need to be made for kdump. This has the\neffect that after a regular kexec reboot, some driver parameters such as\nmax_transfer_size are much lower than usual. More importantly, kexec\nreboot tests have revealed memory corruption caused by the driver log\nbeing written to system memory after a kexec.\n\nFix this by testing is_kdump_kernel() rather than reset_devices where\nappropriate."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"058311b72f54890de824b063feb603942269b732","status":"affected","lessThan":"7cc670e8ebaa5241dd99c0ad75eceb8f8f64f607","versionType":"git"},{"version":"058311b72f54890de824b063feb603942269b732","status":"affected","lessThan":"ebf673c76ce91e612a882dfaa9a3824962994aae","versionType":"git"},{"version":"058311b72f54890de824b063feb603942269b732","status":"affected","lessThan":"a2d5a0072235a69749ceb04c1a26dc75df66a31a","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/scsi/smartpqi/smartpqi_init.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.12","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.12","versionType":"semver"},{"version":"6.12.25","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.14.4","status":"unaffected","lessThanOrEqual":"6.14.*","versionType":"semver"},{"version":"6.15","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/scsi/smartpqi/smartpqi_init.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/7cc670e8ebaa5241dd99c0ad75eceb8f8f64f607"},{"url":"https://git.kernel.org/stable/c/ebf673c76ce91e612a882dfaa9a3824962994aae"},{"url":"https://git.kernel.org/stable/c/a2d5a0072235a69749ceb04c1a26dc75df66a31a"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-05-11T21:18:59.250Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.12","versionEndExcluding":"6.12.25"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.12","versionEndExcluding":"6.14.4"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.12","versionEndExcluding":"6.15"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}}}}}