CVE-2022-50833: Bluetooth: use hdev->workqueue when queuing hdev->{cmd,ncmd}_timer works

Published Dec 30, 2025
·
Updated

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

Bluetooth: use hdev->workqueue when queuing hdev->{cmd,ncmd}timer works

syzbot is reporting attempt to schedule hdev->cmdwork work from systemwq WQ into hdev->workqueue WQ which is under draining operation [1], for commit c8efcc2589464ac7 ("workqueue: allow chained queueing during destruction") does not allow such operation.

The check introduced by commit 877afadad2dce8aa ("Bluetooth: When HCI work queue is drained, only queue chained work") was incomplete.

Use hdev->workqueue WQ when queuing hdev->{cmd,ncmd}timer works because hci{cmd,ncmd}timeout() calls queuework(hdev->workqueue). Also, protect the queuing operation with RCU read lock in order to avoid calling queuedelayedwork() after canceldelayedwork() completed.

Affected Software

8 affected componentsFixes available
linux/kernel
linux/kernel>=5.18.18<5.19
5.19
linux/kernel>=5.19.2<5.19.15
5.19.15
linux/kernel>=6.0.0<6.0.1
6.0.1
debian/linux<6.0.2-1
6.0.2-1
debian/linux<6.0.2-1
6.0.2-1
debian/linux<6.0.2-1
6.0.2-1
debian/linux
6.0.2-1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade linux/Kernel to a version that resolves this vulnerability.

    Fixed in 5.19
  2. Upgrade

    Upgrade linux/Kernel to a version that resolves this vulnerability.

    Fixed in 5.19.15
  3. Upgrade

    Upgrade linux/Kernel to a version that resolves this vulnerability.

    Fixed in 6.0.1
  4. Upgrade

    Upgrade debian/linux to a version that resolves this vulnerability.

    Fixed in 6.0.2-1
  5. Compensating control

    Queue hdev->{cmd,ncmd}_timer works on hdev->workqueue.

  6. Compensating control

    Protect the queuing operation with an RCU read lock to prevent calling queue_delayed_work() after cancel_delayed_work() has completed.

Event History

Dec 30, 2025
CVE Published
via MITRE·12:10 PM
Data Sourced
via MITRE·12:10 PM
Description
Data Sourced
via OSV·12:10 PM
DescriptionAffected Software
Data Sourced
via NVD·01:15 PM
Description
Data Sourced
via Red Hat·01:19 PM
DescriptionSeverityAffected Software

Frequently Asked Questions

1

What conditions are implicated in triggering this issue?

The issue is associated with Bluetooth HCI command or command-count timer work being queued while the device workqueue is being drained. The problematic path involves scheduling work from the system workqueue into hdev->workqueue during its destruction or draining operation.

2

What does the fix change?

The fix queues the hdev command and command-count timer work on hdev->workqueue rather than the system workqueue. It also protects delayed-work queueing with an RCU read lock to prevent queue_delayed_work() from running after cancel_delayed_work() has completed.

3

How can I determine whether my kernel includes the resolution?

Check whether your kernel source or vendor patch set includes one of the referenced stable commits: c4635cf3d845a7324c25c52d549b70c8bd7ad4c7, 3c6b036fe5c8ed8b6c4cbdc03605929882907ef0, or deee93d13d385103205879a8a0915036ecd83261.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203