summaryrefslogtreecommitdiff
path: root/include/linux/cred.h
diff options
context:
space:
mode:
authorAnirudh Rayabharam <mail@anirudhrb.com>2021-06-24 00:10:29 +0530
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2021-10-06 10:23:43 +0200
commitefc5c8d29256955cc90d8d570849b2d6121ed09f (patch)
treefce626ab0eb87627602d8cdb33357539fd5ad7d7 /include/linux/cred.h
parentc3a2856d3ddd0bbf05390e411f692b7e07239cb8 (diff)
HID: usbhid: free raw_report buffers in usbhid_stop
commit f7744fa16b96da57187dc8e5634152d3b63d72de upstream. Free the unsent raw_report buffers when the device is removed. Fixes a memory leak reported by syzbot at: https://syzkaller.appspot.com/bug?id=7b4fa7cb1a7c2d3342a2a8a6c53371c8c418ab47 Reported-by: syzbot+47b26cd837ececfc666d@syzkaller.appspotmail.com Tested-by: syzbot+47b26cd837ececfc666d@syzkaller.appspotmail.com Signed-off-by: Anirudh Rayabharam <mail@anirudhrb.com> Signed-off-by: Jiri Kosina <jkosina@suse.cz> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/cred.h')
0 files changed, 0 insertions, 0 deletions