Bluetooth: mgmt: fix locking in unpair_device/disconnect_sync
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ 227a0cdf4a028a73dc256d0f5144b4808d718893 · < 16cd66443957e4ad42155c6fec401012f600c6f8| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
Bluetooth: mgmt: fix locking in unpair_device/disconnect_sync
Dereferencing RCU-protected pointers outside critical sections is invalid and may lead to UAF.
Take hdev->lock for hci_conn lookup and hci_abort_conn(). Don't use RCU to ensure the conn is fully initialized at this point.
From the CVE record · Linux
The Linux kernel's Bluetooth management code dereferences RCU-protected pointers outside critical sections in unpair_device/disconnect_sync, which may lead to use-after-free. The input does not specify what an attacker could do or whether exploitation requires network or local access, authentication, or user interaction.
Engineers running the Linux kernel should check their deployments; affected versions are not specified.