Re: [PATCH] usb: mon: Fix a deadlock in usbmon between mmap and read

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 26 Nov 2019 10:20:14 -0500 (EST)
Alan Stern <stern@xxxxxxxxxxxxxxxxxxx> wrote:

> > Signed-off-by: Pete Zaitcev <zaitcev@xxxxxxxxxx>
> > Reported-by: syzbot+56f9673bb4cdcbeb0e92@xxxxxxxxxxxxxxxxxxxxxxxxx  
> 
> Reviewed-by: Alan Stern <stern@xxxxxxxxxxxxxxxxxxx>

Thanks.

> Fixes: 46eb14a6e158 ("USB: fix usbmon BUG trigger")

Indeed... Either I didn't think that one through, or the copy_to_user
used not to take the mmap_sem.

> CC: <stable@xxxxxxxxxxxxxxx>

Do we really need this? The problem was in the code for more than 10 years.
It's not like anyone is exploiting systems because of it.

If we do need it, I should cc: the submission to the same place too, right?

-- Pete




[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux