In the Linux kernel, the following vulnerability has been resolved: scsi: snic: 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 give up the reference in the error path. So fix this by calling put_device(), then the name can be freed in kobject_cleanp().
History

Fri, 19 Sep 2025 09:45:00 +0000

Type Values Removed Values Added
First Time appeared Linux
Linux linux Kernel
Vendors & Products Linux
Linux linux Kernel

Fri, 19 Sep 2025 00:15:00 +0000

Type Values Removed Values Added
References
Metrics threat_severity

None

cvssV3_1

{'score': 5.5, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H'}

threat_severity

Moderate


Thu, 18 Sep 2025 16:15:00 +0000

Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: scsi: snic: 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 give up the reference in the error path. So fix this by calling put_device(), then the name can be freed in kobject_cleanp().
Title scsi: snic: Fix possible memory leak if device_add() fails
References

cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published: 2025-09-18T16:04:15.138Z

Updated: 2025-09-18T16:04:15.138Z

Reserved: 2025-09-17T14:54:09.751Z

Link: CVE-2023-53436

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2025-09-18T16:15:47.737

Modified: 2025-09-18T16:15:47.737

Link: CVE-2023-53436

cve-icon Redhat

Severity : Moderate

Publid Date: 2025-09-18T00:00:00Z

Links: CVE-2023-53436 - Bugzilla