CVE-2023-52652: linux-libc-dev - NTB: fix possible name leak in ntb_register_device()

linux Updated 02 Oct 2025

Summary

01/05/2024
No i
Unrated
Not published

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 ↓

Free scan

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.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Your last release was probably never penetration tested Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

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 →

Share this vulnerability

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.

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 →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback