On Wed, 20 Nov 2019, syzbot wrote: > syzbot has bisected this bug to: > > commit 46eb14a6e1585d99c1b9f58d0e7389082a5f466b > Author: Pete Zaitcev <zaitcev@xxxxxxxxxx> > Date: Mon Jan 8 21:46:41 2018 +0000 > > USB: fix usbmon BUG trigger Here's part of the commit description: USB: fix usbmon BUG trigger 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. As it happens, I spent a little time investigating this bug report just yesterday. It seems to me that the easiest fix would be to disallow resizing the buffer while it is mapped by any users. (Besides, allowing that seems like a bad idea in any case.) Pete, does that seem reasonable to you? Alan Stern