{"id":"CVE-2023-53174","aliases":["CVE-2023-53174"],"related":[],"kind":"vulnerability","state":"published","title":"scsi: core: Fix possible memory leak if device_add() fails","summary":"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().","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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().","source":"cvelist"}],"published":"2025-09-15T14:04:08.357Z","modified":"2026-11-05T21:17:17.917Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},"severities":[{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"}],"cwes":["CWE-401"],"affected":[{"ranges":[{"type":"git","introduced":"ee959b00c335d7780136c5abda37809191fe52c3","fixed":"63956ad27a6882f01fea7c69e17823090f4c7b3f","status":"affected"},{"type":"git","introduced":"ee959b00c335d7780136c5abda37809191fe52c3","fixed":"06c5340858011aa1195aec43a776e3185fbf7f56","status":"affected"},{"type":"git","introduced":"ee959b00c335d7780136c5abda37809191fe52c3","fixed":"e12fac07f61caac9c5b186d827658b3470787619","status":"affected"},{"type":"git","introduced":"ee959b00c335d7780136c5abda37809191fe52c3","fixed":"aa9a76d5ffdecd3b52ac333eb89361b0c9fe04e8","status":"affected"},{"type":"git","introduced":"ee959b00c335d7780136c5abda37809191fe52c3","fixed":"6bc7f4c8c27d526f968788b8a985896755b1df35","status":"affected"},{"type":"git","introduced":"ee959b00c335d7780136c5abda37809191fe52c3","fixed":"b191ff1f075c4875f11271cbf0093e6e044a12aa","status":"affected"},{"type":"git","introduced":"ee959b00c335d7780136c5abda37809191fe52c3","fixed":"43c0e16d0c5ec59398b405f4c4aa5a076e656c3f","status":"affected"},{"type":"git","introduced":"ee959b00c335d7780136c5abda37809191fe52c3","fixed":"04b5b5cb0136ce970333a9c6cec7e46adba1ea3a","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"2.6.26","status":"affected"},{"type":"semver","introduced":"0","fixed":"2.6.26","status":"unaffected"},{"type":"semver","introduced":"4.14.323","lastAffected":"4.14.*","status":"unaffected"},{"type":"semver","introduced":"4.19.292","lastAffected":"4.19.*","status":"unaffected"},{"type":"semver","introduced":"5.4.254","lastAffected":"5.4.*","status":"unaffected"},{"type":"semver","introduced":"5.10.191","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.127","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.46","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.4.11","lastAffected":"6.4.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.5","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"2.6.26","fixed":"4.14.323"},{"status":"affected","introduced":"4.15","fixed":"4.19.292"},{"status":"affected","introduced":"4.20","fixed":"5.4.254"},{"status":"affected","introduced":"5.5","fixed":"5.10.191"},{"status":"affected","introduced":"5.11","fixed":"5.15.127"},{"status":"affected","introduced":"5.16","fixed":"6.1.46"},{"status":"affected","introduced":"6.2","fixed":"6.4.11"},{"status":"affected","version":"6.5"},{"status":"affected","version":"6.5"},{"status":"affected","version":"6.5"},{"status":"affected","version":"6.5"},{"status":"affected","version":"6.5"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/63956ad27a6882f01fea7c69e17823090f4c7b3f","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/06c5340858011aa1195aec43a776e3185fbf7f56","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/e12fac07f61caac9c5b186d827658b3470787619","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/aa9a76d5ffdecd3b52ac333eb89361b0c9fe04e8","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/6bc7f4c8c27d526f968788b8a985896755b1df35","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/b191ff1f075c4875f11271cbf0093e6e044a12aa","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/43c0e16d0c5ec59398b405f4c4aa5a076e656c3f","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/04b5b5cb0136ce970333a9c6cec7e46adba1ea3a","tags":["patch"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-11-05T20:19:35.995Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2023-53174","url":"https://www.cve.org/CVERecord?id=CVE-2023-53174","licence":"CVE Terms of Use","modified":"2026-11-05T20:21:06.225Z"},{"source":"nvd","name":"NVD","id":"CVE-2023-53174","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-53174","licence":"Public domain","modified":"2026-11-05T21:17:17.917Z"}],"updatedAt":"2026-11-25T22:58:34.758Z","epss":{"score":0.00167,"percentile":0.06227,"date":"2026-12-01T12:00:22.000Z"}}