diff options
| author | Anirudh Rayabharam <mail@anirudhrb.com> | 2021-06-23 21:40:29 +0300 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-10-06 16:42:39 +0300 |
| commit | 965147067fa1bedff3ae1f07ce3f89f1a14d2df3 (patch) | |
| tree | 2d459b712f935d106adc5a7c528c9648ed123ef5 /scripts/stackusage | |
| parent | 6f2f68640b8478b3bd385bc541ee517d7bdddf76 (diff) | |
| download | linux-965147067fa1bedff3ae1f07ce3f89f1a14d2df3.tar.xz | |
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 'scripts/stackusage')
0 files changed, 0 insertions, 0 deletions
