Bluetooth: hci_sync: fix leaks when hci_cmd_sync_queue_once fails
Linux
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 leaks when hci_cmd_sync_queue_once fails
When hci_cmd_sync_queue_once() returns with error, the destroy callback will not be called.
Fix leaking references / memory on these failures.
From the CVE record · Linux
The Linux kernel's Bluetooth hci_sync code can leak memory and references when hci_cmd_sync_queue_once() returns an error, because the destroy callback is not called. The input does not establish how an attacker could trigger this condition or whether network access, authentication, or user interaction is required.
Anyone running the Linux kernel should check whether their kernel includes the Bluetooth hci_sync fix; affected versions were not provided.