CVE-2025-37842
spi: fsl-qspi: use devm function instead of driver remove
Check your servers for CVE-2025-37842
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2025-37842 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
Description
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 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
Exploitation
EPSS 0.31%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 25.8% of all scored CVEs. Scores of 1 Dec 2026.
The assessment of CISA (SSVC, 5 Nov 2026):
- Exploitation
- none: CISA did not find evidence of exploitation or a public proof of concept
- Automatable
- no: each attack takes manual steps
- Technical impact
- partial: limited control or limited data
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from 8fcb830a00f0980ffe38d223cdd9a4d2d24da476, before 69d2d7020b9966817ffc7442ae778c29cb81813f affected from 8fcb830a00f0980ffe38d223cdd9a4d2d24da476, before 50ae352c1848cab408fb4f7d7f50c71f818bbdbf affected from 8fcb830a00f0980ffe38d223cdd9a4d2d24da476, before f68b27d82a749117d9c7d7f33fa53f46373e38e2 affected from 8fcb830a00f0980ffe38d223cdd9a4d2d24da476, before 439688dbe82baa10d4430dc3252bb5ef1183a171 affected from 8fcb830a00f0980ffe38d223cdd9a4d2d24da476, before f9bfb3a5f6f616f3eb7665c8ff3bcb9760ae33c8 affected from 8fcb830a00f0980ffe38d223cdd9a4d2d24da476, before 40369bfe717e96e26650eeecfa5a6363563df6e4
Other versions: unaffected
|
| Linux |
affected 5.2 unaffected before 5.2 unaffected from 6.1.191 up to and including 6.1.* unaffected from 6.6.105 up to and including 6.6.* unaffected from 6.12.36 up to and including 6.12.* unaffected from 6.13.12 up to and including 6.13.* unaffected from 6.14.3 up to and including 6.14.* unaffected 6.15 and later
Other versions: affected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2025-37842 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2025-37842
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2025-37842
trivy image --scanners vuln IMAGE | grep CVE-2025-37842
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://git.kernel.org/stable/c/69d2d7020b9966817ffc7442ae778c29cb81813f git.kernel.org
- https://git.kernel.org/stable/c/50ae352c1848cab408fb4f7d7f50c71f818bbdbf git.kernel.org
- https://git.kernel.org/stable/c/f68b27d82a749117d9c7d7f33fa53f46373e38e2 git.kernel.org
- https://git.kernel.org/stable/c/439688dbe82baa10d4430dc3252bb5ef1183a171 git.kernel.org
- https://git.kernel.org/stable/c/f9bfb3a5f6f616f3eb7665c8ff3bcb9760ae33c8 git.kernel.org
- https://git.kernel.org/stable/c/40369bfe717e96e26650eeecfa5a6363563df6e4 git.kernel.org
Source: the record CVE-2025-37842 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse