{"id":"CVE-2023-52708","summary":"mmc: mmc_spi: fix error handling in mmc_spi_probe()","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nmmc: mmc_spi: fix error handling in mmc_spi_probe()\n\nIf mmc_add_host() fails, it doesn't need to call mmc_remove_host(),\nor it will cause null-ptr-deref, because of deleting a not added\ndevice in mmc_remove_host().\n\nTo fix this, goto label 'fail_glue_init', if mmc_add_host() fails,\nand change the label 'fail_add_host' to 'fail_gpiod_request'.","modified":"2026-04-02T09:43:15.864374Z","published":"2024-05-21T15:22:55.975Z","related":["SUSE-SU-2024:2008-1","SUSE-SU-2024:2011-1","SUSE-SU-2024:2019-1","SUSE-SU-2024:2189-1","SUSE-SU-2024:2190-1","SUSE-SU-2024:3189-1","SUSE-SU-2024:3251-1","SUSE-SU-2024:3252-1"],"database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/52xxx/CVE-2023-52708.json","cna_assigner":"Linux"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/0b3edcb24bd81b3b2e3dac89f4733bfd47d283be"},{"type":"WEB","url":"https://git.kernel.org/stable/c/82645bf4ed02abe930a659c5fe16d593a6dbd93f"},{"type":"WEB","url":"https://git.kernel.org/stable/c/cf4c9d2ac1e42c7d18b921bec39486896645b714"},{"type":"WEB","url":"https://git.kernel.org/stable/c/e9b488d60f51ae312006e224e03a30a151c28bdd"},{"type":"WEB","url":"https://git.kernel.org/stable/c/ecad2fafd424ffdc203b2748ded0b37e4bbecef3"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/52xxx/CVE-2023-52708.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-52708"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"15a0580ced081a0f7dc2deea8a4812bdc5e9a109"},{"fixed":"e9b488d60f51ae312006e224e03a30a151c28bdd"},{"fixed":"0b3edcb24bd81b3b2e3dac89f4733bfd47d283be"},{"fixed":"ecad2fafd424ffdc203b2748ded0b37e4bbecef3"},{"fixed":"82645bf4ed02abe930a659c5fe16d593a6dbd93f"},{"fixed":"cf4c9d2ac1e42c7d18b921bec39486896645b714"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-52708.json"}}],"schema_version":"1.7.5"}