{"id":"CVE-2026-98809","aliases":["CVE-2026-98809"],"related":[],"kind":"vulnerability","state":"published","title":"Bluetooth: hci_sync: don't drain cmd_sync backlog on unregister","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nBluetooth: hci_sync: don't drain cmd_sync backlog on unregister\n\nhci_unregister_dev() disables cmd_work and cmd_timer, then calls\nhci_cmd_sync_clear(), whose cancel_work_sync() waits for\nhci_cmd_sync_work() to return. That worker dequeues and runs every\nentry on cmd_sync_work_list. With cmd_work disabled nothing reaches\nthe controller, so each queued HCI command waits the full\nHCI_CMD_TIMEOUT (2s).\n\nThe backlog has no bound. Userspace can keep queuing MGMT commands\nsuch as MGMT_OP_GET_CLOCK_INFO against a controller that doesn't\nanswer. Closing /dev/vhci then blocks in vhci_release() for\nbacklog * 2s:\n\n  INFO: task syz-executor:5749 blocked for more than 143 seconds.\n   cancel_work_sync\n   hci_cmd_sync_clear\n   hci_unregister_dev\n   vhci_release\n\nIn a local reproduction the backlog held more than 5000 entries,\nwhich comes to hours of hang.\n\nStop the worker from taking new entries once HCI_UNREGISTER is set,\nand wake any request still waiting with -ENODEV before cancelling\nthe work. The entries left over are destroyed with -ECANCELED by the\nexisting sweep in hci_cmd_sync_clear(). They stay on the list until\nthe work has stopped, so hci_cmd_sync_dequeue() and friends still see\nthem. A callback already running may still issue another command,\nwhich delays unregister by at most one timeout per remaining command,\nnot by the whole backlog.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nBluetooth: hci_sync: don't drain cmd_sync backlog on unregister\n\nhci_unregister_dev() disables cmd_work and cmd_timer, then calls\nhci_cmd_sync_clear(), whose cancel_work_sync() waits for\nhci_cmd_sync_work() to return. That worker dequeues and runs every\nentry on cmd_sync_work_list. With cmd_work disabled nothing reaches\nthe controller, so each queued HCI command waits the full\nHCI_CMD_TIMEOUT (2s).\n\nThe backlog has no bound. Userspace can keep queuing MGMT commands\nsuch as MGMT_OP_GET_CLOCK_INFO against a controller that doesn't\nanswer. Closing /dev/vhci then blocks in vhci_release() for\nbacklog * 2s:\n\n  INFO: task syz-executor:5749 blocked for more than 143 seconds.\n   cancel_work_sync\n   hci_cmd_sync_clear\n   hci_unregister_dev\n   vhci_release\n\nIn a local reproduction the backlog held more than 5000 entries,\nwhich comes to hours of hang.\n\nStop the worker from taking new entries once HCI_UNREGISTER is set,\nand wake any request still waiting with -ENODEV before cancelling\nthe work. The entries left over are destroyed with -ECANCELED by the\nexisting sweep in hci_cmd_sync_clear(). They stay on the list until\nthe work has stopped, so hci_cmd_sync_dequeue() and friends still see\nthem. A callback already running may still issue another command,\nwhich delays unregister by at most one timeout per remaining command,\nnot by the whole backlog.","source":"cvelist"}],"published":"2026-10-18T15:48:55.913Z","modified":"2026-10-30T13:21:28.643Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"008ee9eb8a11bcabf12c91771dd4f470b082bd44","fixed":"b06d85b114cc5fa61809f9950bca66502e0e1173","status":"affected"},{"type":"git","introduced":"008ee9eb8a11bcabf12c91771dd4f470b082bd44","fixed":"b11acfcb5925ed27fae692b27931a1ac732677fb","status":"affected"},{"type":"git","introduced":"008ee9eb8a11bcabf12c91771dd4f470b082bd44","fixed":"143bde97c4101ae68eb656c87e620c45b07a3090","status":"affected"},{"type":"git","introduced":"008ee9eb8a11bcabf12c91771dd4f470b082bd44","fixed":"7f16443a30f4e86d84ae4faf057d333b41ddb757","status":"affected"},{"type":"git","introduced":"008ee9eb8a11bcabf12c91771dd4f470b082bd44","fixed":"e8ba8c9c74d1035042cdf6cb5adf8f59b9b1271c","status":"affected"},{"type":"git","introduced":"008ee9eb8a11bcabf12c91771dd4f470b082bd44","fixed":"b1f24c1ab52345e810c42a1a81286cb5a7c92252","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"5.17","status":"affected"},{"type":"semver","introduced":"0","fixed":"5.17","status":"unaffected"},{"type":"semver","introduced":"6.1.191","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.160","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.113","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.56","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.2.10","lastAffected":"7.2.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.3","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/b06d85b114cc5fa61809f9950bca66502e0e1173","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/b11acfcb5925ed27fae692b27931a1ac732677fb","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/143bde97c4101ae68eb656c87e620c45b07a3090","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/7f16443a30f4e86d84ae4faf057d333b41ddb757","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/e8ba8c9c74d1035042cdf6cb5adf8f59b9b1271c","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/b1f24c1ab52345e810c42a1a81286cb5a7c92252","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-98809","url":"https://www.cve.org/CVERecord?id=CVE-2026-98809","licence":"CVE Terms of Use","modified":"2026-10-30T12:39:55.898Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-98809","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-98809","licence":"Public domain","modified":"2026-10-30T13:21:28.643Z"}],"updatedAt":"2026-11-25T22:59:45.310Z","epss":{"score":0.00173,"percentile":0.07041,"date":"2026-12-01T12:00:22.000Z"}}