Re: WARNING in hif_usb_send/usb_submit_urb

2020-10-12 Thread Andrey Konovalov
On Fri, Oct 9, 2020 at 8:55 PM Alan Stern wrote: > > To the ath9k_htc maintainers: > > This is an attempt to fix a bug detected by the syzbot fuzzer. The bug > arises when a USB device claims to be an ATH9K but doesn't have the > expected endpoints. (In this case there was a bulk endpoint where

Re: WARNING in hif_usb_send/usb_submit_urb

2020-10-09 Thread syzbot
Hello, syzbot has tested the proposed patch and the reproducer did not trigger any issue: Reported-and-tested-by: syzbot+f5378bcf0f0cab45c...@syzkaller.appspotmail.com Tested on: commit: 549738f1 Linux 5.9-rc8 git tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/li

Re: WARNING in hif_usb_send/usb_submit_urb

2020-10-09 Thread Alan Stern
On Fri, Oct 09, 2020 at 02:55:08PM -0700, syzbot wrote: > Hello, > > syzbot tried to test the proposed patch but the build/boot failed: > > drivers/net/wireless/ath/ath9k/hif_usb.c:1319:7: error: implicit declaration > of function 'usb_find_bulk_in'; did you mean 'usb_fill_bulk_urb'? > [-Werror

Re: WARNING in hif_usb_send/usb_submit_urb

2020-10-09 Thread Alan Stern
On Fri, Oct 09, 2020 at 05:56:09PM -0700, syzbot wrote: > Hello, > > syzbot tried to test the proposed patch but the build/boot failed: Oops. One more try, with the typos fixed. #syz test: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git v5.9-rc8 Index: usb-devel/drivers/net

Re: WARNING in hif_usb_send/usb_submit_urb

2020-10-09 Thread syzbot
Hello, syzbot tried to test the proposed patch but the build/boot failed: drivers/net/wireless/ath/ath9k/hif_usb.c:1319:7: error: implicit declaration of function 'usb_find_bulk_in'; did you mean 'usb_fill_bulk_urb'? [-Werror=implicit-function-declaration] drivers/net/wireless/ath/ath9k/hif_usb

Re: WARNING in hif_usb_send/usb_submit_urb

2020-10-09 Thread syzbot
Hello, syzbot tried to test the proposed patch but the build/boot failed: drivers/net/wireless/ath/ath9k/hif_usb.c:1319:7: error: implicit declaration of function 'usb_find_bulk_in'; did you mean 'usb_fill_bulk_urb'? [-Werror=implicit-function-declaration] drivers/net/wireless/ath/ath9k/hif_usb

Re: WARNING in hif_usb_send/usb_submit_urb

2020-10-09 Thread Alan Stern
To the ath9k_htc maintainers: This is an attempt to fix a bug detected by the syzbot fuzzer. The bug arises when a USB device claims to be an ATH9K but doesn't have the expected endpoints. (In this case there was a bulk endpoint where the driver expected an interrupt endpoint.) The kernel ne

Re: WARNING in hif_usb_send/usb_submit_urb

2020-10-09 Thread syzbot
syzbot has found a reproducer for the following issue on: HEAD commit:6c8cf369 usb: typec: Add QCOM PMIC typec detection driver git tree: https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing console output: https://syzkaller.appspot.com/x/log.txt?x=14ea791b90 k

WARNING in hif_usb_send/usb_submit_urb

2020-10-05 Thread syzbot
Hello, syzbot found the following issue on: HEAD commit:168ae5a7 Merge 5.9-rc8 into usb-next git tree: https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing console output: https://syzkaller.appspot.com/x/log.txt?x=1073b7ff90 kernel config: https://syzkaller.a