Bluetooth: btusb: mediatek: Fix double free of skb in coredump
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 |
|
|
6.6.306.8.96.9In the Linux kernel, the following vulnerability has been resolved:
Bluetooth: btusb: mediatek: Fix double free of skb in coredump
hci_devcd_append() would free the skb on error so the caller don't have to free it again otherwise it would cause the double free of skb.
Reported-by : Dan Carpenter <dan.carpenter@linaro.org>
From the CVE record · Linux
The Linux kernel’s Bluetooth btusb MediaTek coredump code can free an skb twice when hci_devcd_append() returns an error. The input does not establish how an attacker could trigger this or whether network access, authentication, or user interaction is required.
Engineers running Linux kernels with the Bluetooth btusb MediaTek coredump code should check their systems; affected versions were not specified.