Re: [PATCH 2/9] ALSA: bcd2000: Add a sanity check for invalid EPs

2017-10-10 Thread Andrey Konovalov
On Tue, Oct 10, 2017 at 4:33 PM, Takashi Iwai wrote: > On Tue, 10 Oct 2017 16:00:25 +0200, > Andrey Konovalov wrote: >> >> On Tue, Oct 10, 2017 at 3:38 PM, Takashi Iwai wrote: >> > As syzkaller spotted, currently bcd2000 driver submits a URB with the >> > fixed EP

Re: [PATCH 2/9] ALSA: bcd2000: Add a sanity check for invalid EPs

2017-10-10 Thread Takashi Iwai
On Tue, 10 Oct 2017 16:00:25 +0200, Andrey Konovalov wrote: > > On Tue, Oct 10, 2017 at 3:38 PM, Takashi Iwai wrote: > > As syzkaller spotted, currently bcd2000 driver submits a URB with the > > fixed EP without checking whether it's actually available, which may > > result in a

Re: [PATCH 2/9] ALSA: bcd2000: Add a sanity check for invalid EPs

2017-10-10 Thread Andrey Konovalov
On Tue, Oct 10, 2017 at 3:38 PM, Takashi Iwai wrote: > As syzkaller spotted, currently bcd2000 driver submits a URB with the > fixed EP without checking whether it's actually available, which may > result in a kernel warning like: > usb 1-1: BOGUS urb xfer, pipe 1 != type 3 >

[PATCH 2/9] ALSA: bcd2000: Add a sanity check for invalid EPs

2017-10-10 Thread Takashi Iwai
As syzkaller spotted, currently bcd2000 driver submits a URB with the fixed EP without checking whether it's actually available, which may result in a kernel warning like: usb 1-1: BOGUS urb xfer, pipe 1 != type 3 [ cut here ] WARNING: CPU: 0 PID: 1846 at