CVE-2025-37842
MediumIn the Linux kernel, the following vulnerability has been resolved: spi: fsl-qspi: use devm function instead of driver remove Driver use devm APIs to manage clk/irq/resources and register the spi controller, but the legacy remove function will be called first during device detach and trigger kernel panic. Drop the remove function and use devm_add_action_or_reset() for driver cleanup to ensure the release sequence. Trigger kernel panic on i.MX8MQ by echo 30bb0000.spi >/sys/bus/platform/drivers/fsl-quadspi/unbind
CVSS 3.1 score
5.5
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Affected versions
Linux kernel versions
5.2
and later are affected. Fixed in
6.6.105,
6.12.36,
6.13.12,
6.14.3,
6.15
and their respective stable series.
References
The following references provide additional information about CVE-2025-37842 including vendor advisories, patch commits, exploit details, and third-party analysis. Links are sourced from the NIST NVD database.
-
PatchKernel patch commithttps://git.kernel.org/stable/c/40369bfe717e96e26650eeecfa5a6363563df6e4
-
PatchKernel patch commithttps://git.kernel.org/stable/c/439688dbe82baa10d4430dc3252bb5ef1183a171
-
PatchKernel patch commithttps://git.kernel.org/stable/c/50ae352c1848cab408fb4f7d7f50c71f818bbdbf
Frequently asked questions
-
What is CVE-2025-37842?
CVE-2025-37842 is a Medium severity Linux kernel vulnerability with a CVSS score of 5.5 out of 10 . It affects Linux kernel versions from 5.2 onward and has been patched in 6.6.105, 6.12.36, 6.13.12 and others. CVE-2025-37842 has not been confirmed as actively exploited and is not listed in the CISA KEV catalog.
-
What is the CVSS score for CVE-2025-37842?
CVE-2025-37842 has a CVSS score of 5.5 out of 10, rated Medium severity (CVSS 3.1). The vector string is
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H. -
Is there a patch available for CVE-2025-37842?
Yes — CVE-2025-37842 has been patched. Fixed versions include 6.6.105, 6.12.36, 6.13.12 and others. If you are running Linux kernel 5.2 or later up to the fix versions, apply the relevant patch for your kernel branch.
-
Is CVE-2025-37842 actively exploited?
No — CVE-2025-37842 has not been confirmed as actively exploited. It is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog.