Dismissed
(max. allowed matches exceeded)
Activity log
- Created & dismissed (max. allowed matches exceeded) suggestion
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.
References
Affected products
Linux
- <38326774df6198df0cc2744cc73bf77cb741c538
- ==94bf6380e936339a700c0b3171a49baf512aa70b
- <6.13
- =<*
- <6.15
- <d5efd6e4b8b0634af6843178fe1a7dd2b2178a3d
- ==6.15
- <83b7e67698d0b93f685875ce82c8d335436834f7
- <6.15
- =<6.18.*
- =<7.1.*
- ==eb8b860e87b296bd1874c79a668081efd00f9754