[PATCH] usbhid: free raw_report buffers in usbhid_stop

Jiri Kosina jikos at kernel.org
Wed Jul 28 09:31:54 UTC 2021


On Thu, 24 Jun 2021, Anirudh Rayabharam wrote:

> 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 at syzkaller.appspotmail.com
> Tested-by: syzbot+47b26cd837ececfc666d at syzkaller.appspotmail.com
> Signed-off-by: Anirudh Rayabharam <mail at anirudhrb.com>

Applied, thank you.

-- 
Jiri Kosina
SUSE Labs



More information about the Linux-kernel-mentees mailing list