{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2023-53174",
        "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "state": "PUBLISHED",
        "assignerShortName": "Linux",
        "dateReserved": "2025-09-15T13:59:19.064Z",
        "datePublished": "2025-09-15T14:04:08.357Z",
        "dateUpdated": "2026-05-11T19:39:42.279Z"
    },
    "containers": {
        "cna": {
            "providerMetadata": {
                "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
                "shortName": "Linux",
                "dateUpdated": "2026-05-11T19:39:42.279Z"
            },
            "descriptions": [
                {
                    "lang": "en",
                    "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nscsi: core: Fix possible memory leak if device_add() fails\n\nIf device_add() returns error, the name allocated by dev_set_name() needs\nbe freed. As the comment of device_add() says, put_device() should be used\nto decrease the reference count in the error path. So fix this by calling\nput_device(), then the name can be freed in kobject_cleanp()."
                }
            ],
            "affected": [
                {
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "unaffected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "drivers/scsi/raid_class.c"
                    ],
                    "versions": [
                        {
                            "version": "ee959b00c335d7780136c5abda37809191fe52c3",
                            "lessThan": "63956ad27a6882f01fea7c69e17823090f4c7b3f",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "ee959b00c335d7780136c5abda37809191fe52c3",
                            "lessThan": "06c5340858011aa1195aec43a776e3185fbf7f56",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "ee959b00c335d7780136c5abda37809191fe52c3",
                            "lessThan": "e12fac07f61caac9c5b186d827658b3470787619",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "ee959b00c335d7780136c5abda37809191fe52c3",
                            "lessThan": "aa9a76d5ffdecd3b52ac333eb89361b0c9fe04e8",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "ee959b00c335d7780136c5abda37809191fe52c3",
                            "lessThan": "6bc7f4c8c27d526f968788b8a985896755b1df35",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "ee959b00c335d7780136c5abda37809191fe52c3",
                            "lessThan": "b191ff1f075c4875f11271cbf0093e6e044a12aa",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "ee959b00c335d7780136c5abda37809191fe52c3",
                            "lessThan": "43c0e16d0c5ec59398b405f4c4aa5a076e656c3f",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "ee959b00c335d7780136c5abda37809191fe52c3",
                            "lessThan": "04b5b5cb0136ce970333a9c6cec7e46adba1ea3a",
                            "status": "affected",
                            "versionType": "git"
                        }
                    ]
                },
                {
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "affected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "drivers/scsi/raid_class.c"
                    ],
                    "versions": [
                        {
                            "version": "2.6.26",
                            "status": "affected"
                        },
                        {
                            "version": "0",
                            "lessThan": "2.6.26",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "4.14.323",
                            "lessThanOrEqual": "4.14.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "4.19.292",
                            "lessThanOrEqual": "4.19.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "5.4.254",
                            "lessThanOrEqual": "5.4.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "5.10.191",
                            "lessThanOrEqual": "5.10.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "5.15.127",
                            "lessThanOrEqual": "5.15.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.1.46",
                            "lessThanOrEqual": "6.1.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.4.11",
                            "lessThanOrEqual": "6.4.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.5",
                            "lessThanOrEqual": "*",
                            "status": "unaffected",
                            "versionType": "original_commit_for_fix"
                        }
                    ]
                }
            ],
            "cpeApplicability": [
                {
                    "nodes": [
                        {
                            "operator": "OR",
                            "negate": false,
                            "cpeMatch": [
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "2.6.26",
                                    "versionEndExcluding": "4.14.323"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "2.6.26",
                                    "versionEndExcluding": "4.19.292"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "2.6.26",
                                    "versionEndExcluding": "5.4.254"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "2.6.26",
                                    "versionEndExcluding": "5.10.191"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "2.6.26",
                                    "versionEndExcluding": "5.15.127"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "2.6.26",
                                    "versionEndExcluding": "6.1.46"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "2.6.26",
                                    "versionEndExcluding": "6.4.11"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "2.6.26",
                                    "versionEndExcluding": "6.5"
                                }
                            ]
                        }
                    ]
                }
            ],
            "references": [
                {
                    "url": "https://git.kernel.org/stable/c/63956ad27a6882f01fea7c69e17823090f4c7b3f"
                },
                {
                    "url": "https://git.kernel.org/stable/c/06c5340858011aa1195aec43a776e3185fbf7f56"
                },
                {
                    "url": "https://git.kernel.org/stable/c/e12fac07f61caac9c5b186d827658b3470787619"
                },
                {
                    "url": "https://git.kernel.org/stable/c/aa9a76d5ffdecd3b52ac333eb89361b0c9fe04e8"
                },
                {
                    "url": "https://git.kernel.org/stable/c/6bc7f4c8c27d526f968788b8a985896755b1df35"
                },
                {
                    "url": "https://git.kernel.org/stable/c/b191ff1f075c4875f11271cbf0093e6e044a12aa"
                },
                {
                    "url": "https://git.kernel.org/stable/c/43c0e16d0c5ec59398b405f4c4aa5a076e656c3f"
                },
                {
                    "url": "https://git.kernel.org/stable/c/04b5b5cb0136ce970333a9c6cec7e46adba1ea3a"
                }
            ],
            "title": "scsi: core: Fix possible memory leak if device_add() fails",
            "x_generator": {
                "engine": "bippy-1.2.0"
            }
        }
    }
}