CVE-2023-53174

MEDIUM

Linux Kernel 2.6.26-4.14.323 - Use-After-Free in SCSI Core Device Addition

Title source: llm
STIX 2.1

Description

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

Scores

CVSS v3 5.5
EPSS 0.0015
EPSS Percentile 4.1%
Attack Vector LOCAL
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Details

CWE
CWE-401
Status published
Products (20)
Linux/Linux < 2.6.26
Linux/Linux 2.6.26
Linux/Linux 4.14.323 - 4.14.*
Linux/Linux 4.19.292 - 4.19.*
Linux/Linux 5.10.191 - 5.10.*
Linux/Linux 5.15.127 - 5.15.*
Linux/Linux 5.4.254 - 5.4.*
Linux/Linux 6.1.46 - 6.1.*
Linux/Linux 6.4.11 - 6.4.*
Linux/Linux 6.5
... and 10 more
Published Sep 15, 2025
Tracked Since Feb 18, 2026