# CVE-2026-98809: Bluetooth: hci_sync: don't drain cmd_sync backlog on unregister

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.17%, higher than 7% of CVEs (2026-12-01)
- Published: 2026-10-18T15:48:55.913Z
- Modified: 2026-10-30T13:21:28.643Z
- Assigned by: Linux

## Description

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

Bluetooth: hci_sync: don't drain cmd_sync backlog on unregister

hci_unregister_dev() disables cmd_work and cmd_timer, then calls
hci_cmd_sync_clear(), whose cancel_work_sync() waits for
hci_cmd_sync_work() to return. That worker dequeues and runs every
entry on cmd_sync_work_list. With cmd_work disabled nothing reaches
the controller, so each queued HCI command waits the full
HCI_CMD_TIMEOUT (2s).

The backlog has no bound. Userspace can keep queuing MGMT commands
such as MGMT_OP_GET_CLOCK_INFO against a controller that doesn't
answer. Closing /dev/vhci then blocks in vhci_release() for
backlog * 2s:

  INFO: task syz-executor:5749 blocked for more than 143 seconds.
   cancel_work_sync
   hci_cmd_sync_clear
   hci_unregister_dev
   vhci_release

In a local reproduction the backlog held more than 5000 entries,
which comes to hours of hang.

Stop the worker from taking new entries once HCI_UNREGISTER is set,
and wake any request still waiting with -ENODEV before cancelling
the work. The entries left over are destroyed with -ECANCELED by the
existing sweep in hci_cmd_sync_clear(). They stay on the list until
the work has stopped, so hci_cmd_sync_dequeue() and friends still see
them. A callback already running may still issue another command,
which delays unregister by at most one timeout per remaining command,
not by the whole backlog.

(As written by CVE List.)

## Affected

- Linux Linux: from 008ee9eb8a11bcabf12c91771dd4f470b082bd44 before b06d85b114cc5fa61809f9950bca66502e0e1173; from 008ee9eb8a11bcabf12c91771dd4f470b082bd44 before b11acfcb5925ed27fae692b27931a1ac732677fb; from 008ee9eb8a11bcabf12c91771dd4f470b082bd44 before 143bde97c4101ae68eb656c87e620c45b07a3090; from 008ee9eb8a11bcabf12c91771dd4f470b082bd44 before 7f16443a30f4e86d84ae4faf057d333b41ddb757; from 008ee9eb8a11bcabf12c91771dd4f470b082bd44 before e8ba8c9c74d1035042cdf6cb5adf8f59b9b1271c; from 008ee9eb8a11bcabf12c91771dd4f470b082bd44 before b1f24c1ab52345e810c42a1a81286cb5a7c92252; 5.17 (not affected: before 5.17; from 6.1.191 up to 6.1.*; from 6.6.160 up to 6.6.*; from 6.12.113 up to 6.12.*; from 6.18.56 up to 6.18.*; from 7.2.10 up to 7.2.*; from 7.3 up to *)

## References

- <https://git.kernel.org/stable/c/b06d85b114cc5fa61809f9950bca66502e0e1173>
- <https://git.kernel.org/stable/c/b11acfcb5925ed27fae692b27931a1ac732677fb>
- <https://git.kernel.org/stable/c/143bde97c4101ae68eb656c87e620c45b07a3090>
- <https://git.kernel.org/stable/c/7f16443a30f4e86d84ae4faf057d333b41ddb757>
- <https://git.kernel.org/stable/c/e8ba8c9c74d1035042cdf6cb5adf8f59b9b1271c>
- <https://git.kernel.org/stable/c/b1f24c1ab52345e810c42a1a81286cb5a7c92252>

## Sources

- CVE List: [CVE-2026-98809](https://www.cve.org/CVERecord?id=CVE-2026-98809), CVE Terms of Use, modified 2026-10-30
- NVD: [CVE-2026-98809](https://nvd.nist.gov/vuln/detail/CVE-2026-98809), Public domain, modified 2026-10-30

---

Page: https://cve.day/CVE-2026-98809 · Whole record: https://cve.day/CVE-2026-98809.json · Rebuilt by cve.day 2026-11-25T22:59:45.310Z
