CVE-2023-53436
scsi: snic: Fix possible memory leak if device_add() fails
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().
INFO
Published Date :
Sept. 18, 2025, 4:15 p.m.
Last Modified :
Sept. 18, 2025, 4:15 p.m.
Remotely Exploit :
No
Source :
416baaa9-dc9f-4396-8d5f-8c081fb06d67
Affected Products
The following products are affected by CVE-2023-53436
vulnerability.
Even if cvefeed.io
is aware of the exact versions of the
products
that
are
affected, the information is not represented in the table below.
No affected product recoded yet
Solution
- Call put_device() in error paths.
- Ensure name is freed in kobject_cleanp().
- Apply the provided kernel patch.
- Update the Linux kernel.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2023-53436
.
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2023-53436
is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2023-53436
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2023-53436
vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2023-53436
vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
New CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Sep. 18, 2025
Action Type Old Value New Value 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(). Added Reference https://git.kernel.org/stable/c/41320b18a0e0dfb236dba4edb9be12dba1878156 Added Reference https://git.kernel.org/stable/c/461f8ac666fa232afee5ed6420099913ec4e4ba2 Added Reference https://git.kernel.org/stable/c/58889d5ad74cbc1c9595db74e13522b58b69b0ec Added Reference https://git.kernel.org/stable/c/7723a5d5d187626c4c640842e522cf4e9e39492e Added Reference https://git.kernel.org/stable/c/789275f7c0544374d40bc8d9c81f96751a41df45 Added Reference https://git.kernel.org/stable/c/cea09922f5f75652d55b481ee34011fc7f19868b Added Reference https://git.kernel.org/stable/c/ed0acb1ee2e9322b96611635a9ca9303d15ac76c Added Reference https://git.kernel.org/stable/c/f830968d464f55e11bc9260a132fc77daa266aa3