Bluetooth: hci_sync: fix race in hci_cmd_sync_dequeue_once
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Fix
- Fixed in 6.1.159, 6.6.117, 6.9, 6.12.58, 6.17.8
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
- Exploitation: none
- Automatable: no
- Technical impact: total
Summary
In the Linux kernel, the following vulnerability has been resolved: Bluetooth: hci_sync: fix race in hci_cmd_sync_dequeue_once hci_cmd_sync_dequeue_once() does lookup and then cancel the entry under two separate lock sections. Meanwhile, hci_cmd_sync_work() can also delete the same entry, leading to double list_del() and "UAF". Fix this by holding cmd_sync_work_lock across both lookup and cancel, so that the entry cannot be removed concurrently.
Timeline
- CVE published
- CISA SSVC assessment
Exploitation: none · Automatable: no · Technical impact: total
- Record last updated
Affected versions
- Linux Linux
From f00f36db76eb8fd10d13e80e2590f23b5beaa54d · fixed in 0a94f7e017438935c09ef833a1aa908ad9875213; From 1499f79995c7ee58e3bfeeff75f6d1b37dcda881 · fixed in 932c0a4f77ac13e526fdd5b42914d29c9821d389; From 505ea2b295929e7be2b4e1bc86ee31cb7862fb01 · fixed in ae76cf6c2c842944c6514c57df54d728f1916553; From 505ea2b295929e7be2b4e1bc86ee31cb7862fb01 · fixed in 9cd536970192b72257afcdfba0bfc09993e6f19c; From 505ea2b295929e7be2b4e1bc86ee31cb7862fb01 · fixed in 09b0cd1297b4dbfe736aeaa0ceeab2265f47f772; From 6.1.120 · fixed in 6.1.159; From 6.6.51 · fixed in 6.6.117; From 6.8.9 · fixed in 6.9
- Linux Linux
6.9
- KernelLinux
fixed in 6.1.159; From 6.2.0 · fixed in 6.6.117; From 6.7.0 · fixed in 6.12.58; From 6.9.0 · fixed in 6.17.8