diff options
author | Anirudh Rayabharam <mail@anirudhrb.com> | 2021-06-24 00:10:29 +0530 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2021-07-28 11:31:40 +0200 |
commit | f7744fa16b96da57187dc8e5634152d3b63d72de (patch) | |
tree | fea444cb011feead7cfb79ed76489c46c3342f0a /usr | |
parent | f4abaa9eebde334045ed6ac4e564d050f1df3013 (diff) | |
download | linux-stable-f7744fa16b96da57187dc8e5634152d3b63d72de.tar.gz linux-stable-f7744fa16b96da57187dc8e5634152d3b63d72de.tar.bz2 linux-stable-f7744fa16b96da57187dc8e5634152d3b63d72de.zip |
HID: usbhid: free raw_report buffers in usbhid_stop
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>
Diffstat (limited to 'usr')
0 files changed, 0 insertions, 0 deletions