CVE-2023-52652
MEDIUMLinux Kernel 4.2-5.15.153 - Memory Leak in NTB Device Registration
Title source: llmDescription
In the Linux kernel, the following vulnerability has been resolved: NTB: fix possible name leak in ntb_register_device() If device_register() fails in ntb_register_device(), the device name allocated by dev_set_name() should be freed. As per the comment in device_register(), callers should use put_device() to give up the reference in the error path. So fix this by calling put_device() in the error path so that the name can be freed in kobject_cleanup(). As a result of this, put_device() in the error path of ntb_register_device() is removed and the actual error is returned. [mani: reworded commit message]
References (6)
Core 6
Core References
Scores
CVSS v3
5.5
EPSS
0.0027
EPSS Percentile
19.5%
Attack Vector
LOCAL
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
CISA SSVC
Vulnrichment
Exploitation
none
Automatable
no
Technical Impact
partial
Details
Status
published
Products (20)
linux/Kernel
4.2.0 - 5.15.153linux
linux/Kernel
5.16.0 - 6.1.83linux
linux/Kernel
6.2.0 - 6.6.23linux
linux/Kernel
6.7.0 - 6.7.11linux
linux/Kernel
6.8.0 - 6.8.2linux
Linux/Linux
< 4.2
Linux/Linux
4.2
Linux/Linux
5.15.153 - 5.15.*
Linux/Linux
6.1.83 - 6.1.*
Linux/Linux
6.6.23 - 6.6.*
... and 10 more
Published
May 01, 2024
Tracked Since
Feb 18, 2026