Bluetooth: mgmt: hold reference for hci_conn in mgmt_pending_cmds
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel f915e74b6f18293d1d69a2a3305ef321ff7c0172, Kernel 84674dd1d3192ecb050827d3148642609c0c9dbb, Kernel b56f2ecafc08f372bf0529f9c4f3f429cb1702dc and 8 more.
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.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | >=7b445e220db9a2c58be5d09bbbd322abf1b1452a <f915e74b6f18293d1d69a2a3305ef321ff7c0172, >=7b445e220db9a2c58be5d09bbbd322abf1b1452a <84674dd1d3192ecb050827d3148642609c0c9dbb, >=7b445e220db9a2c58be5d09bbbd322abf1b1452a <b56f2ecafc08f372bf0529f9c4f3f429cb1702dc, >=7b445e220db9a2c58be5d09bbbd322abf1b1452a <d5b3b484b62bb0f4542e7622789d28871626cdf0, >=7b445e220db9a2c58be5d09bbbd322abf1b1452a <da55f570191d5d72f10c607a7043b947eb05ea46, >=7b445e220db9a2c58be5d09bbbd322abf1b1452a <ecdcb55ea1c01dda074406f38058785a69526734, =6.0 | f915e74b6f18293d1d69a2a3305ef321ff7c0172, 84674dd1d3192ecb050827d3148642609c0c9dbb, b56f2ecafc08f372bf0529f9c4f3f429cb1702dc, d5b3b484b62bb0f4542e7622789d28871626cdf0, da55f570191d5d72f10c607a7043b947eb05ea46, ecdcb55ea1c01dda074406f38058785a69526734 |
| linux-kernel: Kernel | >=6.13.0 <6.18.42, >=6.19.0 <7.1.6, >=6.2.0 <6.6.148, >=6.7.0 <6.12.101, >=6.0.0 <6.1.189 | 6.18.42, 7.1.6, 6.6.148, 6.12.101, 6.1.189 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket