summaryrefslogtreecommitdiffstats
path: root/drivers/bluetooth/dtl1_cs.c
diff options
context:
space:
mode:
authorTomas Bortoli <tomasbortoli@gmail.com>2019-11-01 21:42:44 +0100
committerMarcel Holtmann <marcel@holtmann.org>2019-11-04 15:19:02 +0100
commitcf94da6f502d8caecabd56b194541c873c8a7a3c (patch)
treeeeb6c8ad29126b87eea3880256f326ea10901a1f /drivers/bluetooth/dtl1_cs.c
parentBluetooth: hci_qca: add PM support (diff)
downloadlinux-cf94da6f502d8caecabd56b194541c873c8a7a3c.tar.xz
linux-cf94da6f502d8caecabd56b194541c873c8a7a3c.zip
Bluetooth: Fix invalid-free in bcsp_close()
Syzbot reported an invalid-free that I introduced fixing a memleak. bcsp_recv() also frees bcsp->rx_skb but never nullifies its value. Nullify bcsp->rx_skb every time it is freed. Signed-off-by: Tomas Bortoli <tomasbortoli@gmail.com> Reported-by: syzbot+a0d209a4676664613e76@syzkaller.appspotmail.com Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'drivers/bluetooth/dtl1_cs.c')
0 files changed, 0 insertions, 0 deletions