{"id":"CVE-2026-97977","summary":"Bluetooth: btusb: Fix UAF of btusb_data by rx_work","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nBluetooth: btusb: Fix UAF of btusb_data by rx_work\n\nbtusb_close() and btusb_flush() cancel data-\u003erx_work with the\nasynchronous cancel_delayed_work(), so if btusb_rx_work() is already\nrunning on another CPU it keeps running after the cancel returns.\n\nbtusb_disconnect() calls hci_unregister_dev(), which invokes\nbtusb_close(), and then frees the btusb_data. A still running\nbtusb_rx_work() then dereferences the freed data:\n\n\twhile ((skb = skb_dequeue(&data-\u003eacl_q)))\n\t\tdata-\u003erecv_acl(data-\u003ehdev, skb);\n\nUse cancel_delayed_work_sync() instead. In btusb_close() the cancel also\nhas to happen after btusb_stop_traffic(), otherwise an URB completion\nracing with the cancel can requeue the work right after it has been\nwaited for.","modified":"2026-09-26T03:48:27.928082893Z","published":"2026-09-25T10:23:15.198Z","database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/97xxx/CVE-2026-97977.json"},"references":[{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"},{"type":"WEB","url":"https://git.kernel.org/stable/c/1c12c3117639e78940959d956519c758c57d0849"},{"type":"WEB","url":"https://git.kernel.org/stable/c/472d005622525b7be155cac99dde2252b0163bd1"},{"type":"WEB","url":"https://git.kernel.org/stable/c/93b59937bda3fffc6386c79f5544a39bc680c8e8"},{"type":"WEB","url":"https://git.kernel.org/stable/c/fa391adb9c755515a89993634745e9079e5ef37c"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/97xxx/CVE-2026-97977.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-97977"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"800fe5ec302e1ebbf5e3f891f886deecd49c7132"},{"fixed":"472d005622525b7be155cac99dde2252b0163bd1"},{"fixed":"93b59937bda3fffc6386c79f5544a39bc680c8e8"},{"fixed":"fa391adb9c755515a89993634745e9079e5ef37c"},{"fixed":"1c12c3117639e78940959d956519c758c57d0849"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-97977.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"5.17.0"},{"fixed":"6.12.111"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.13.0"},{"fixed":"6.18.53"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.19.0"},{"fixed":"7.2.7"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-97977.json"}}],"schema_version":"1.9.0"}