linux-uconsole/drivers/usb/mon
Pete Zaitcev 3f577093c5 USB: fix usbmon BUG trigger
commit 46eb14a6e1 upstream.

Automated tests triggered this by opening usbmon and accessing the
mmap while simultaneously resizing the buffers. This bug was with
us since 2006, because typically applications only size the buffers
once and thus avoid racing. Reported by Kirill A. Shutemov.

Reported-by: <syzbot+f9831b881b3e849829fc@syzkaller.appspotmail.com>
Signed-off-by: Pete Zaitcev <zaitcev@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-01-17 09:35:31 +01:00
..
Kconfig
Makefile
mon_bin.c USB: fix usbmon BUG trigger 2018-01-17 09:35:31 +01:00
mon_main.c
mon_stat.c USB: mon_stat.c: move assignment out of if () block 2015-05-10 16:01:11 +02:00
mon_text.c
usb_mon.h