Bluetooth: mgmt: hold reference for hci_conn in mgmt_pending_cmds
- 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.189, 6.6.148, 6.12.101, 6.18.42, 7.1.6
- 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: mgmt: hold reference for hci_conn in mgmt_pending_cmds Dereferencing RCU-protected pointers outside critical sections is invalid and may lead to UAF. Use of hci_conn in hci_sync callbacks also needs to hold refcount to avoid UAF. Take appropriate locks for hci_conn lookups, and take refcount for hci_conn pointers stored in mgmt_pending_cmd so that the pointer stays valid. When accessing conn->state, ensure hdev->lock is held to avoid data race.
Timeline
- CVE published
- CISA SSVC assessment
Exploitation: none · Automatable: no · Technical impact: total
- Record last updated
Affected versions
- Linux Linux
From 7b445e220db9a2c58be5d09bbbd322abf1b1452a · fixed in 84674dd1d3192ecb050827d3148642609c0c9dbb; From 7b445e220db9a2c58be5d09bbbd322abf1b1452a · fixed in b56f2ecafc08f372bf0529f9c4f3f429cb1702dc; From 7b445e220db9a2c58be5d09bbbd322abf1b1452a · fixed in f915e74b6f18293d1d69a2a3305ef321ff7c0172; From 7b445e220db9a2c58be5d09bbbd322abf1b1452a · fixed in d5b3b484b62bb0f4542e7622789d28871626cdf0; From 7b445e220db9a2c58be5d09bbbd322abf1b1452a · fixed in ecdcb55ea1c01dda074406f38058785a69526734; From 7b445e220db9a2c58be5d09bbbd322abf1b1452a · fixed in da55f570191d5d72f10c607a7043b947eb05ea46
- Linux Linux
6.0
- KernelLinux
From 6.0.0 · fixed in 6.1.189; From 6.2.0 · fixed in 6.6.148; From 6.7.0 · fixed in 6.12.101; From 6.13.0 · fixed in 6.18.42; From 6.19.0 · fixed in 7.1.6