CVE-2023-53017Published Mar 27, 2025 · Mar 27Updated Oct 28
Bluetooth: hci_sync: fix memory leak in hci_update_adv_data()
Linux
Medium5.5Fix available
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
Bluetooth: hci_sync: fix memory leak in hci_update_adv_data()
When hci_cmd_sync_queue() failed in hci_update_adv_data(), inst_ptr is not freed, which will cause memory leak, convert to use ERR_PTR/PTR_ERR to pass the instance to callback so no memory needs to be allocated.
From the CVE record · Linux
The Linux kernel's Bluetooth hci_update_adv_data() can leak memory when hci_cmd_sync_queue() fails. The input does not specify how an attacker could trigger the failure or whether access, authentication, or user interaction is required.
Engineers running Linux kernels with the affected Bluetooth code should check their versions; affected versions are not specified.