Linux
Bluetooth: hci_sync: extend conn_hash lookup critical sections
In the Linux kernel, the following vulnerability has been resolved: Bluetooth: hci_sync: extend conn_hash lookup critical sections Using RCU-protected pointers outside the critical sections without refcount is incorrect and may result to UAF. Extend critical section to cover both hci_conn_hash lookup and use of the returned conn. Add surrounding rcu_read_lock() also when return value is not used, in preparation for RCU lockdep requirement to hci_lookup_le_connect(). This avoids concurrent deletion of the conn before we are done dereferencing it. Also, make sure to hold hdev->lock when accessing hdev->accept_list.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= eb8b860e87b296bd1874c79a668081efd00f9754, < 3f98e7f38e1bb761a9964a8851f9c08e9c23b3dd
- >= 6d0417e4e1cf66fd917f06f0454958362714ef7d, < 83b7e67698d0b93f685875ce82c8d335436834f7
- >= 6d0417e4e1cf66fd917f06f0454958362714ef7d, < 38326774df6198df0cc2744cc73bf77cb741c538
- >= 6d0417e4e1cf66fd917f06f0454958362714ef7d, < d5efd6e4b8b0634af6843178fe1a7dd2b2178a3d
- 94bf6380e936339a700c0b3171a49baf512aa70b
- >= 6.12.28, < 6.12.114
- >= 6.14.6, < 6.15
Fixed in 3f98e7f38e1bb761a9964a8851f9c08e9c23b3dd, 83b7e67698d0b93f685875ce82c8d335436834f7, 38326774df6198df0cc2744cc73bf77cb741c538, d5efd6e4b8b0634af6843178fe1a7dd2b2178a3d, 6.12.114, 6.15
- 6.15
Fixed in 0, 6.12.114, 6.18.42, 7.1.6, 7.2
Mitigation
Upgrade Linux to 3f98e7f38e1bb761a9964a8851f9c08e9c23b3dd or 83b7e67698d0b93f685875ce82c8d335436834f7 or 38326774df6198df0cc2744cc73bf77cb741c538 or d5efd6e4b8b0634af6843178fe1a7dd2b2178a3d or 6.12.114 or 6.15 or later.
Upgrade Linux to 0 or 6.12.114 or 6.18.42 or 7.1.6 or 7.2 or later.
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.