NetSight
medium5.5

CVE-2023-52708

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 nee…

Impact

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'.

Affected products

VendorProductAffected versions
LinuxLinux Kernel
from 2.6.24 before 5.4.232
from 5.5 before 5.10.169
from 5.11 before 5.15.95
from 5.16 before 6.1.13
Version 6.2

Weakness classification

References