Skip to content
Commit 3673952c authored by Min Li's avatar Min Li Committed by Luiz Augusto von Dentz
Browse files

Bluetooth: Fix potential use-after-free when clear keys

Similar to commit c5d2b6fa ("Bluetooth: Fix use-after-free in
hci_remove_ltk/hci_remove_irk"). We can not access k after kfree_rcu()
call.

Fixes: d7d41682

 ("Bluetooth: Fix Suspicious RCU usage warnings")
Signed-off-by: default avatarMin Li <lm0963hack@gmail.com>
Signed-off-by: default avatarLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
parent a1f6c3ae
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment