Reference page — cumulative record through Wednesday, August 19, 2026 UTC. Reference pages update as the archive grows; only dated daily editions are immutable pages of record.
Linux Linux — Bluetooth: avoid hci_dev_test_and_set_flag() in mgmt_init_hdev()
AV AC PR UI S C I A CVSS EPSS %ile KEV
L H L N U H H H 7.0 .0010 1.2 —
AFFECTED
Product Versions Fixed
Linux 3f2893d3c142986aa935821460cb3adb77044722 – —
Linux 6.0 – 6.0.3
TIMELINE
Sep 16 Reserved by Linux
Sep 16 Published (CNA: Linux)
Aug 4 RESCORED — CVE-2022-50339 (Linux). CVSS 7.8 → 7 (NVD).
Description
In the Linux kernel, the following vulnerability has been resolved:
Bluetooth: avoid hci_dev_test_and_set_flag() in mgmt_init_hdev()
syzbot is again reporting attempt to cancel uninitialized work
at mgmt_index_removed() [1], for setting of HCI_MGMT flag from
mgmt_init_hdev() from hci_mgmt_cmd() from hci_sock_sendmsg() can
race with testing of HCI_MGMT flag from mgmt_index_removed() from
hci_sock_bind() due to lack of serialization via hci_dev_lock().
Since mgmt_init_hdev() is called with mgmt_chan_list_lock held, we can
safely split hci_dev_test_and_set_flag() into hci_dev_test_flag() and
hci_dev_set_flag(). Thus, in order to close this race, set HCI_MGMT flag
after INIT_DELAYED_WORK() completed.
This is a local fix based on mgmt_chan_list_lock. Lack of serialization
via hci_dev_lock() might be causing different race conditions somewhere
else. But a global fix based on hci_dev_lock() should deserve a future
patch.
Lifecycle
Complete event history — 3 events, chronological
| Date | Event | Detail |
| September 16, 2025 | Reserved | Reserved by Linux |
| September 16, 2025 | Published | Published (CNA: Linux) |
| August 4, 2026 | RESCORED | RESCORED — CVE-2022-50339 (Linux). CVSS 7.8 → 7 (NVD). |
Affected
Affected products and packages — 2 rows
| Vendor | Product / Package | Ecosystem | Version introduced | Fixed |
| Linux | Linux | — | 3f2893d3c142986aa935821460cb3adb77044722 | — |
| Linux | Linux | — | 6.0 | 6.0.3 |
About this page
This is a reference page, not a dated page of record. It assembles the complete lifecycle of CVE-2022-50339 from the CVE Program record, NVD enrichment, the CISA KEV catalog, EPSS, and OSV advisories. The box score's numbers (CVSS, EPSS, KEV status) are current as of Wednesday, August 19, 2026 UTC and are re-derived as the archive grows; only dated daily editions are immutable pages of record. The authoritative source for this identifier is cve.org.