CVE-2023-52708 json
mmc: mmc_spi: fix error handling in mmc_spi_probe()
published 2024-05-21 2 y ago modified 2026-06-17 4 mo ago also EUVD-2023-57332
- cvss
- 5.5
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.3%
- EPSS 0.3% chance of exploitation in 30 days, percentile 16%
- public exploits
- 0
- none known
Summary
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'.
Patch / fix
- Linux Linux 5.4.232, 5.10.169, 5.15.95, 6.1.13, 6.2
- linux Debian 14, Debian 13, Debian 12 6.1.15-1
debian advisories DEBIAN-CVE-2023-52708
- linux Ubuntu 20.04 LTS 5.4.0-149.166
- linux Ubuntu 22.04 LTS 5.15.0-72.79
- linux-aws Ubuntu 20.04 LTS 5.4.0-1102.110
- linux-aws Ubuntu 22.04 LTS 5.15.0-1036.40
- linux-gcp Ubuntu 20.04 LTS 5.4.0-1105.114
- linux-gcp Ubuntu 22.04 LTS 5.15.0-1034.42
- linux-gke Ubuntu 22.04 LTS 5.15.0-1033.38
- linux-ibm Ubuntu 20.04 LTS 5.4.0-1049.54
ubuntu advisories UBUNTU-CVE-2023-52708
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- kernel-azure SLES for SAP 12 SP5, SLES 12 SP5 4.12.14-16.197.1
- kernel-syms-azure SLES for SAP 12 SP5, SLES 12 SP5 4.12.14-16.197.1
- kernel-source-azure SLES for SAP 12 SP5, SLES 12 SP5 4.12.14-16.197.1
- kernel-syms SLES for SAP 12 SP5, SLES 12 SP5 4.12.14-122.228.1
- kernel-source SLES for SAP 12 SP5, SLES 12 SP5 4.12.14-122.228.1
- kernel-default SLES for SAP 12 SP5, SLES 12 SP5, SLE Workstation Extension 12 SP5 +2 more 4.12.14-122.228.1
- kernel-obs-build SLE Software Development Kit 12 SP5 4.12.14-122.228.2
- kernel-rt SLE Real Time 12 SP5 4.12.14-10.200.1
suse advisories SUSE-SU-2024:3252-1SUSE-SU-2024:3251-1SUSE-SU-2024:3189-1SUSE-SU-2024:2190-1SUSE-SU-2024:2189-1SUSE-SU-2024:2019-1
- git.kernel.org/stable/c/e9b488d60f51ae312006e224e03a30a151c28bdd commit
- git.kernel.org/stable/c/0b3edcb24bd81b3b2e3dac89f4733bfd47d283be commit
- git.kernel.org/stable/c/ecad2fafd424ffdc203b2748ded0b37e4bbecef3 commit
- git.kernel.org/stable/c/82645bf4ed02abe930a659c5fe16d593a6dbd93f commit
- git.kernel.org/stable/c/cf4c9d2ac1e42c7d18b921bec39486896645b714 commit
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2023-52708 updated cvss 4.4
kernel: mmc: mmc_spi: fix error handling in mmc_spi_probe()
-
Red Hat Enterprise Linux 6 perf, kernel, python-perf, kernel-kdump, kernel-firmware, kernel-bootwrapper, +1 more Red Hat Enterprise Linux 7 perf, kernel, bpftool, kernel-rt, python-perf, kernel-kdump, +8 more Red Hat Enterprise Linux 8 perf, kernel, bpftool, kernel-rt, kernel-core, kernel-tools, +29 more Red Hat Enterprise Linux 9 rv, perf, rtla, kernel, bpftool, libperf, +83 morenot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 2 y ago
Exploit prediction
0.25% chance of exploitation in the next 30 days, higher than 16% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
Affected products
- Linux Linux
Classification
- Weakness
-
- CWE-476 NULL Pointer Dereference
- Technology feeds
References
-
git.kernel.org
/stable/c/e9b488d60f51ae312006e224e03a30a151c28bdd
patch
-
git.kernel.org
/stable/c/0b3edcb24bd81b3b2e3dac89f4733bfd47d283be
patch
-
git.kernel.org
/stable/c/ecad2fafd424ffdc203b2748ded0b37e4bbecef3
patch
-
git.kernel.org
/stable/c/82645bf4ed02abe930a659c5fe16d593a6dbd93f
patch
-
git.kernel.org
/stable/c/cf4c9d2ac1e42c7d18b921bec39486896645b714
patch
Sources
- CVE List CVE-2023-52708
- NVD CVE-2023-52708
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.