CVE-2023-53174
published 2025-09-15CVE-2023-53174: In the Linux kernel, the following vulnerability has been resolved: scsi: core: Fix possible memory leak if device_add() fails If device_add() returns error…
PriorityP416medium5.5CVSS 3.1
AVLACLPRLUINSUCNINAH
EPSS
0.15%
4.3th percentile
In the Linux kernel, the following vulnerability has been resolved:
scsi: core: Fix possible memory leak if device_add() fails
If device_add() returns error, the name allocated by dev_set_name() needs
be freed. As the comment of device_add() says, put_device() should be used
to decrease the reference count in the error path. So fix this by calling
put_device(), then the name can be freed in kobject_cleanp().
Affected
22 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | linux | < linux 6.1.52-1 (bookworm) | linux 6.1.52-1 (bookworm) |
| linux | linux | — | — |
| linux | linux | >= ee959b00c335d7780136c5abda37809191fe52c3 < 63956ad27a6882f01fea7c69e17823090f4c7b3f | 63956ad27a6882f01fea7c69e17823090f4c7b3f |
| linux | linux | >= ee959b00c335d7780136c5abda37809191fe52c3 < 06c5340858011aa1195aec43a776e3185fbf7f56 | 06c5340858011aa1195aec43a776e3185fbf7f56 |
| linux | linux | >= ee959b00c335d7780136c5abda37809191fe52c3 < e12fac07f61caac9c5b186d827658b3470787619 | e12fac07f61caac9c5b186d827658b3470787619 |
| linux | linux | >= ee959b00c335d7780136c5abda37809191fe52c3 < aa9a76d5ffdecd3b52ac333eb89361b0c9fe04e8 | aa9a76d5ffdecd3b52ac333eb89361b0c9fe04e8 |
| linux | linux | >= ee959b00c335d7780136c5abda37809191fe52c3 < 6bc7f4c8c27d526f968788b8a985896755b1df35 | 6bc7f4c8c27d526f968788b8a985896755b1df35 |
| linux | linux | >= ee959b00c335d7780136c5abda37809191fe52c3 < b191ff1f075c4875f11271cbf0093e6e044a12aa | b191ff1f075c4875f11271cbf0093e6e044a12aa |
| linux | linux | >= ee959b00c335d7780136c5abda37809191fe52c3 < 43c0e16d0c5ec59398b405f4c4aa5a076e656c3f | 43c0e16d0c5ec59398b405f4c4aa5a076e656c3f |
| linux | linux | >= ee959b00c335d7780136c5abda37809191fe52c3 < 04b5b5cb0136ce970333a9c6cec7e46adba1ea3a | 04b5b5cb0136ce970333a9c6cec7e46adba1ea3a |
| linux | linux_kernel | — | — |
| linux | linux_kernel | >= 0 < 5.10.191-1 | 5.10.191-1 |
| linux | linux_kernel | >= 0 < 6.1.52-1 | 6.1.52-1 |
| linux | linux_kernel | >= 0 < 6.4.11-1 | 6.4.11-1 |
| linux | linux_kernel | >= 0 < 6.4.11-1 | 6.4.11-1 |
| linux | linux_kernel | >= 2.6.26 < 4.14.323 | 4.14.323 |
| linux | linux_kernel | >= 4.15 < 4.19.292 | 4.19.292 |
| linux | linux_kernel | >= 4.20 < 5.4.254 | 5.4.254 |
| linux | linux_kernel | >= 5.11 < 5.15.127 | 5.15.127 |
| linux | linux_kernel | >= 5.16 < 6.1.46 | 6.1.46 |
| linux | linux_kernel | >= 5.5 < 5.10.191 | 5.10.191 |
| linux | linux_kernel | >= 6.2 < 6.4.11 | 6.4.11 |
CVSS provenance
nvdv3.15.5MEDIUMCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
osv5.5MEDIUM
vendor_debian5.5MEDIUM
vendor_redhat5.5MEDIUM
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
OSV
CVE-2023-53174: In the Linux kernel, the following vulnerability has been resolved: scsi: core: Fix possible memory leak if device_add() fails If device_add() returns
osv·2025-09-15·CVSS 5.5
CVE-2023-53174 [MEDIUM] CVE-2023-53174: In the Linux kernel, the following vulnerability has been resolved: scsi: core: Fix possible memory leak if device_add() fails If device_add() returns
In the Linux kernel, the following vulnerability has been resolved: scsi: core: Fix possible memory leak if device_add() fails If device_add() returns error, the name allocated by dev_set_name() needs be freed. As the comment of device_add() says, put_device() should be used to decrease the reference count in the error path. So fix this by calling put_device(), then the name can be freed in kobject_cleanp().
GHSA
GHSA-23fg-w3cv-jf6w: In the Linux kernel, the following vulnerability has been resolved:
scsi: core: Fix possible memory leak if device_add() fails
If device_add() retur
ghsa_unreviewed·2025-09-15
CVE-2023-53174 [MEDIUM] CWE-401 GHSA-23fg-w3cv-jf6w: In the Linux kernel, the following vulnerability has been resolved:
scsi: core: Fix possible memory leak if device_add() fails
If device_add() retur
In the Linux kernel, the following vulnerability has been resolved:
scsi: core: Fix possible memory leak if device_add() fails
If device_add() returns error, the name allocated by dev_set_name() needs
be freed. As the comment of device_add() says, put_device() should be used
to decrease the reference count in the error path. So fix this by calling
put_device(), then the name can be freed in kobject_cleanp().
Red Hat
kernel: scsi: core: Fix possible memory leak if device_add() fails
vendor_redhat·2025-09-15·CVSS 5.5
CVE-2023-53174 [MEDIUM] CWE-772 kernel: scsi: core: Fix possible memory leak if device_add() fails
kernel: scsi: core: Fix possible memory leak if device_add() fails
In the Linux kernel, the following vulnerability has been resolved:
scsi: core: Fix possible memory leak if device_add() fails
If device_add() returns error, the name allocated by dev_set_name() needs
be freed. As the comment of device_add() says, put_device() should be used
to decrease the reference count in the error path. So fix this by calling
put_device(), then the name can be freed in kobject_cleanp().
Package: kernel (Red Hat Enterprise Linux 10) - Not affected
Package: kernel (Red Hat Enterprise Linux 6) - Out of support scope
Package: kernel (Red Hat Enterprise Linux 7) - Fix deferred
Package: kernel-rt (Red Hat Enterprise Linux 7) - Fix deferred
Package: kernel (Red Hat Enterprise Linux 8) - Fix deferred
Pa
Debian
CVE-2023-53174: linux - In the Linux kernel, the following vulnerability has been resolved: scsi: core:...
vendor_debian·2023·CVSS 5.5
CVE-2023-53174 [MEDIUM] CVE-2023-53174: linux - In the Linux kernel, the following vulnerability has been resolved: scsi: core:...
In the Linux kernel, the following vulnerability has been resolved: scsi: core: Fix possible memory leak if device_add() fails If device_add() returns error, the name allocated by dev_set_name() needs be freed. As the comment of device_add() says, put_device() should be used to decrease the reference count in the error path. So fix this by calling put_device(), then the name can be freed in kobject_cleanp().
Scope: local
bookworm: resolved (fixed in 6.1.52-1)
bullseye: resolved (fixed in 5.10.191-1)
forky: resolved (fixed in 6.4.11-1)
sid: resolved (fixed in 6.4.11-1)
trixie: resolved (fixed in 6.4.11-1)
No detection rules found.
No public exploits indexed.
https://git.kernel.org/stable/c/04b5b5cb0136ce970333a9c6cec7e46adba1ea3ahttps://git.kernel.org/stable/c/06c5340858011aa1195aec43a776e3185fbf7f56https://git.kernel.org/stable/c/43c0e16d0c5ec59398b405f4c4aa5a076e656c3fhttps://git.kernel.org/stable/c/63956ad27a6882f01fea7c69e17823090f4c7b3fhttps://git.kernel.org/stable/c/6bc7f4c8c27d526f968788b8a985896755b1df35https://git.kernel.org/stable/c/aa9a76d5ffdecd3b52ac333eb89361b0c9fe04e8https://git.kernel.org/stable/c/b191ff1f075c4875f11271cbf0093e6e044a12aahttps://git.kernel.org/stable/c/e12fac07f61caac9c5b186d827658b3470787619
2025-09-15
Published