{"id":"CVE-2023-54204","published":"2025-12-30T12:11:04Z","modified":"2026-05-11T19:57:28Z","title":"mmc: sunplus: fix return value check of mmc_add_host()","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\nmmc: sunplus: fix return value check of mmc_add_host()\n\nmmc_add_host() may return error, if we ignore its return value,\n1. the memory allocated in mmc_alloc_host() will be leaked\n2. null-ptr-deref will happen when calling mmc_remove_host()\nin remove function spmmc_drv_remove() because deleting not\nadded device.\n\nFix this by checking the return value of mmc_add_host(). Moreover,\nI fixed the error handling path of spmmc_drv_probe() to clean up.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.00245,"percentile":0.09452,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/741a951f41929f39cae70c66d86d0754d3129d0a","tags":[]},{"url":"https://git.kernel.org/stable/c/dce6d8f985fa1ef5c2af47f4f86ea65511b78656","tags":[]}],"priority":{"score":1.9,"factors":[{"name":"EPSS percentile","points":1.89}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= 4e268fed8b1861616af28f9cfb4eed8ca5d7af6c, < 741a951f41929f39cae70c66d86d0754d3129d0a",">= 4e268fed8b1861616af28f9cfb4eed8ca5d7af6c, < dce6d8f985fa1ef5c2af47f4f86ea65511b78656"]},{"vendor":"Linux","product":"Linux","versions":["6.2"]}],"euvd":{"id":"EUVD-2023-60437","exploited":false,"provenance":"source"}}