CVE-2023-53436

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

MEDIUM
5.5
CVSS Score
Published: September 18, 2025 at 04:04 PM UTC
Updated: June 17, 2026 at 06:45 AM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.5
Exploit prediction
EPSS 0.1%
SSVC
No known exploit

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().

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

4.15 ≤ v < 4.19.2924.2 ≤ v < 4.14.3234.2 ≤ v < 4.19.2924.2 ≤ v < 5.10.1914.2 ≤ v < 5.15.1274.2 ≤ v < 5.4.2544.2 ≤ v < 6.1.464.2 ≤ v < 6.4.114.2 ≤ v < 6.54.20 ≤ v < 5.4.2545.11 ≤ v < 5.15.1275.16 ≤ v < 6.1.465.5 ≤ v < 5.10.1916.2 ≤ v < 6.4.114.26.5 rc16.5 rc26.5 rc36.5 rc46.5 rc5c8806b6c9e824f47726f2a9b7fbbe7ebf19306fa
Vendor states this is fixed in 41320b18a0e0dfb236dba4edb9be12dba1878156 (fixed)
Vendor states this is fixed in 461f8ac666fa232afee5ed6420099913ec4e4ba2 (fixed)
Vendor states this is fixed in 58889d5ad74cbc1c9595db74e13522b58b69b0ec (fixed)
Vendor states this is fixed in 7723a5d5d187626c4c640842e522cf4e9e39492e (fixed)
Vendor states this is fixed in 789275f7c0544374d40bc8d9c81f96751a41df45 (fixed)
Vendor states this is fixed in cea09922f5f75652d55b481ee34011fc7f19868b (fixed)
Vendor states this is fixed in ed0acb1ee2e9322b96611635a9ca9303d15ac76c (fixed)
Vendor states this is fixed in f830968d464f55e11bc9260a132fc77daa266aa3 (fixed)
Vendor states this is fixed in 4.14.323 (unaffected)
Vendor states this is fixed in 4.19.292 (unaffected)
Vendor states this is fixed in 4.2 (unaffected)
Vendor states this is fixed in 5.10.191 (unaffected)
Vendor states this is fixed in 5.15.127 (unaffected)
Vendor states this is fixed in 5.4.254 (unaffected)
Vendor states this is fixed in 6.1.46 (unaffected)
Vendor states this is fixed in 6.4.11 (unaffected)
Vendor states this is fixed in 6.5 (unaffected)

SSVC — Action Prioritization

SSVCNo known exploitNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

5.5MEDIUMCISA-ADP
Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-401

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card