commit | 5610740b630af69e485c128731a53c6444f1c199 | [log] [tgz] |
---|---|---|
author | Luiz Augusto von Dentz <luiz.von.dentz@intel.com> | Tue May 30 13:48:44 2023 -0700 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Wed Jun 14 10:35:26 2023 +0200 |
tree | db7e3f90d1daf5e32d026ef8bd3b96c669ecbe81 | |
parent | b221b7189f3a5f3ae40da3ba597a1ce5d55ca604 [diff] |
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>