CVE-2023-53436
Last modified
CVE-2023-53436 is a medium-severity vulnerability rated 5.5/10 on the CVSS scale. 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. EPSS estimates a 0.14% chance of exploitation in the next 30 days.
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().
Metrics
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions | Update |
|---|---|---|---|
| Linux | Linux Kernel | >= 4.2, < 4.14.323 | — |
| Linux | Linux Kernel | >= 4.15, < 4.19.292 | — |
| Linux | Linux Kernel | >= 4.20, < 5.4.254 | — |
| Linux | Linux Kernel | >= 5.5, < 5.10.191 | — |
| Linux | Linux Kernel | >= 5.11, < 5.15.127 | — |
| Linux | Linux Kernel | >= 5.16, < 6.1.46 | — |
| Linux | Linux Kernel | >= 6.2, < 6.4.11 | — |
| Linux | Linux Kernel | 6.5 | Rc1 |
References
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2023-53436?
How severe is CVE-2023-53436?
How do I fix CVE-2023-53436?
Are you affected by CVE-2023-53436?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
