CVE-2023-52708
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…
Does this matter?
Lower severity and a low EPSS score (0.25%). Track it; it rarely justifies an emergency change on its own.
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 3.1
- 5.5 MEDIUMCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- EPSS
- 0.25% probability · 16th percentile
- CISA KEV
- Not listed
- Weakness
- CWE-476
- Affected
- linux/linux kernel
- Source
- 416baaa9-dc9f-4396-8d5f-8c081fb06d67
References
- https://git.kernel.org/stable/c/0b3edcb24bd81b3b2e3dac89f4733bfd47d283bePatch
- https://git.kernel.org/stable/c/82645bf4ed02abe930a659c5fe16d593a6dbd93fPatch
- https://git.kernel.org/stable/c/cf4c9d2ac1e42c7d18b921bec39486896645b714Patch
- https://git.kernel.org/stable/c/e9b488d60f51ae312006e224e03a30a151c28bddPatch
- https://git.kernel.org/stable/c/ecad2fafd424ffdc203b2748ded0b37e4bbecef3Patch
- https://git.kernel.org/stable/c/0b3edcb24bd81b3b2e3dac89f4733bfd47d283bePatch
- https://git.kernel.org/stable/c/82645bf4ed02abe930a659c5fe16d593a6dbd93fPatch
- https://git.kernel.org/stable/c/cf4c9d2ac1e42c7d18b921bec39486896645b714Patch
- https://git.kernel.org/stable/c/e9b488d60f51ae312006e224e03a30a151c28bddPatch
- https://git.kernel.org/stable/c/ecad2fafd424ffdc203b2748ded0b37e4bbecef3Patch
Source: NVD record, EPSS from FIRST.org, KEV from CISA. Refreshed daily.