Bug 2396498 (CVE-2023-53436) - CVE-2023-53436 kernel: scsi: snic: Fix possible memory leak if device_add() fails
Summary: CVE-2023-53436 kernel: scsi: snic: Fix possible memory leak if device_add() f...
Keywords:
Status: NEW
Alias: CVE-2023-53436
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
unspecified
unspecified
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-09-18 17:01 UTC by OSIDB Bzimport
Modified: 2025-11-26 11:00 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2025-09-18 17:01:43 UTC
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().


Note You need to log in before you can comment on or make changes to this bug.