{"id":"CVE-2023-52708","aliases":["CVE-2023-52708"],"related":[],"kind":"vulnerability","state":"published","title":"mmc: mmc_spi: fix error handling in mmc_spi_probe()","summary":"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'.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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'.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: mmc: mmc_spi: corrige el manejo de errores en mmc_spi_probe(). Si mmc_add_host() falla, no es necesario llamar a mmc_remove_host(), o causará null-ptr-deref, debido a la eliminación de un dispositivo no agregado en mmc_remove_host(). Para solucionar este problema, vaya a la etiqueta 'fail_glue_init', si mmc_add_host() falla, y cambie la etiqueta 'fail_add_host' a 'fail_gpiod_request'.","source":"nvd"}],"published":"2024-05-21T15:22:55.975Z","modified":"2026-06-17T06:43:23.867Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},"severities":[{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"}],"cwes":["CWE-476"],"affected":[{"ranges":[{"type":"git","introduced":"15a0580ced081a0f7dc2deea8a4812bdc5e9a109","fixed":"e9b488d60f51ae312006e224e03a30a151c28bdd","status":"affected"},{"type":"git","introduced":"15a0580ced081a0f7dc2deea8a4812bdc5e9a109","fixed":"0b3edcb24bd81b3b2e3dac89f4733bfd47d283be","status":"affected"},{"type":"git","introduced":"15a0580ced081a0f7dc2deea8a4812bdc5e9a109","fixed":"ecad2fafd424ffdc203b2748ded0b37e4bbecef3","status":"affected"},{"type":"git","introduced":"15a0580ced081a0f7dc2deea8a4812bdc5e9a109","fixed":"82645bf4ed02abe930a659c5fe16d593a6dbd93f","status":"affected"},{"type":"git","introduced":"15a0580ced081a0f7dc2deea8a4812bdc5e9a109","fixed":"cf4c9d2ac1e42c7d18b921bec39486896645b714","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"2.6.24","status":"affected"},{"type":"semver","introduced":"0","fixed":"2.6.24","status":"unaffected"},{"type":"semver","introduced":"5.4.232","lastAffected":"5.4.*","status":"unaffected"},{"type":"semver","introduced":"5.10.169","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.95","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.13","lastAffected":"6.1.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.2","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"2.6.24","fixed":"5.4.232"},{"status":"affected","introduced":"5.5","fixed":"5.10.169"},{"status":"affected","introduced":"5.11","fixed":"5.15.95"},{"status":"affected","introduced":"5.16","fixed":"6.1.13"},{"status":"affected","version":"6.2"},{"status":"affected","version":"6.2"},{"status":"affected","version":"6.2"},{"status":"affected","version":"6.2"},{"status":"affected","version":"6.2"},{"status":"affected","version":"6.2"},{"status":"affected","version":"6.2"},{"status":"affected","version":"6.2"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/e9b488d60f51ae312006e224e03a30a151c28bdd","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/0b3edcb24bd81b3b2e3dac89f4733bfd47d283be","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/ecad2fafd424ffdc203b2748ded0b37e4bbecef3","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/82645bf4ed02abe930a659c5fe16d593a6dbd93f","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/cf4c9d2ac1e42c7d18b921bec39486896645b714","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2024-05-22T18:27:42.948Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2023-52708","url":"https://www.cve.org/CVERecord?id=CVE-2023-52708","licence":"CVE Terms of Use","modified":"2026-05-11T19:32:07.025Z"},{"source":"nvd","name":"NVD","id":"CVE-2023-52708","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-52708","licence":"Public domain","modified":"2026-06-17T06:43:23.867Z"}],"updatedAt":"2026-11-25T22:58:33.989Z","epss":{"score":0.0025,"percentile":0.17469,"date":"2026-12-01T12:00:22.000Z"}}