diff options
author | Tomas Bortoli <tomasbortoli@gmail.com> | 2019-05-28 15:42:58 +0200 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2019-07-06 13:02:38 +0200 |
commit | 4ce9146e0370fcd573f0372d9b4e5a211112567c (patch) | |
tree | fad9d7e56c2f80cf1fd74eeff93c7f2ad20f8be8 /drivers/hid/hid-input.c | |
parent | 6c595ea8b7b9d4048760c28cbccd8956acbc0762 (diff) | |
download | linux-4ce9146e0370fcd573f0372d9b4e5a211112567c.tar.bz2 |
Bluetooth: hci_bcsp: Fix memory leak in rx_skb
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
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'drivers/hid/hid-input.c')
0 files changed, 0 insertions, 0 deletions