Bluetooth: btusb: fix use-after-free on marvell probe failure
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ a4ccc9e33d2f01532bcceb621ea06bbf4db6efac · < a7e941a395711791c7e98d9870c6562c2c9e9ef2| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
Bluetooth: btusb: fix use-after-free on marvell probe failure
Make sure to stop any TX URBs submitted during Marvell OOB wakeup configuration on later probe failures to avoid use-after-free in the completion callback.
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 btusb driver can use freed memory in a completion callback if a Marvell Bluetooth probe fails after TX URBs are submitted during out-of-band wakeup configuration. The input does not establish whether an attacker can trigger this condition, or specify network or local access, authentication, or user-interaction requirements.
Anyone running a Linux kernel with Marvell Bluetooth support in btusb should check their kernel version; affected versions are not specified.