CVE-2022-50833
Bluetooth: use hdev->workqueue when queuing hdev->{cmd,ncmd}_timer works
Check your servers for CVE-2022-50833
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2022-50833 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
Description
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->cmd_work work from system_wq 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 queue_work(hdev->workqueue). Also, protect the queuing operation with RCU read lock in order to avoid calling queue_delayed_work() after cancel_delayed_work() completed.
Exploitation
EPSS 0.25%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 17.8% of all scored CVEs. Scores of 1 Dec 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from 3b382555706558f5c0587862b6dc03e96a252bba, before c4635cf3d845a7324c25c52d549b70c8bd7ad4c7 affected from 877afadad2dce8aae1f2aad8ce47e072d4f6165e, before 3c6b036fe5c8ed8b6c4cbdc03605929882907ef0 affected from 877afadad2dce8aae1f2aad8ce47e072d4f6165e, before deee93d13d385103205879a8a0915036ecd83261 affected 4bf367fa1fefabdf14938d0ac9ed60020389112e affected from 5.19.2, before 5.19.15 affected from 5.18.18, before 5.19
Other versions: unaffected
|
| Linux |
affected 6.0 unaffected before 6.0 unaffected from 5.19.15 up to and including 5.19.* unaffected from 6.0.1 up to and including 6.0.* unaffected 6.1 and later
Other versions: affected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2022-50833 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2022-50833
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2022-50833
trivy image --scanners vuln IMAGE | grep CVE-2022-50833
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://git.kernel.org/stable/c/c4635cf3d845a7324c25c52d549b70c8bd7ad4c7 git.kernel.org
- https://git.kernel.org/stable/c/3c6b036fe5c8ed8b6c4cbdc03605929882907ef0 git.kernel.org
- https://git.kernel.org/stable/c/deee93d13d385103205879a8a0915036ecd83261 git.kernel.org
Source: the record CVE-2022-50833 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse