CVE-2023-54204
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 versions
Linux kernel versions
6.2
and later are affected. Fixed in
6.4.12,
6.5
and their respective stable series.
References
The following references provide additional information about CVE-2023-54204 including vendor advisories, patch commits, exploit details, and third-party analysis. Links are sourced from the NIST NVD database.
-
PatchKernel patch commithttps://git.kernel.org/stable/c/741a951f41929f39cae70c66d86d0754d3129d0a
-
PatchKernel patch commithttps://git.kernel.org/stable/c/dce6d8f985fa1ef5c2af47f4f86ea65511b78656
Frequently asked questions
-
What is CVE-2023-54204?
CVE-2023-54204 is a unscored severity Linux kernel vulnerability . It affects Linux kernel versions from 6.2 onward and has been patched in 6.4.12 and 6.5. CVE-2023-54204 has not been confirmed as actively exploited and is not listed in the CISA KEV catalog.
-
Is there a patch available for CVE-2023-54204?
Yes — CVE-2023-54204 has been patched. Fixed versions include 6.4.12 and 6.5. If you are running Linux kernel 6.2 or later up to the fix versions, apply the relevant patch for your kernel branch.
-
Is CVE-2023-54204 actively exploited?
No — CVE-2023-54204 has not been confirmed as actively exploited. It is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog.