Luiz Augusto von Dentz 2a7e918e22 Bluetooth: Fix use-after-free in hci_remove_ltk/hci_remove_irk
commit c5d2b6fa26b5b8386a9cc902cdece3a46bef2bd2 upstream.

Similar to commit 0f7d9b31ce7a ("netfilter: nf_tables: fix use-after-free
in nft_set_catchall_destroy()"). We can not access k after kfree_rcu()
call.

Cc: stable@vger.kernel.org
Signed-off-by: Min Li <lm0963hack@gmail.com>
Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2023-06-14 11:13:06 +02:00
..
2023-06-09 10:32:26 +02:00
2023-06-14 11:13:02 +02:00
2023-03-22 13:31:28 +01:00
2023-05-17 11:50:17 +02:00
2021-07-29 15:06:49 +01:00
2021-07-29 15:06:49 +01:00