Shellfeed logo Shellfeed

CVE-2026-97977 · UNKNOWN

Summary: Bluetooth: btusb: Fix UAF of btusb_data by rx_work

EPSS: 0.2% probability of exploitation in the next 30 days (percentile 6.8).

Details

In the Linux kernel, the following vulnerability has been resolved:

Bluetooth: btusb: Fix UAF of btusb_data by rx_work

btusb_close() and btusb_flush() cancel data->rx_work with the
asynchronous cancel_delayed_work(), so if btusb_rx_work() is already
running on another CPU it keeps running after the cancel returns.

btusb_disconnect() calls hci_unregister_dev(), which invokes
btusb_close(), and then frees the btusb_data. A still running
btusb_rx_work() then dereferences the freed data:

while ((skb = skb_dequeue(&data->acl_q)))
data->recv_acl(data->hdev, skb);

Use cancel_delayed_work_sync() instead. In btusb_close() the cancel also
has to happen after btusb_stop_traffic(), otherwise an URB completion
racing with the cancel can requeue the work right after it has been
waited for.

Affected packages

  • GIT git.kernel.org/pub/scm/linux/kernel/git/stable/linux [800fe5ec302e1ebbf5e3f891f886deecd49c7132 – fc654a72a8d979db15e2773a481e931abaf5a9e8]
  • Linux Kernel [5.17.0 – 6.1.189] [6.2.0 – 6.6.158] [6.7.0 – 6.12.111] [6.13.0 – 6.18.53] [6.19.0 – 7.2.7]

References