# CVE-2023-53758: spi: atmel-quadspi: Free resources even if runtime resume failed in .remove()

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **EPSS:** 0.28% (percentile 13, 2026-11-26)
- **Published:** 2025-12-08T01:19:19.290Z
- **Modified:** 2026-06-17T06:46:01.153Z

## Who should check

- Anyone running Linux \>= 4a2f83b7f78092a6d9e98fb5573d8f4b79c56336, \< f6974fb20499e3b6522daa7aec822aac11dfcf42; \>= 4a2f83b7f78092a6d9e98fb5573d8f4b79c56336, \< 618770d4d8e40b7f8ed9eb5f210cd9164dfac47d; \>= 4a2f83b7f78092a6d9e98fb5573d8f4b79c56336, \< 77806d7c9bebe40a8cdce2b8d30fbe6511745df8; \>= 4a2f83b7f78092a6d9e98fb5573d8f4b79c56336, \< 9448bc1dee65f86c0fe64d9dea8b410af0586886
- Anyone running Linux 6.0

## Description

In the Linux kernel, the following vulnerability has been resolved:

spi: atmel-quadspi: Free resources even if runtime resume failed in .remove()

An early error exit in atmel\_qspi\_remove() doesn't prevent the device
unbind. So this results in an spi controller with an unbound parent
and unmapped register space (because devm\_ioremap\_resource() is undone).
So using the remaining spi controller probably results in an oops.

Instead unregister the controller unconditionally and only skip hardware
access and clk disable.

Also add a warning about resume failing and return zero unconditionally.
The latter has the only effect to suppress a less helpful error message by
the spi core.

## Affected and fixed versions

- Linux: \>= 4a2f83b7f78092a6d9e98fb5573d8f4b79c56336, \< f6974fb20499e3b6522daa7aec822aac11dfcf42; \>= 4a2f83b7f78092a6d9e98fb5573d8f4b79c56336, \< 618770d4d8e40b7f8ed9eb5f210cd9164dfac47d; \>= 4a2f83b7f78092a6d9e98fb5573d8f4b79c56336, \< 77806d7c9bebe40a8cdce2b8d30fbe6511745df8; \>= 4a2f83b7f78092a6d9e98fb5573d8f4b79c56336, \< 9448bc1dee65f86c0fe64d9dea8b410af0586886 (cvelist)
- Linux: 6.0 (cvelist)

## Mitigation

- Upgrade Linux to 9448bc1dee65f86c0fe64d9dea8b410af0586886 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2023-53758. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2023-53758.md
Affected: Linux >= 4a2f83b7f78092a6d9e98fb5573d8f4b79c56336, < f6974fb20499e3b6522daa7aec822aac11dfcf42; >= 4a2f83b7f78092a6d9e98fb5573d8f4b79c56336, < 618770d4d8e40b7f8ed9eb5f210cd9164dfac47d; >= 4a2f83b7f78092a6d9e98fb5573d8f4b79c56336, < 77806d7c9bebe40a8cdce2b8d30fbe6511745df8; >= 4a2f83b7f78092a6d9e98fb…
Fixed in: Linux 618770d4d8e40b7f8ed9eb5f210cd9164dfac47d, Linux 77806d7c9bebe40a8cdce2b8d30fbe6511745df8, Linux 9448bc1dee65f86c0fe64d9dea8b410af0586886

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.
```

## FAQ

### Is CVE-2023-53758 being exploited?

There is no confirmed exploitation: CVE-2023-53758 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-2023-53758?

It has no CVSS score yet. Unknown.

### Which versions are affected by CVE-2023-53758?

Linux \>= 4a2f83b7f78092a6d9e98fb5573d8f4b79c56336, \< f6974fb20499e3b6522daa7aec822aac11dfcf42; \>= 4a2f83b7f78092a6d9e98fb5573d8f4b79c56336, \< 618770d4d8e40b7f8ed9eb5f210cd9164dfac47d; \>= 4a2f83b7f78092a6d9e98fb5573d8f4b79c56336, \< 77806d7c9bebe40a8cdce2b8d30fbe6511745df8; \>= 4a2f83b7f78092a6d9e98fb5573d8f4b79c56336, \< 9448bc1dee65f86c0fe64d9dea8b410af0586886; Linux 6.0.

### Is there a fix for CVE-2023-53758?

Yes. Fixed in Linux 618770d4d8e40b7f8ed9eb5f210cd9164dfac47d, Linux 77806d7c9bebe40a8cdce2b8d30fbe6511745df8, Linux 9448bc1dee65f86c0fe64d9dea8b410af0586886. Upgrade Linux to 9448bc1dee65f86c0fe64d9dea8b410af0586886 or later.

### How do I check if I'm affected by CVE-2023-53758?

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.

## References

- other: <https://git.kernel.org/stable/c/f6974fb20499e3b6522daa7aec822aac11dfcf42>
- other: <https://git.kernel.org/stable/c/618770d4d8e40b7f8ed9eb5f210cd9164dfac47d>
- other: <https://git.kernel.org/stable/c/77806d7c9bebe40a8cdce2b8d30fbe6511745df8>
- other: <https://git.kernel.org/stable/c/9448bc1dee65f86c0fe64d9dea8b410af0586886>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2023-53758>

HTML: <https://flawdb.com/CVE-2023-53758> · JSON: <https://flawdb.com/api/v1/entries/CVE-2023-53758>
