VDB

CVE-2023-52652

CVE-2023-52652 PUBLISHED

NTB: fix possible name leak in ntb_register_device()

Reported by linux · Published May 1, 2024

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]

Affected products

VendorProductVersions
LinuxLinuxa1bd3baeb2f18b2b3d0f98ce5fdaa725149b950b, a1bd3baeb2f18b2b3d0f98ce5fdaa725149b950b, a1bd3baeb2f18b2b3d0f98ce5fdaa725149b950b
LinuxLinux4.2, 0, 5.15.153
linuxlinux_kernel4.2, 4.2, 4.2
LinuxLinux*, 4.2, 0

Timeline

  • May 1, 2024 CVE Published
  • May 2, 2024 EPSS Score (30 in total, the first dated here)
  • Oct 5, 2024 Coalition ESS Score (6 in total, the first dated here)
  • Jan 25, 2026 Security Advisory (314 in total, the first dated here)
  • Mar 30, 2026 Distribution Patch (276 in total, the first dated here)

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2023-52652
vulnetix vdb fixes CVE-2023-52652

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2023-52652/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›