CVE-2025-37842: spi: fsl-qspi: use devm function instead of driver remove

Published May 9, 2025
·
Updated

In 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 devmaddactionorreset() 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

Affected Software

6 affected components
Linux Kernel
Linux Linux kernel>=5.2<6.6.105
Linux Linux kernel>=6.7<6.12.36
Linux Linux kernel>=6.13<6.13.12
Linux Linux kernel>=6.14<6.14.3
Microsoft cbl2 kernel 5.15.186.1-1

Event History

May 9, 2025
CVE Published
via MITRE·06:41 AM
Data Sourced
via MITRE·06:41 AM
Description
Data Sourced
via NVD·07:16 AM
RemedyDescriptionSeverityAffected Software
Sep 4, 2025
Data Sourced
via Microsoft·05:46 AM
DescriptionSeverityWeaknessAffected Software
Updated
via Microsoft·12:46 PM
DescriptionSeverity

Frequently Asked Questions

1

What is the severity of CVE-2025-37842?

CVE-2025-37842 is classified with a medium severity level due to potential resource management issues.

2

How do I fix CVE-2025-37842?

To fix CVE-2025-37842, update the Linux kernel to a version that implements the devm API for better resource handling.

3

What systems are affected by CVE-2025-37842?

CVE-2025-37842 affects systems running vulnerable versions of the Linux kernel that utilize the fsl-qspi driver.

4

What type of vulnerability is CVE-2025-37842?

CVE-2025-37842 is a resource management vulnerability related to driver handling in the Linux kernel.

5

Is there a known exploit for CVE-2025-37842?

As of now, there are no public exploits reported for CVE-2025-37842.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203