aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/scripts/Makefile.thinlto
diff options
context:
space:
mode:
authorPauli Virtanen <pav@iki.fi>2026-08-16 13:26:21 +0300
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>2026-10-14 13:19:21 -0400
commit82934ef82b061a88eaedc6929a44a35215d7466f (patch)
treec59f306e1e9f9a79863607dcc94664d5e1f64532 /scripts/Makefile.thinlto
parentBluetooth: hci_serdev: Fix use-after-free in hci_uart_unregister_device() (diff)
Bluetooth: hci_core: add lockdep check to hci_conn lookups
Add lockdep check for RCU || hdev->lock in hci_conn_hash lookups that return hci_conn pointer, as dereferencing that without locks can be TOCTOU issue. It used to be several callsites did not hold appropriate locks. The check is equivalent to removing rcu_read_lock() and doing instead list_for_each_entry_rcu(c, &h->list, list, lockdep_is_held(&hdev->lock)) Although there should not be any remaining callsites without locks, don't remove the rcu_read_lock() for now, and just add the warning here. Signed-off-by: Pauli Virtanen <pav@iki.fi> Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions