ghsa-5w29-44gv-2g38
Vulnerability from github
Published
2024-05-21 18:31
Modified
2025-01-06 21:30
Severity ?
Details
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: [], aliases: [ "CVE-2023-52708", ], database_specific: { cwe_ids: [ "CWE-476", ], github_reviewed: false, github_reviewed_at: null, nvd_published_at: "2024-05-21T16:15:13Z", severity: "MODERATE", }, details: "In the Linux kernel, the following vulnerability has been resolved:\n\nmmc: mmc_spi: fix error handling in mmc_spi_probe()\n\nIf mmc_add_host() fails, it doesn't need to call mmc_remove_host(),\nor it will cause null-ptr-deref, because of deleting a not added\ndevice in mmc_remove_host().\n\nTo fix this, goto label 'fail_glue_init', if mmc_add_host() fails,\nand change the label 'fail_add_host' to 'fail_gpiod_request'.", id: "GHSA-5w29-44gv-2g38", modified: "2025-01-06T21:30:49Z", published: "2024-05-21T18:31:19Z", references: [ { type: "ADVISORY", url: "https://nvd.nist.gov/vuln/detail/CVE-2023-52708", }, { type: "WEB", url: "https://git.kernel.org/stable/c/0b3edcb24bd81b3b2e3dac89f4733bfd47d283be", }, { type: "WEB", url: "https://git.kernel.org/stable/c/82645bf4ed02abe930a659c5fe16d593a6dbd93f", }, { type: "WEB", url: "https://git.kernel.org/stable/c/cf4c9d2ac1e42c7d18b921bec39486896645b714", }, { type: "WEB", url: "https://git.kernel.org/stable/c/e9b488d60f51ae312006e224e03a30a151c28bdd", }, { type: "WEB", url: "https://git.kernel.org/stable/c/ecad2fafd424ffdc203b2748ded0b37e4bbecef3", }, ], schema_version: "1.4.0", severity: [ { score: "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H", type: "CVSS_V3", }, ], }
Log in or create an account to share your comment.
Security Advisory comment format.
This schema specifies the format of a comment related to a security advisory.
Title of the comment
Description of the comment
Loading…
Loading…
Loading…
Sightings
Author | Source | Type | Date |
---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
- Confirmed: The vulnerability is confirmed from an analyst perspective.
- Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
- Patched: This vulnerability was successfully patched by the user reporting the sighting.
- Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
- Not confirmed: The user expresses doubt about the veracity of the vulnerability.
- Not patched: This vulnerability was not successfully patched by the user reporting the sighting.