CVE-2023-53174 Details
Description
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().
A memory leak vulnerability in the SCSI core of the Linux kernel has been addressed. The issue arose when the device_add() function failed, as the allocated name was not properly freed. The vulnerability is present in the SCSI subsystem, specifically within the raid_class component. The root cause was a missing reference count decrement in the error handling path, which has now been corrected by explicitly freeing the device name and managing the reference count appropriately.
Users can upgrade to the latest version of the Linux kernel where this vulnerability has been fixed. Instructions for downloading the patched version are available on the Linux Kernel Archive.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
No SSVC data is available for this CVE.
References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://git.kernel.org/stable/c/04b5b5cb0136ce970333a9c6cec7e46adba1ea3a | kernel.org | Patch |
| https://git.kernel.org/stable/c/06c5340858011aa1195aec43a776e3185fbf7f56 | kernel.org | Patch |
| https://git.kernel.org/stable/c/43c0e16d0c5ec59398b405f4c4aa5a076e656c3f | kernel.org | Patch |
| https://git.kernel.org/stable/c/63956ad27a6882f01fea7c69e17823090f4c7b3f | kernel.org | Patch |
| https://git.kernel.org/stable/c/6bc7f4c8c27d526f968788b8a985896755b1df35 | kernel.org | Patch |
| https://git.kernel.org/stable/c/aa9a76d5ffdecd3b52ac333eb89361b0c9fe04e8 | kernel.org | Patch |
| https://git.kernel.org/stable/c/b191ff1f075c4875f11271cbf0093e6e044a12aa | kernel.org | Patch |
| https://git.kernel.org/stable/c/e12fac07f61caac9c5b186d827658b3470787619 | kernel.org | Patch |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-401 | Missing Release of Memory after Effective Lifetime | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| linux linux kernel | >= 2.6.26, < 4.14.323 >= 4.15, < 4.19.292 >= 4.20, < 5.4.254 >= 5.5, < 5.10.191 >= 5.11, < 5.15.127 >= 5.16, < 6.1.46 >= 6.2, < 6.4.11 6.5 rc1 6.5 rc2 6.5 rc3 6.5 rc4 6.5 rc5 |
CPE
Remediation
| |
Change History
3 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | kernel.org |
| Dec 2, 2025 | Initial Analysis | [email protected] |
| Sep 15, 2025 | New CVE Received | kernel.org |