Bluetooth: btusb: fix use-after-free on registration failure
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ 9bfa35fe422c74882e27cc54450a5f76c96aad68 · < 8db0ce3de78367f61c2970c0f16d9adee8830a23| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
Bluetooth: btusb: fix use-after-free on registration failure
Make sure to release the sibling interfaces in case controller registration fails to avoid use-after-free and double-free when they are eventually disconnected.
This issue was reported by Sashiko while reviewing a fix for a wakeup source leak in the btusb probe errors paths.
From the CVE record · Linux
The Linux kernel's Bluetooth btusb driver has a use-after-free and double-free issue when controller registration fails and sibling interfaces are later disconnected. The input does not specify how an attacker could trigger the issue or whether access, authentication, or user interaction is required.
Engineers running Linux kernels with the Bluetooth btusb driver should check their exposure; affected versions are not specified.