{"id":"CVE-2022-50833","published":"2025-12-30T12:10:54Z","modified":"2026-05-23T15:25:18Z","title":"Bluetooth: use hdev->workqueue when queuing hdev->{cmd,ncmd}_timer works","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\nBluetooth: use hdev->workqueue when queuing hdev->{cmd,ncmd}_timer works\n\nsyzbot is reporting attempt to schedule hdev->cmd_work work from system_wq\nWQ into hdev->workqueue WQ which is under draining operation [1], for\ncommit c8efcc2589464ac7 (\"workqueue: allow chained queueing during\ndestruction\") does not allow such operation.\n\nThe check introduced by commit 877afadad2dce8aa (\"Bluetooth: When HCI work\nqueue is drained, only queue chained work\") was incomplete.\n\nUse hdev->workqueue WQ when queuing hdev->{cmd,ncmd}_timer works because\nhci_{cmd,ncmd}_timeout() calls queue_work(hdev->workqueue). Also, protect\nthe queuing operation with RCU read lock in order to avoid calling\nqueue_delayed_work() after cancel_delayed_work() completed.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.00235,"percentile":0.14335,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/c4635cf3d845a7324c25c52d549b70c8bd7ad4c7","tags":[]},{"url":"https://git.kernel.org/stable/c/3c6b036fe5c8ed8b6c4cbdc03605929882907ef0","tags":[]},{"url":"https://git.kernel.org/stable/c/deee93d13d385103205879a8a0915036ecd83261","tags":[]}],"priority":{"score":2.9,"factors":[{"name":"EPSS percentile","points":2.87}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= 3b382555706558f5c0587862b6dc03e96a252bba, < c4635cf3d845a7324c25c52d549b70c8bd7ad4c7",">= 877afadad2dce8aae1f2aad8ce47e072d4f6165e, < 3c6b036fe5c8ed8b6c4cbdc03605929882907ef0",">= 877afadad2dce8aae1f2aad8ce47e072d4f6165e, < deee93d13d385103205879a8a0915036ecd83261","4bf367fa1fefabdf14938d0ac9ed60020389112e",">= 5.19.2, < 5.19.15",">= 5.18.18, < 5.19"]},{"vendor":"Linux","product":"Linux","versions":["6.0"]}],"euvd":{"id":"EUVD-2022-55865","exploited":false,"provenance":"source"}}