syzbot


WARNING in hif_usb_send/usb_submit_urb

Status: fixed on 2023/02/24 13:50
Subsystems: wireless
[Documentation on labels]
Reported-by: syzbot+f5378bcf0f0cab45c1c6@syzkaller.appspotmail.com
Fix commit: 16ef02bad239 wifi: ath9k: verify the expected usb_endpoints are present
First crash: 1357d, last: 565d
Cause bisection: introduced by (bisect log) [no-op commit]:
commit bb5cce12ac717c7462217cd493ed701d12d6dbce
Author: Andre Przywara <andre.przywara@arm.com>
Date: Wed May 13 10:29:58 2020 +0000

  arm64: dts: fvp/juno: Fix node address fields

Crash: WARNING in hif_usb_send/usb_submit_urb (log)
Repro: C syz .config
  
Fix bisection: fixed by (bisect log) :
commit 16ef02bad239f11f322df8425d302be62f0443ce
Author: Fedor Pchelkin <pchelkin@ispras.ru>
Date: Sat Oct 8 21:15:32 2022 +0000

  wifi: ath9k: verify the expected usb_endpoints are present

  
Duplicate bugs (1)
duplicates (1):
Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
WARNING in handle_bug/usb_submit_urb usb C 1 1357d 1357d 0/27 closed as dup on 2020/10/05 14:54
Discussions (1)
Title Replies (including bot) Last reply
WARNING in hif_usb_send/usb_submit_urb 5 (11) 2023/01/30 09:01
Last patch testing requests (3)
Created Duration User Patch Repo Result
2020/10/10 01:08 17m stern@rowland.harvard.edu patch https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git v5.9-rc8 OK
2020/10/10 00:49 5m stern@rowland.harvard.edu patch https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git v5.9-rc8 error OK
2020/10/09 18:55 5m stern@rowland.harvard.edu patch https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git 6c8cf369 error OK
Fix bisection attempts (4)
Created Duration User Patch Repo Result
2023/01/29 23:28 7h20m bisect fix upstream job log (1)
2021/08/16 03:21 25m bisect fix upstream job log (0) log
2021/07/16 23:59 21m bisect fix upstream job log (0) log
2021/06/16 21:53 23m bisect fix upstream job log (0) log
Cause bisection attempts (2)
Created Duration User Patch Repo Result
2021/02/27 15:24 2h21m bisect upstream job log (1) log
2021/02/01 15:29 1m bisect upstream error job log (0)

Sample crash report:
usb 5-1: ath9k_htc: Firmware ath9k_htc/htc_9271-1.4.0.fw requested
usb 5-1: ath9k_htc: Transferred FW: ath9k_htc/htc_9271-1.4.0.fw, size: 51008
------------[ cut here ]------------
usb 5-1: BOGUS urb xfer, pipe 1 != type 3
WARNING: CPU: 3 PID: 34 at drivers/usb/core/urb.c:502 usb_submit_urb+0xed2/0x18a0 drivers/usb/core/urb.c:502
Modules linked in:
CPU: 3 PID: 34 Comm: kworker/3:0 Not tainted 5.19.0-rc6-syzkaller-00115-g4a57a8400075 #0
Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.14.0-2 04/01/2014
Workqueue: events request_firmware_work_func
RIP: 0010:usb_submit_urb+0xed2/0x18a0 drivers/usb/core/urb.c:502
Code: 7c 24 18 e8 60 55 ee fb 48 8b 7c 24 18 e8 f6 d4 03 ff 41 89 d8 44 89 e1 4c 89 ea 48 89 c6 48 c7 c7 80 df 6e 8a e8 4a c3 a6 03 <0f> 0b e9 58 f8 ff ff e8 32 55 ee fb 48 81 c5 c0 05 00 00 e9 84 f7
RSP: 0018:ffffc900007df808 EFLAGS: 00010286
RAX: 0000000000000000 RBX: 0000000000000003 RCX: 0000000000000000
RDX: ffff888012788240 RSI: ffffffff815ffb88 RDI: fffff520000fbef3
RBP: ffff88801eae6c00 R08: 0000000000000005 R09: 0000000000000000
R10: 0000000080000000 R11: 0000000000000001 R12: 0000000000000001
R13: ffff88801b9430c0 R14: 0000000000000002 R15: ffff888012736000
FS:  0000000000000000(0000) GS:ffff88802cb00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fab90323130 CR3: 0000000024071000 CR4: 0000000000150ee0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 hif_usb_send_regout drivers/net/wireless/ath/ath9k/hif_usb.c:127 [inline]
 hif_usb_send+0x4c1/0xcf0 drivers/net/wireless/ath/ath9k/hif_usb.c:478
 htc_connect_service+0x612/0x8c0 drivers/net/wireless/ath/ath9k/htc_hst.c:280
 ath9k_wmi_connect+0xc9/0x190 drivers/net/wireless/ath/ath9k/wmi.c:271
 ath9k_init_htc_services.constprop.0+0xb3/0x640 drivers/net/wireless/ath/ath9k/htc_drv_init.c:146
 ath9k_htc_probe_device+0x262/0x1f30 drivers/net/wireless/ath/ath9k/htc_drv_init.c:960
 ath9k_htc_hw_init+0x31/0x60 drivers/net/wireless/ath/ath9k/htc_hst.c:508
 ath9k_hif_usb_firmware_cb+0x274/0x530 drivers/net/wireless/ath/ath9k/hif_usb.c:1245
 request_firmware_work_func+0x12c/0x230 drivers/base/firmware_loader/main.c:1107
 process_one_work+0x996/0x1610 kernel/workqueue.c:2289
 worker_thread+0x665/0x1080 kernel/workqueue.c:2436
 kthread+0x2e9/0x3a0 kernel/kthread.c:376
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:306
 </TASK>

Crashes (374):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2022/07/16 18:56 upstream 4a57a8400075 95cb00d1 .config console log report syz C ci-qemu-upstream WARNING in hif_usb_send/usb_submit_urb
2022/07/14 20:13 upstream 4a57a8400075 5d921b08 .config console log report syz C ci-qemu-upstream WARNING in hif_usb_send/usb_submit_urb
2022/07/02 12:02 upstream 089866061428 1434eec0 .config strace log report syz C ci-upstream-kasan-gce-root WARNING in hif_usb_send/usb_submit_urb
2021/02/10 04:42 upstream e0756cfc7d7c 2bd9619f .config console log report syz C ci-upstream-kasan-gce-smack-root WARNING in hif_usb_send/usb_submit_urb
2021/02/01 11:15 upstream 1048ba83fb1c fc9fd31e .config console log report syz C ci-upstream-kasan-gce-root WARNING in hif_usb_send/usb_submit_urb
2022/05/12 14:34 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing b7a4f9b5d0e4 9ad6612a .config console log report syz C ci2-upstream-usb WARNING in hif_usb_send/usb_submit_urb
2020/10/09 14:18 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 6c8cf3695176 fa79ed2a .config console log report syz C ci2-upstream-usb
2022/08/18 10:03 upstream 274a2eebf80c d58e263f .config console log report syz C ci-upstream-kasan-gce-smack-root WARNING in hif_usb_send/usb_submit_urb
2022/11/25 22:22 upstream 0b1dcc2cf55a 74a66371 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-selinux-root WARNING in hif_usb_send/usb_submit_urb
2022/11/24 20:52 upstream c3eb11fbb826 62e26685 .config console log report info ci-upstream-kasan-gce-smack-root WARNING in hif_usb_send/usb_submit_urb
2022/11/15 17:20 upstream e01d50cbd6ee bfcab33d .config console log report info ci-qemu-upstream WARNING in hif_usb_send/usb_submit_urb
2022/11/08 07:21 upstream 59f2f4b8a757 881db35d .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root WARNING in hif_usb_send/usb_submit_urb
2022/10/25 10:16 upstream 1a2dcbdde82e 45645420 .config console log report info ci-qemu-upstream WARNING in hif_usb_send/usb_submit_urb
2022/10/22 08:26 upstream 4da34b7d175d c0b80a55 .config console log report info ci-qemu-upstream WARNING in hif_usb_send/usb_submit_urb
2022/10/14 07:24 upstream 55be6084c8e0 4954e4b2 .config console log report info [disk image] [vmlinux] ci-upstream-kasan-gce-root WARNING in hif_usb_send/usb_submit_urb
2022/09/16 19:29 upstream 6879c2d3b960 dd9a85ff .config console log report info ci-upstream-kasan-gce-selinux-root WARNING in hif_usb_send/usb_submit_urb
2022/11/01 09:33 upstream 200204f56f3b a1d8560a .config console log report info ci-qemu-upstream-386 WARNING in hif_usb_send/usb_submit_urb
2022/10/29 19:46 upstream 200204f56f3b 2a71366b .config console log report info ci-qemu-upstream-386 WARNING in hif_usb_send/usb_submit_urb
2022/12/05 18:08 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 751fbcc59a16 045cbb84 .config console log report info ci2-upstream-usb WARNING in hif_usb_send/usb_submit_urb
2022/11/21 01:37 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing dd65a243a915 5bb70014 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-usb WARNING in hif_usb_send/usb_submit_urb
2022/11/20 18:29 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing dd65a243a915 5bb70014 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-usb WARNING in hif_usb_send/usb_submit_urb
2022/11/20 15:58 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing dd65a243a915 5bb70014 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-usb WARNING in hif_usb_send/usb_submit_urb
2022/11/20 11:55 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing dd65a243a915 5bb70014 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-usb WARNING in hif_usb_send/usb_submit_urb
2022/11/20 10:39 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing dd65a243a915 5bb70014 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-usb WARNING in hif_usb_send/usb_submit_urb
2022/11/20 08:43 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing dd65a243a915 5bb70014 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-usb WARNING in hif_usb_send/usb_submit_urb
2022/11/20 06:51 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing dd65a243a915 5bb70014 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-usb WARNING in hif_usb_send/usb_submit_urb
2022/11/20 02:35 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing dd65a243a915 5bb70014 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-usb WARNING in hif_usb_send/usb_submit_urb
2022/11/19 22:40 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing dd65a243a915 5bb70014 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-usb WARNING in hif_usb_send/usb_submit_urb
2022/11/19 19:24 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing dd65a243a915 5bb70014 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-usb WARNING in hif_usb_send/usb_submit_urb
2022/11/19 17:52 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing dd65a243a915 5bb70014 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-usb WARNING in hif_usb_send/usb_submit_urb
2022/11/19 16:30 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing dd65a243a915 5bb70014 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-usb WARNING in hif_usb_send/usb_submit_urb
2022/11/19 13:49 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing dd65a243a915 5bb70014 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-usb WARNING in hif_usb_send/usb_submit_urb
2022/11/19 10:39 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing dd65a243a915 5bb70014 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-usb WARNING in hif_usb_send/usb_submit_urb
2022/11/19 08:53 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing dd65a243a915 5bb70014 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-usb WARNING in hif_usb_send/usb_submit_urb
2022/11/19 07:20 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing dd65a243a915 5bb70014 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-usb WARNING in hif_usb_send/usb_submit_urb
2022/11/17 15:28 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing dd65a243a915 4ba8ab94 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-usb WARNING in hif_usb_send/usb_submit_urb
2022/11/15 23:07 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing dd65a243a915 3a127a31 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-usb WARNING in hif_usb_send/usb_submit_urb
2022/11/09 15:06 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing d65e6b6e884a bebca8b7 .config console log report info ci2-upstream-usb WARNING in hif_usb_send/usb_submit_urb
2022/11/03 05:16 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing bd707a4f9ebe 7a2ebf95 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-usb WARNING in hif_usb_send/usb_submit_urb
2022/11/01 01:29 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 8527e9421690 a1d8560a .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-usb WARNING in hif_usb_send/usb_submit_urb
2022/10/29 15:18 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing a6afa4199d3d 2a71366b .config console log report info [disk image] [vmlinux] ci2-upstream-usb WARNING in hif_usb_send/usb_submit_urb
2022/10/29 01:58 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing a6afa4199d3d 899d812a .config console log report info ci2-upstream-usb WARNING in hif_usb_send/usb_submit_urb
2022/10/27 23:21 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing a6afa4199d3d 5c716ff6 .config console log report info [disk image] [vmlinux] ci2-upstream-usb WARNING in hif_usb_send/usb_submit_urb
2022/10/26 18:47 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing a6afa4199d3d 86777b7f .config console log report info [disk image] [vmlinux] ci2-upstream-usb WARNING in hif_usb_send/usb_submit_urb
2022/10/25 04:51 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing a6afa4199d3d 45645420 .config console log report info ci2-upstream-usb WARNING in hif_usb_send/usb_submit_urb
2022/10/21 09:33 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing a6afa4199d3d 63e790dd .config console log report info [disk image] [vmlinux] ci2-upstream-usb WARNING in hif_usb_send/usb_submit_urb
2022/10/18 11:00 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing a6afa4199d3d b31320fc .config console log report info [disk image] [vmlinux] ci2-upstream-usb WARNING in hif_usb_send/usb_submit_urb
2022/10/16 20:18 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing a6afa4199d3d 67cb024c .config console log report info [disk image] [vmlinux] ci2-upstream-usb WARNING in hif_usb_send/usb_submit_urb
2022/10/13 11:55 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing a6afa4199d3d adf90437 .config console log report info [disk image] [vmlinux] ci2-upstream-usb WARNING in hif_usb_send/usb_submit_urb
2022/10/13 02:11 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing a6afa4199d3d 3f6b40a1 .config console log report info ci2-upstream-usb WARNING in hif_usb_send/usb_submit_urb
2022/10/12 14:33 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing a6afa4199d3d 16a9c9e0 .config console log report info [disk image] [vmlinux] ci2-upstream-usb WARNING in hif_usb_send/usb_submit_urb
2022/10/10 23:21 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing a6afa4199d3d 5bcf0c31 .config console log report info ci2-upstream-usb WARNING in hif_usb_send/usb_submit_urb
2022/10/09 00:50 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing e8bc52cb8df8 aea5da89 .config console log report info ci2-upstream-usb WARNING in hif_usb_send/usb_submit_urb
2022/10/08 05:41 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 00988f70a076 aea5da89 .config console log report info [disk image] [vmlinux] ci2-upstream-usb WARNING in hif_usb_send/usb_submit_urb
2022/10/04 10:19 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 00988f70a076 978d1f19 .config console log report info ci2-upstream-usb WARNING in hif_usb_send/usb_submit_urb
2022/09/28 19:37 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing bce2b0539933 a41a2080 .config console log report info [disk image] [vmlinux] ci2-upstream-usb WARNING in hif_usb_send/usb_submit_urb
2022/09/28 15:54 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing bce2b0539933 75c78242 .config console log report info ci2-upstream-usb WARNING in hif_usb_send/usb_submit_urb
2022/09/28 14:27 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing bce2b0539933 75c78242 .config console log report info ci2-upstream-usb WARNING in hif_usb_send/usb_submit_urb
2022/09/28 11:52 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing bce2b0539933 75c78242 .config console log report info ci2-upstream-usb WARNING in hif_usb_send/usb_submit_urb
2022/09/28 10:22 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing bce2b0539933 75c78242 .config console log report info ci2-upstream-usb WARNING in hif_usb_send/usb_submit_urb
2022/09/28 08:36 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing bce2b0539933 75c78242 .config console log report info ci2-upstream-usb WARNING in hif_usb_send/usb_submit_urb
2022/09/28 02:45 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing bce2b0539933 75c78242 .config console log report info ci2-upstream-usb WARNING in hif_usb_send/usb_submit_urb
2022/09/22 13:19 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing b294c2bf4cfd 60af5050 .config console log report info ci2-upstream-usb WARNING in hif_usb_send/usb_submit_urb
2022/09/09 11:02 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 7eb2bf871454 90058bdc .config console log report info ci2-upstream-usb WARNING in hif_usb_send/usb_submit_urb
2022/09/08 11:37 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 8422b769fa46 f3027468 .config console log report info ci2-upstream-usb WARNING in hif_usb_send/usb_submit_urb
2021/01/09 10:07 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 841081d89d5a a6c52263 .config console log report info ci2-upstream-usb
2020/10/05 09:54 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 168ae5a74b4a 5ef9c291 .config console log report info ci2-upstream-usb
* Struck through repros no longer work on HEAD.