CVE-2023-52708: mmc: mmc_spi: fix error handling in mmc_spi_probe()
Vulnerability summary
CVE-2023-52708 is a medium (CVSS 5.5) NULL Pointer Dereference vulnerability in linux. EPSS estimates a 0.25% chance of exploitation in the next 30 days, higher than 16.3% of scored vulnerabilities.
Not severe (CVSS 5.5, local access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 8 · Related 8Timeline
- 21-05-2024PublishedVulnerability first disclosed.
- 11-05-2026Last modifiedVulnerability information updated.
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'.
CVSS metrics
3 scores · 3 sources · 1 version- OSV · UbuntuEcosystem advisory · calculated5.5MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- OSV · DebianEcosystem advisory · calculated5.5MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
EPSS trend
Probability
0.25%
Chance of exploitation in the next 30 days
Percentile
16%
Versus all other CVEs
30-day change
No change 0.00 pp
From 0.25% on 04-10-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: local access, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.
Ubuntu103 products
- linuxAll versions (No fix recorded) | < 5.4.0-149.166 | < 5.15.0-72.79
- linux-allwinner-5.19All versions (No fix recorded)
- linux-awsAll versions (No fix recorded) | < 5.4.0-1102.110 | < 5.15.0-1036.40
- linux-aws-5.0All versions (No fix recorded)
- linux-aws-5.11All versions (No fix recorded)
Linux2 products
- linux≥ 15a0580ced081a0f7dc2deea8a4812bdc5e9a109, < e9b488d60f51ae312006e224e03a30a151c28bdd | ≥ 15a0580ced081a0f7dc2deea8a4812bdc5e9a109, < 0b3edcb24bd81b3b2e3dac89f4733bfd47d283be | ≥ 15a0580ced081a0f7dc2deea8a4812bdc5e9a109, < ecad2fafd424ffdc203b2748ded0b37e4bbecef3 | ≥ 15a0580ced081a0f7dc2deea8a4812bdc5e9a109, < 82645bf4ed02abe930a659c5fe16d593a6dbd93f | ≥ 15a0580ced081a0f7dc2deea8a4812bdc5e9a109, < cf4c9d2ac1e42c7d18b921bec39486896645b714 | 2.6.24
- linux_kernel≥ 2.6.24, < 5.4.232 | ≥ 5.5, < 5.10.169 | ≥ 5.11, < 5.15.95 | ≥ 5.16, < 6.1.13 | 6.2:rc1 | 6.2:rc2 | 6.2:rc3 | 6.2:rc4 | 6.2:rc5 | 6.2:rc6 | 6.2:rc7 | 6.2:rc8
Debian1 product
- linux< 6.1.15-1
3 vendors · 106 products