CVE-2023-52652: linux-libc-dev - NTB: fix possible name leak in ntb_register_device()
Summary
CVE-2023-52652: 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() sh... Affects linux versions 5.10.103-1 – 6.9.9-1. No fix is published. How to fix ↓
Check if this vulnerability affects your application
Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.
No signup required · Results in about 60 seconds
Background
The linux-libc-dev package is a development package for the Linux kernel. It provides the necessary header files and libraries for compiling programs that use kernel interfaces. This package is an essential component for building and running applications on Linux systems. However, a vulnerability has been discovered in the package that could lead to a name leak in the ntb_register_device() function.
Vulnerability Detail
The vulnerability in linux-libc-dev (CVE-2023-52652) arises from a failure to properly handle device registration in the ntb_register_device() function. If device_register() fails, the device name allocated by dev_set_name() is not freed, potentially leading to a name leak. This vulnerability could be exploited by an attacker to gather sensitive information or disrupt the system. The issue has been addressed by calling put_device() in the error path to free the device name.
How To Fix
No fixed version is published for this vulnerability.
Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →
Workaround
There is no known workaround for this vulnerability. It is essential to apply the provided fix by updating the linux-libc-dev package to the patched version.
Conclusion
The linux-libc-dev package is vulnerable to a name leak issue in the ntb_register_device() function. To mitigate this vulnerability, it is crucial to update the package to version 6.1.90-1 or later. Failure to address this vulnerability could result in information disclosure or system disruption. For further assistance or support in vulnerability remediation, please contact DevNack.com.
See every vulnerability recorded for linux →
FAQ
linux-libc-dev is a development package for the Linux kernel, providing header files and libraries for compiling programs that use kernel interfaces.
The vulnerability could result in a name leak, potentially leading to information disclosure or system disruption.
To fix the vulnerability, update the linux-libc-dev package to version 6.1.90-1 or later using the package manager of your Linux distribution.
No, there is no known workaround for this vulnerability. Updating the package is the recommended solution.
You can find more information about this vulnerability in the official CVE report: https://nvd.nist.gov/vuln/detail/CVE-2023-52652
Related vulnerabilities
Recent vulnerabilities recorded for linux.