{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2025-37842","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","state":"PUBLISHED","assignerShortName":"Linux","dateReserved":"2025-04-16T04:51:23.953Z","datePublished":"2025-05-09T06:41:51.310Z","dateUpdated":"2026-11-05T20:52:04.849Z"},"containers":{"cna":{"providerMetadata":{"orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux","dateUpdated":"2026-10-30T12:21:22.124Z"},"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nspi: fsl-qspi: use devm function instead of driver remove\n\nDriver use devm APIs to manage clk/irq/resources and register the spi\ncontroller, but the legacy remove function will be called first during\ndevice detach and trigger kernel panic. Drop the remove function and use\ndevm_add_action_or_reset() for driver cleanup to ensure the release\nsequence.\n\nTrigger kernel panic on i.MX8MQ by\necho 30bb0000.spi >/sys/bus/platform/drivers/fsl-quadspi/unbind"}],"affected":[{"product":"Linux","vendor":"Linux","defaultStatus":"unaffected","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/spi/spi-fsl-qspi.c"],"versions":[{"version":"8fcb830a00f0980ffe38d223cdd9a4d2d24da476","lessThan":"69d2d7020b9966817ffc7442ae778c29cb81813f","status":"affected","versionType":"git"},{"version":"8fcb830a00f0980ffe38d223cdd9a4d2d24da476","lessThan":"50ae352c1848cab408fb4f7d7f50c71f818bbdbf","status":"affected","versionType":"git"},{"version":"8fcb830a00f0980ffe38d223cdd9a4d2d24da476","lessThan":"f68b27d82a749117d9c7d7f33fa53f46373e38e2","status":"affected","versionType":"git"},{"version":"8fcb830a00f0980ffe38d223cdd9a4d2d24da476","lessThan":"439688dbe82baa10d4430dc3252bb5ef1183a171","status":"affected","versionType":"git"},{"version":"8fcb830a00f0980ffe38d223cdd9a4d2d24da476","lessThan":"f9bfb3a5f6f616f3eb7665c8ff3bcb9760ae33c8","status":"affected","versionType":"git"},{"version":"8fcb830a00f0980ffe38d223cdd9a4d2d24da476","lessThan":"40369bfe717e96e26650eeecfa5a6363563df6e4","status":"affected","versionType":"git"}]},{"product":"Linux","vendor":"Linux","defaultStatus":"affected","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/spi/spi-fsl-qspi.c"],"versions":[{"version":"5.2","status":"affected"},{"version":"0","lessThan":"5.2","status":"unaffected","versionType":"semver"},{"version":"6.1.191","lessThanOrEqual":"6.1.*","status":"unaffected","versionType":"semver"},{"version":"6.6.105","lessThanOrEqual":"6.6.*","status":"unaffected","versionType":"semver"},{"version":"6.12.36","lessThanOrEqual":"6.12.*","status":"unaffected","versionType":"semver"},{"version":"6.13.12","lessThanOrEqual":"6.13.*","status":"unaffected","versionType":"semver"},{"version":"6.14.3","lessThanOrEqual":"6.14.*","status":"unaffected","versionType":"semver"},{"version":"6.15","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.2","versionEndExcluding":"6.1.191"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.2","versionEndExcluding":"6.6.105"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.2","versionEndExcluding":"6.12.36"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.2","versionEndExcluding":"6.13.12"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.2","versionEndExcluding":"6.14.3"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.2","versionEndExcluding":"6.15"}]}]}],"references":[{"url":"https://git.kernel.org/stable/c/69d2d7020b9966817ffc7442ae778c29cb81813f"},{"url":"https://git.kernel.org/stable/c/50ae352c1848cab408fb4f7d7f50c71f818bbdbf"},{"url":"https://git.kernel.org/stable/c/f68b27d82a749117d9c7d7f33fa53f46373e38e2"},{"url":"https://git.kernel.org/stable/c/439688dbe82baa10d4430dc3252bb5ef1183a171"},{"url":"https://git.kernel.org/stable/c/f9bfb3a5f6f616f3eb7665c8ff3bcb9760ae33c8"},{"url":"https://git.kernel.org/stable/c/40369bfe717e96e26650eeecfa5a6363563df6e4"}],"title":"spi: fsl-qspi: use devm function instead of driver remove","x_generator":{"engine":"bippy-1.2.0"}},"adp":[{"metrics":[{"other":{"type":"ssvc","content":{"id":"CVE-2025-37842","role":"CISA Coordinator","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"version":"2.0.3","timestamp":"2026-11-05T20:42:05.791177Z"}}}],"title":"CISA ADP Vulnrichment","providerMetadata":{"orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","shortName":"CISA-ADP","dateUpdated":"2026-11-05T20:52:04.849Z"}}]}}