summaryrefslogtreecommitdiffstats
path: root/crypto/cast5_generic.c
diff options
context:
space:
mode:
authorLuiz Augusto von Dentz <luiz.von.dentz@intel.com>2023-04-06 09:33:09 -0700
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>2023-04-10 10:24:32 -0700
commita2a9339e1c9deb7e1e079e12e27a0265aea8421a (patch)
treee150b8893796fc828dbbfccced609ab5655d8d31 /crypto/cast5_generic.c
parentd2e4f1b1cba8742db66aaf77374cab7c0c7c8656 (diff)
downloadlinux-stable-a2a9339e1c9deb7e1e079e12e27a0265aea8421a.tar.gz
linux-stable-a2a9339e1c9deb7e1e079e12e27a0265aea8421a.tar.bz2
linux-stable-a2a9339e1c9deb7e1e079e12e27a0265aea8421a.zip
Bluetooth: L2CAP: Fix use-after-free in l2cap_disconnect_{req,rsp}
Similar to commit d0be8347c623 ("Bluetooth: L2CAP: Fix use-after-free caused by l2cap_chan_put"), just use l2cap_chan_hold_unless_zero to prevent referencing a channel that is about to be destroyed. Cc: stable@kernel.org Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com> Signed-off-by: Min Li <lm0963hack@gmail.com>
Diffstat (limited to 'crypto/cast5_generic.c')
0 files changed, 0 insertions, 0 deletions