CVE-2023-54204
mmc: sunplus: fix return value check of mmc_add_host()
Mitigation
- No fix listed yet: follow the vendor advisory.
Who should check
- Anyone running Linux >= 4e268fed8b1861616af28f9cfb4eed8ca5d7af6c, < 741a951f41929f39cae70c66d86d0754d3129d0a; >= 4e268fed8b1861616af28f9cfb4eed8ca5d7af6c, < dce6d8f985fa1ef5c2af47f4f86ea65511b78656
- Anyone running Linux 6.2
Vulnerability facts
- Affected
- Linux >= 4e268fed8b1861616af28f9cfb4eed8ca5d7af6c, < 741a951f41929f39cae70c66d86d0754d3129d0a; >= 4e268fed8b1861616af28f9cfb4eed8ca5d7af6c, < dce6d8f985fa1ef5c2af47f4f86ea65511b78656; Linux 6.2
- Fixed in
- Linux 741a951f41929f39cae70c66d86d0754d3129d0a
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Unknown
- CVSS
- Not scored yet
- EPSS
- 0.24% chance of exploitation in 30 days (percentile 9, 2026-11-26)
- Modified
Description
In the Linux kernel, the following vulnerability has been resolved: mmc: sunplus: fix return value check of mmc_add_host() mmc_add_host() may return error, if we ignore its return value, 1. the memory allocated in mmc_alloc_host() will be leaked 2. null-ptr-deref will happen when calling mmc_remove_host() in remove function spmmc_drv_remove() because deleting not added device. Fix this by checking the return value of mmc_add_host(). Moreover, I fixed the error handling path of spmmc_drv_probe() to clean up.
Affected and fixed versions
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-2023-54204. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2023-54204.md Affected: Linux >= 4e268fed8b1861616af28f9cfb4eed8ca5d7af6c, < 741a951f41929f39cae70c66d86d0754d3129d0a; >= 4e268fed8b1861616af28f9cfb4eed8ca5d7af6c, < dce6d8f985fa1ef5c2af47f4f86ea65511b78656; Linux 6.2 Fixed in: Linux 741a951f41929f39cae70c66d86d0754d3129d0a 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-2023-54204 being exploited?
There is no confirmed exploitation: CVE-2023-54204 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.24% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2023-54204?
It has no CVSS score yet. Unknown.
Which versions are affected by CVE-2023-54204?
Linux >= 4e268fed8b1861616af28f9cfb4eed8ca5d7af6c, < 741a951f41929f39cae70c66d86d0754d3129d0a; >= 4e268fed8b1861616af28f9cfb4eed8ca5d7af6c, < dce6d8f985fa1ef5c2af47f4f86ea65511b78656; Linux 6.2.
Is there a fix for CVE-2023-54204?
Yes. Fixed in Linux 741a951f41929f39cae70c66d86d0754d3129d0a. No fix listed yet: follow the vendor advisory.
How do I check if I'm affected by CVE-2023-54204?
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.