CVE-2026-143318
Last modified
CVE-2026-143318 is a vulnerability of currently unknown severity. In the Linux kernel, the following vulnerability has been resolved: Bluetooth: hci_core: Fix queuing rx_work while workqueue is drained hci_recv_frame() drops a frame unless HCI_UP or HCI_INIT is set, but the check is not synchronized with hci_dev_close_sync(). A driver can pass the check, then close clears HCI_UP, flushes rx_work and starts drain_workqueue(), and the late queue_work() of rx_work hits the draining workqueue: workqueue: cannot queue hci_rx_work on wq hci0 WARNING: kernel/workqueue.c:2352 at __queue_work+0x2c0/0x780 Call Trace: queue_work_on+0xb2/0xc0 hci_recv_frame+0x18f/0x330 vhci_write+0x174/0x240 vfs_write+0x271/0x680 ksys_write+0x7c/0x110 Skipping the queue_work() while HCI_CMD_DRAIN_WORKQUEUE is set, as done for tx_work, does not work for rx_work: the flag covers the whole close, and events still have to be received in that window, for the commands sent by hdev->shutdown() and for the reset done with HCI_QUIRK_RESET_ON_CLOSE. Run hci_recv_frame() under rcu_read_lock() and wait with synchronize_rcu() once HCI_UP has been cleared, so that every caller which still saw HCI_UP has queued its work before the workqueue is drained, and later callers drop the frame. HCI_INIT does not reopen that window.
Description
In the Linux kernel, the following vulnerability has been resolved: Bluetooth: hci_core: Fix queuing rx_work while workqueue is drained hci_recv_frame() drops a frame unless HCI_UP or HCI_INIT is set, but the check is not synchronized with hci_dev_close_sync(). A driver can pass the check, then close clears HCI_UP, flushes rx_work and starts drain_workqueue(), and the late queue_work() of rx_work hits the draining workqueue: workqueue: cannot queue hci_rx_work on wq hci0 WARNING: kernel/workqueue.c:2352 at __queue_work+0x2c0/0x780 Call Trace: queue_work_on+0xb2/0xc0 hci_recv_frame+0x18f/0x330 vhci_write+0x174/0x240 vfs_write+0x271/0x680 ksys_write+0x7c/0x110 Skipping the queue_work() while HCI_CMD_DRAIN_WORKQUEUE is set, as done for tx_work, does not work for rx_work: the flag covers the whole close, and events still have to be received in that window, for the commands sent by hdev->shutdown() and for the reset done with HCI_QUIRK_RESET_ON_CLOSE. Run hci_recv_frame() under rcu_read_lock() and wait with synchronize_rcu() once HCI_UP has been cleared, so that every caller which still saw HCI_UP has queued its work before the workqueue is drained, and later callers drop the frame. HCI_INIT does not reopen that window. Apart from the HCI_QUIRK_RESET_ON_CLOSE reset, which runs after drain_workqueue() has returned, it is only set by hci_dev_init_sync() during open, and open and close are serialized by hci_req_sync_lock. So once the grace period has ended, nothing can pass the check and queue rx_work until the drain is over. Tested in qemu with the syzbot C reproducer, one run per boot: the warning showed up on 12 of 30 boots before and on none of 42 boots after. Bringing a vhci controller up and down 50 times behaves the same with and without this change.
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | >= 76727c02c1e14a2b561b806fa1d08acc1619ad27, < 87ef531152846149fc869a271fe57ff67de42ecd; >= 76727c02c1e14a2b561b806fa1d08acc1619ad27, < f71ca96adc16bedb27f110291edbf2dc75bcf848; >= 76727c02c1e14a2b561b806fa1d08acc1619ad27, < 400485e80568b395bcf4ec94e6d85aad9aa7d162; >= 76727c02c1e14a2b561b806fa1d08acc1619ad27, < 19b4e5701712f74d005cc66a36374559e8dfd281 |
| Linux | Linux | 3.19 |
References
Timeline
- Published
- Last Modified
- Status
- Received
Frequently Asked Questions
What is CVE-2026-143318?
How severe is CVE-2026-143318?
How do I fix CVE-2026-143318?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-143312In the Linux kernel, the following vulnerability has been re…
- CVE-2026-143313In the Linux kernel, the following vulnerability has been re…
- CVE-2026-143314In the Linux kernel, the following vulnerability has been re…
- CVE-2026-143315In the Linux kernel, the following vulnerability has been re…
- CVE-2026-143316In the Linux kernel, the following vulnerability has been re…
- CVE-2026-143317In the Linux kernel, the following vulnerability has been re…
- CVE-2026-143319In the Linux kernel, the following vulnerability has been re…
- CVE-2026-14332The Ecwid by Lightspeed Ecommerce Shopping Cart WordPress pl…5.4
- CVE-2026-143320In the Linux kernel, the following vulnerability has been re…
- CVE-2026-143321In the Linux kernel, the following vulnerability has been re…
- CVE-2026-143322In the Linux kernel, the following vulnerability has been re…
- CVE-2026-143323In the Linux kernel, the following vulnerability has been re…
Are you affected by CVE-2026-143318?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
