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

Published May 1, 2024
·
Updated

In the Linux kernel, the following vulnerability has been resolved:

NTB: fix possible name leak in ntbregisterdevice()

If deviceregister() fails in ntbregisterdevice(), the device name allocated by devsetname() should be freed. As per the comment in deviceregister(), callers should use putdevice() to give up the reference in the error path. So fix this by calling putdevice() in the error path so that the name can be freed in kobjectcleanup().

As a result of this, putdevice() in the error path of ntbregisterdevice() is removed and the actual error is returned.

[mani: reworded commit message]

Affected Software

6 affected componentsFixes available
debian/linux<=5.10.223-1, <=5.10.234-1
6.1.129-16.1.135-16.12.25-16.12.27-1
Linux Linux kernel>=4.2<5.15.153
Linux Linux kernel>=5.16<6.1.83
Linux Linux kernel>=6.2<6.6.23
Linux Linux kernel>=6.7<6.7.11
Linux Linux kernel>=6.8<6.8.2

Event History

May 1, 2024
CVE Published
via MITRE·01:03 PM
Data Sourced
via MITRE·01:03 PM
Description
Data Sourced
via NVD·01:15 PM
Description
Data Sourced
via NVD·01:15 PM
RemedySeverityAffected Software
Jun 8, 2024
Data Sourced
via Launchpad·12:59 AM
Description
May 2, 2025
Data Sourced
via Ubuntu·05:11 AM
RemedyDescriptionSeverityAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2023-52652?

CVE-2023-52652 has a medium severity rating due to its potential to disclose device names.

2

How do I fix CVE-2023-52652?

To fix CVE-2023-52652, you should upgrade to the latest kernel version that includes the resolution.

3

What software is affected by CVE-2023-52652?

CVE-2023-52652 affects specific versions of the Linux kernel, particularly those prior to 5.10.223-1 and including various Debian packages.

4

What is the impact of CVE-2023-52652?

The impact of CVE-2023-52652 is a potential name leak in ntb_register_device() that could expose sensitive information.

5

When was CVE-2023-52652 disclosed?

CVE-2023-52652 was disclosed alongside fixes in the Linux kernel for vulnerabilities related to device registration.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203