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

No history.

cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published: 2024-05-21T15:22:55.975Z

Updated: 2024-11-04T14:51:35.567Z

Reserved: 2024-03-07T14:49:46.892Z

Link: CVE-2023-52708

cve-icon Vulnrichment

Updated: 2024-08-02T23:11:36.045Z

cve-icon NVD

Status : Awaiting Analysis

Published: 2024-05-21T16:15:13.080

Modified: 2024-11-21T08:40:24.640

Link: CVE-2023-52708

cve-icon Redhat

Severity : Low

Publid Date: 2024-05-21T00:00:00Z

Links: CVE-2023-52708 - Bugzilla