CVE-2023-53174

Source
https://nvd.nist.gov/vuln/detail/CVE-2023-53174
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-53174.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2023-53174
Downstream
Published
2025-09-15T14:15:39Z
Modified
2025-09-15T19:00:20Z
Summary
[none]
Details

In the Linux kernel, the following vulnerability has been resolved:

scsi: core: Fix possible memory leak if device_add() fails

If deviceadd() returns error, the name allocated by devsetname() needs be freed. As the comment of deviceadd() says, putdevice() should be used to decrease the reference count in the error path. So fix this by calling putdevice(), then the name can be freed in kobject_cleanp().

References

Affected packages