Description
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 products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
Linux Linux
Default version status: unaffected
eb8b860e87b296bd1874c79a668081efd00f9754 to < 3f98e7f38e1bb761a9964a8851f9c08e9c23b3ddaffected6d0417e4e1cf66fd917f06f0454958362714ef7d to < 83b7e67698d0b93f685875ce82c8d335436834f7affected6d0417e4e1cf66fd917f06f0454958362714ef7d to < 38326774df6198df0cc2744cc73bf77cb741c538affected6d0417e4e1cf66fd917f06f0454958362714ef7d to < d5efd6e4b8b0634af6843178fe1a7dd2b2178a3daffected94bf6380e936339a700c0b3171a49baf512aa70baffected6.12.28 to < 6.12.114affected6.14.6 to < 6.15affected
Linux Linux
Default version status: affected
6.15affected0 to < 6.15unaffected6.12.114 to ≤ 6.12.*unaffected6.18.42 to ≤ 6.18.*unaffected7.1.6 to ≤ 7.1.*unaffected7.2 to ≤ *unaffected