Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2025-37842

MEDIUM 5.5EPSS 13%

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

Mitigation

  • Upgrade Linux to 40369bfe717e96e26650eeecfa5a6363563df6e4 or later.

Who should check

  • Anyone running Linux >= 8fcb830a00f0980ffe38d223cdd9a4d2d24da476, < 69d2d7020b9966817ffc7442ae778c29cb81813f; >= 8fcb830a00f0980ffe38d223cdd9a4d2d24da476, < 50ae352c1848cab408fb4f7d7f50c71f818bbdbf; >= 8fcb830a00f0980ffe38d223cdd9a4d2d24da476, < f68b27d82a749117d9c7d7f33fa53f46373e38e2; >= 8fcb830a00f0980ffe38d223cdd9a4d2d24da476, < 439688dbe82baa10d4430dc3252bb5ef1183a171; >= 8fcb830a00f0980ffe38d223cdd9a4d2d24da476, < f9bfb3a5f6f616f3eb7665c8ff3bcb9760ae33c8; >= 8fcb830a00f0980ffe38d223cdd9a4d2d24da476, < 40369bfe717e96e26650eeecfa5a6363563df6e4
  • Anyone running Linux 5.2

Vulnerability facts

Affected
Linux >= 8fcb830a00f0980ffe38d223cdd9a4d2d24da476, < 69d2d7020b9966817ffc7442ae778c29cb81813f; >= 8fcb830a00f0980ffe38d223cdd9a4d2d24da476, < 50ae352c1848cab408fb4f7d7f50c71f818bbdbf; >= 8fcb830a00f0980ffe38d223cdd9a4d2d24da476, < f68b27d82a749117d9c7d7f33fa53f46373e38e2; >= 8fcb830a00f0980ffe38d223cdd9a4d2d24da476, < 439688dbe82baa10d4430dc3252bb5ef1183a171; >= 8fcb830a00f0980ffe38d223cdd9a4d2d24da476, < f9bfb3a5f6f616f3eb7665c8ff3bcb9760ae33c8; >= 8fcb830a00f0980ffe38d223cdd9a4d2d24da476, < 40369bfe717e96e26650eeecfa5a6363563df6e4; Linux 5.2
Fixed in
Linux 69d2d7020b9966817ffc7442ae778c29cb81813f, Linux 50ae352c1848cab408fb4f7d7f50c71f818bbdbf, Linux 439688dbe82baa10d4430dc3252bb5ef1183a171, Linux 40369bfe717e96e26650eeecfa5a6363563df6e4
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Not remotely exploitable (local or adjacent access needed)
CVSS
5.5 (v3.1, NVD)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
  • Attack vector: Local
  • Attack complexity: Low
  • Privileges required: Low
  • User interaction: None
  • Scope: Unchanged
  • Confidentiality impact: None
  • Integrity impact: None
  • Availability impact: High
EPSS
0.28% chance of exploitation in 30 days (percentile 13, 2026-11-26)
Published
Modified

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

Affected and fixed versions

Package / productAffectedFixedSource
Linux>= 8fcb830a00f0980ffe38d223cdd9a4d2d24da476, < 69d2d7020b9966817ffc7442ae778c29cb81813f; >= 8fcb830a00f0980ffe38d223cdd9a4d2d24da476, < 50ae352c1848cab408fb4f7d7f50c71f818bbdbf; >= 8fcb830a00f0980ffe38d223cdd9a4d2d24da476, < f68b27d82a749117d9c7d7f33fa53f46373e38e2; >= 8fcb830a00f0980ffe38d223cdd9a4d2d24da476, < 439688dbe82baa10d4430dc3252bb5ef1183a171; >= 8fcb830a00f0980ffe38d223cdd9a4d2d24da476, < f9bfb3a5f6f616f3eb7665c8ff3bcb9760ae33c8; >= 8fcb830a00f0980ffe38d223cdd9a4d2d24da476, < 40369bfe717e96e26650eeecfa5a6363563df6e4—cvelist
Linux5.2—cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

Check whether anything I run is affected by CVE-2025-37842. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2025-37842.md
Affected: Linux >= 8fcb830a00f0980ffe38d223cdd9a4d2d24da476, < 69d2d7020b9966817ffc7442ae778c29cb81813f; >= 8fcb830a00f0980ffe38d223cdd9a4d2d24da476, < 50ae352c1848cab408fb4f7d7f50c71f818bbdbf; >= 8fcb830a00f0980ffe38d223cdd9a4d2d24da476, < f68b27d82a749117d9c7d7f33fa53f46373e38e2; >= 8fcb830a00f0980ffe38d22…
Fixed in: Linux 69d2d7020b9966817ffc7442ae778c29cb81813f, Linux 50ae352c1848cab408fb4f7d7f50c71f818bbdbf, Linux 439688dbe82baa10d4430dc3252bb5ef1183a171, Linux 40369bfe717e96e26650eeecfa5a6363563df6e4

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.

References

FAQ

Is CVE-2025-37842 being exploited?

There is no confirmed exploitation: CVE-2025-37842 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.28% chance of exploitation in the next 30 days (as of 2026-11-26).

How serious is CVE-2025-37842?

Medium: CVSS 5.5 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).

Which versions are affected by CVE-2025-37842?

Linux >= 8fcb830a00f0980ffe38d223cdd9a4d2d24da476, < 69d2d7020b9966817ffc7442ae778c29cb81813f; >= 8fcb830a00f0980ffe38d223cdd9a4d2d24da476, < 50ae352c1848cab408fb4f7d7f50c71f818bbdbf; >= 8fcb830a00f0980ffe38d223cdd9a4d2d24da476, < f68b27d82a749117d9c7d7f33fa53f46373e38e2; >= 8fcb830a00f0980ffe38d223cdd9a4d2d24da476, < 439688dbe82baa10d4430dc3252bb5ef1183a171; >= 8fcb830a00f0980ffe38d223cdd9a4d2d24da476, < f9bfb3a5f6f616f3eb7665c8ff3bcb9760ae33c8; >= 8fcb830a00f0980ffe38d223cdd9a4d2d24da476, < 40369bfe717e96e26650eeecfa5a6363563df6e4; Linux 5.2.

Is there a fix for CVE-2025-37842?

Yes. Fixed in Linux 69d2d7020b9966817ffc7442ae778c29cb81813f, Linux 50ae352c1848cab408fb4f7d7f50c71f818bbdbf, Linux 439688dbe82baa10d4430dc3252bb5ef1183a171, Linux 40369bfe717e96e26650eeecfa5a6363563df6e4. Upgrade Linux to 40369bfe717e96e26650eeecfa5a6363563df6e4 or later.

How do I check if I'm affected by CVE-2025-37842?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

Sponsors