CVEvulnerability

CVE-2023-52708

5.5 MEDIUM Published 2024-05-21 Modified 2026-06-17 Official page ↗
Status
Analyzed
Published
2024-05-21
Last modified
2026-06-17
Assigner
416baaa9-dc9f-4396-8d5f-8c081fb06d67
CVSS 3.1 ([email protected])
5.5 MEDIUM — CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Weaknesses
CWE-476

Description

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 configurations

• linux linux kernel (>= 2.6.24 < 5.4.232) • linux linux kernel (>= 5.5 < 5.10.169) • linux linux kernel (>= 5.11 < 5.15.95) • linux linux kernel (>= 5.16 < 6.1.13) • linux linux kernel 6.2

Related

Weakness · CWE (1)

  • CWE-476 NULL Pointer Dereference weakness

References