In the Linux kernel, the following vulnerability has been resolved:
mmc: mmcspi: fix error handling in mmcspi_probe()
If mmcaddhost() fails, it doesn't need to call mmcremovehost(), or it will cause null-ptr-deref, because of deleting a not added device in mmcremovehost().
To fix this, goto label 'failglueinit', if mmcaddhost() fails, and change the label 'failaddhost' to 'failgpiodrequest'.
[
    {
        "deprecated": false,
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@0b3edcb24bd81b3b2e3dac89f4733bfd47d283be",
        "digest": {
            "function_hash": "116295711016053829482322418719242584586",
            "length": 3230.0
        },
        "target": {
            "function": "mmc_spi_probe",
            "file": "drivers/mmc/host/mmc_spi.c"
        },
        "id": "CVE-2023-52708-0fc85ed9",
        "signature_version": "v1",
        "signature_type": "Function"
    },
    {
        "deprecated": false,
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@0b3edcb24bd81b3b2e3dac89f4733bfd47d283be",
        "digest": {
            "threshold": 0.9,
            "line_hashes": [
                "245590173509076308674757999225361081967",
                "171865410566657609805851498503835380953",
                "150628951562202234599579319467834305064",
                "154411624621108770316286899771736605346",
                "269024344401419826035728973146529311125",
                "88194436344267975558374581311000074495",
                "178164105596874606037053908816790782605",
                "20301438340008510835359656214047091026",
                "191990282498328085324102383096330505191",
                "314610394993763043898468301846569239339",
                "310786253678499309237205633828685413023",
                "115434566521243191608385382799896280507",
                "305264922433621633876010518426289110571",
                "252582139533690933735175633773915896824",
                "108145237987680014463901707423479862040"
            ]
        },
        "target": {
            "file": "drivers/mmc/host/mmc_spi.c"
        },
        "id": "CVE-2023-52708-340b277f",
        "signature_version": "v1",
        "signature_type": "Line"
    },
    {
        "deprecated": false,
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@ecad2fafd424ffdc203b2748ded0b37e4bbecef3",
        "digest": {
            "function_hash": "7426757474226950860594027847070962227",
            "length": 3230.0
        },
        "target": {
            "function": "mmc_spi_probe",
            "file": "drivers/mmc/host/mmc_spi.c"
        },
        "id": "CVE-2023-52708-407349df",
        "signature_version": "v1",
        "signature_type": "Function"
    },
    {
        "deprecated": false,
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@ecad2fafd424ffdc203b2748ded0b37e4bbecef3",
        "digest": {
            "threshold": 0.9,
            "line_hashes": [
                "245590173509076308674757999225361081967",
                "171865410566657609805851498503835380953",
                "150628951562202234599579319467834305064",
                "154411624621108770316286899771736605346",
                "269024344401419826035728973146529311125",
                "88194436344267975558374581311000074495",
                "178164105596874606037053908816790782605",
                "20301438340008510835359656214047091026",
                "191990282498328085324102383096330505191",
                "314610394993763043898468301846569239339",
                "310786253678499309237205633828685413023",
                "115434566521243191608385382799896280507",
                "305264922433621633876010518426289110571",
                "252582139533690933735175633773915896824",
                "108145237987680014463901707423479862040"
            ]
        },
        "target": {
            "file": "drivers/mmc/host/mmc_spi.c"
        },
        "id": "CVE-2023-52708-74ad4c93",
        "signature_version": "v1",
        "signature_type": "Line"
    },
    {
        "deprecated": false,
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@82645bf4ed02abe930a659c5fe16d593a6dbd93f",
        "digest": {
            "function_hash": "7426757474226950860594027847070962227",
            "length": 3230.0
        },
        "target": {
            "function": "mmc_spi_probe",
            "file": "drivers/mmc/host/mmc_spi.c"
        },
        "id": "CVE-2023-52708-8b091075",
        "signature_version": "v1",
        "signature_type": "Function"
    },
    {
        "deprecated": false,
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@cf4c9d2ac1e42c7d18b921bec39486896645b714",
        "digest": {
            "function_hash": "7426757474226950860594027847070962227",
            "length": 3230.0
        },
        "target": {
            "function": "mmc_spi_probe",
            "file": "drivers/mmc/host/mmc_spi.c"
        },
        "id": "CVE-2023-52708-8b1c4bf6",
        "signature_version": "v1",
        "signature_type": "Function"
    },
    {
        "deprecated": false,
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@e9b488d60f51ae312006e224e03a30a151c28bdd",
        "digest": {
            "threshold": 0.9,
            "line_hashes": [
                "245590173509076308674757999225361081967",
                "165913735458535387690931116490190479473",
                "114300100056496962715953721047021032562",
                "214768709814779883989252677501078973058",
                "288766869048796443626702879673252666183",
                "88194436344267975558374581311000074495",
                "178164105596874606037053908816790782605",
                "100589455675725918263030423351018303534",
                "82359486233746229546139483883294498669",
                "314610394993763043898468301846569239339",
                "310786253678499309237205633828685413023",
                "115434566521243191608385382799896280507",
                "305264922433621633876010518426289110571",
                "252582139533690933735175633773915896824",
                "84434170416867801712802659161529556184"
            ]
        },
        "target": {
            "file": "drivers/mmc/host/mmc_spi.c"
        },
        "id": "CVE-2023-52708-a6699a42",
        "signature_version": "v1",
        "signature_type": "Line"
    },
    {
        "deprecated": false,
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@82645bf4ed02abe930a659c5fe16d593a6dbd93f",
        "digest": {
            "threshold": 0.9,
            "line_hashes": [
                "245590173509076308674757999225361081967",
                "171865410566657609805851498503835380953",
                "150628951562202234599579319467834305064",
                "154411624621108770316286899771736605346",
                "269024344401419826035728973146529311125",
                "88194436344267975558374581311000074495",
                "178164105596874606037053908816790782605",
                "20301438340008510835359656214047091026",
                "191990282498328085324102383096330505191",
                "314610394993763043898468301846569239339",
                "310786253678499309237205633828685413023",
                "115434566521243191608385382799896280507",
                "305264922433621633876010518426289110571",
                "252582139533690933735175633773915896824",
                "108145237987680014463901707423479862040"
            ]
        },
        "target": {
            "file": "drivers/mmc/host/mmc_spi.c"
        },
        "id": "CVE-2023-52708-c33784f3",
        "signature_version": "v1",
        "signature_type": "Line"
    },
    {
        "deprecated": false,
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@e9b488d60f51ae312006e224e03a30a151c28bdd",
        "digest": {
            "function_hash": "123558809501424437757339159002509264717",
            "length": 3938.0
        },
        "target": {
            "function": "mmc_spi_probe",
            "file": "drivers/mmc/host/mmc_spi.c"
        },
        "id": "CVE-2023-52708-d371fa32",
        "signature_version": "v1",
        "signature_type": "Function"
    },
    {
        "deprecated": false,
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@cf4c9d2ac1e42c7d18b921bec39486896645b714",
        "digest": {
            "threshold": 0.9,
            "line_hashes": [
                "245590173509076308674757999225361081967",
                "171865410566657609805851498503835380953",
                "150628951562202234599579319467834305064",
                "154411624621108770316286899771736605346",
                "269024344401419826035728973146529311125",
                "88194436344267975558374581311000074495",
                "178164105596874606037053908816790782605",
                "20301438340008510835359656214047091026",
                "191990282498328085324102383096330505191",
                "314610394993763043898468301846569239339",
                "310786253678499309237205633828685413023",
                "115434566521243191608385382799896280507",
                "305264922433621633876010518426289110571",
                "252582139533690933735175633773915896824",
                "108145237987680014463901707423479862040"
            ]
        },
        "target": {
            "file": "drivers/mmc/host/mmc_spi.c"
        },
        "id": "CVE-2023-52708-d987b4b4",
        "signature_version": "v1",
        "signature_type": "Line"
    }
]