Messages in this thread | | | Subject | Re: [PATCH] Bluetooth: hci_bcsp: Fix memory leak in rx_skb | From | Marcel Holtmann <> | Date | Sat, 6 Jul 2019 13:03:21 +0200 |
| |
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 <tomasbortoli@gmail.com> > Reported-by: syzbot+98162c885993b72f19c4@syzkaller.appspotmail.com > --- > drivers/bluetooth/hci_bcsp.c | 4 ++++ > 1 file changed, 4 insertions(+)
patch has been applied to bluetooth-next tree.
Regards
Marcel
| |