Lucene search

K
osvGoogleOSV:CVE-2023-52708
HistoryMay 21, 2024 - 4:15 p.m.

CVE-2023-52708

2024-05-2116:15:00
Google
osv.dev
3
linux kernel
mmc_spi vulnerability
cve-2023-52708
error handling
mmc_add_host
mmc_remove_host
null-ptr-deref

AI Score

6.6

Confidence

Low

In the Linux kernel, the following vulnerability has been resolved: mmc: mmc_spi: fix error handling in mmc_spi_probe() If mmc_add_host() fails, it doesn’t need to call mmc_remove_host(), or it will cause null-ptr-deref, because of deleting a not added device in mmc_remove_host(). To fix this, goto label ‘fail_glue_init’, if mmc_add_host() fails, and change the label ‘fail_add_host’ to ‘fail_gpiod_request’.