Re: [PATCH] USB: usbfs: Filter flags passed in from user space

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

 



Am Donnerstag, den 23.11.2017, 15:57 +0100 schrieb Greg KH:
> On Thu, Nov 23, 2017 at 03:28:34PM +0100, Oliver Neukum wrote:
> > 
> > USBDEVFS_URB_ISO_ASAP must be accepted only for ISO endpoints.
> > Improve sanity checking.
> > 
> > Signed-off-by: Oliver Neukum <oneukum@xxxxxxxx>
> > ---
> >  drivers/usb/core/devio.c | 16 ++++++++++------
> >  1 file changed, 10 insertions(+), 6 deletions(-)
> 
> Didn't we do something like this already?

I sent a patch. Alan found it insufficient.

> Or was it something else?  Was this triggered by some testing?

Alexey's syzkaller tests showed that you can trigger it.

	Regards
		Oliver




[Index of Archives]     [Linux Kernel]     [Kernel Development Newbies]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Hiking]     [Linux Kernel]     [Linux SCSI]