Bluetooth: hci_qca: Use del_timer_sync() before freeing
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
Bluetooth: hci_qca: Use del_timer_sync() before freeing
While looking at a crash report on a timer list being corrupted, which usually happens when a timer is freed while still active. This is commonly triggered by code calling del_timer() instead of del_timer_sync() just before freeing.
One possible culprit is the hci_qca driver, which does exactly that.
Eric mentioned that wake_retrans_timer could be rearmed via the work queue, so also move the destruction of the work queue before del_timer_sync().
From the CVE record · Linux
The Linux kernel’s Bluetooth hci_qca driver can free a timer while it is still active, potentially corrupting the timer list and causing a crash. The input does not establish how an attacker could trigger this, or whether access, authentication, or user interaction is required.
Engineers running Linux kernels that include the Bluetooth hci_qca driver should check their versions; affected versions are not specified.