Re: [PATCH] Bluetooth: hci_bcsp: Fix memory leak in rx_skb

2019-07-06 Thread Marcel Holtmann
Hi Tomas, > Syzkaller found that it is possible to provoke a memory leak by > never freeing rx_skb in struct bcsp_struct. > > Fix by freeing in bcsp_close() > > Signed-off-by: Tomas Bortoli > Reported-by: syzbot+98162c885993b72f1...@syzkaller.appspotmail.com > --- > drivers/bluetooth/hci_bcsp.c

[PATCH] Bluetooth: hci_bcsp: Fix memory leak in rx_skb

2019-05-28 Thread Tomas Bortoli
Syzkaller found that it is possible to provoke a memory leak by never freeing rx_skb in struct bcsp_struct. Fix by freeing in bcsp_close() Signed-off-by: Tomas Bortoli Reported-by: syzbot+98162c885993b72f1...@syzkaller.appspotmail.com --- drivers/bluetooth/hci_bcsp.c | 4 1 file changed, 4