CVE-2023-52708

mmc: mmc_spi: fix error handling in mmc_spi_probe()

MEDIUM
5.5
CVSS Score
Published: May 21, 2024 at 03:22 PM UTC
Updated: June 17, 2026 at 06:43 AM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.5
Exploit prediction
EPSS 0.3%
SSVC
No known exploit

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

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

2.6.24 ≤ v < 5.10.1692.6.24 ≤ v < 5.15.952.6.24 ≤ v < 5.4.2322.6.24 ≤ v < 6.1.132.6.24 ≤ v < 6.25.11 ≤ v < 5.15.955.16 ≤ v < 6.1.135.5 ≤ v < 5.10.16915a0580ced081a0f7dc2deea8a4812bdc5e9a1096.2 rc16.2 rc26.2 rc36.2 rc46.2 rc56.2 rc66.2 rc76.2 rc8
Vendor states this is fixed in 0b3edcb24bd81b3b2e3dac89f4733bfd47d283be (fixed)
Vendor states this is fixed in 82645bf4ed02abe930a659c5fe16d593a6dbd93f (fixed)
Vendor states this is fixed in cf4c9d2ac1e42c7d18b921bec39486896645b714 (fixed)
Vendor states this is fixed in e9b488d60f51ae312006e224e03a30a151c28bdd (fixed)
Vendor states this is fixed in ecad2fafd424ffdc203b2748ded0b37e4bbecef3 (fixed)
Vendor states this is fixed in 2.6.24 (unaffected)
Vendor states this is fixed in 5.10.169 (unaffected)
Vendor states this is fixed in 5.15.95 (unaffected)
Vendor states this is fixed in 5.4.232 (unaffected)
Vendor states this is fixed in 6.1.13 (unaffected)
Vendor states this is fixed in 6.2 (unaffected)

References (5)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/0b3edcb24bd81b3b2e3dac89f4733bfd47d283be
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/82645bf4ed02abe930a659c5fe16d593a6dbd93f
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/cf4c9d2ac1e42c7d18b921bec39486896645b714
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/e9b488d60f51ae312006e224e03a30a151c28bdd
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/ecad2fafd424ffdc203b2748ded0b37e4bbecef3

SSVC — Action Prioritization

SSVCNo known exploitNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusANALYZED
CWE
CWE-476

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card