diff options
| author | Anirudh Rayabharam <mail@anirudhrb.com> | 2021-06-24 00:10:29 +0530 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-10-06 15:31:28 +0200 |
| commit | 764ac04de056801dfe52a716da63f6e7018e7f3b (patch) | |
| tree | ffde3937ae6386156acf9dd0ce12dbaf4ef69717 /include/linux | |
| parent | c4bc456cb5b028e6a2a63e5d54b9f08e827c0504 (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')
0 files changed, 0 insertions, 0 deletions
