syzbot


WARNING in ar5523_submit_rx_cmd/usb_submit_urb

Status: upstream: reported C repro on 2023/04/30 22:17
Bug presence: origin:upstream
Labels: missing-backport
[Documentation on labels]
Reported-by: syzbot+938ae786ee51a75ab0ff@syzkaller.appspotmail.com
First crash: 411d, last: 5d02h
Fix bisection: failed (error log, bisect log)
  
Bug presence (3)
Date Name Commit Repro Result
2024/06/10 linux-6.1.y (ToT) 88690811da69 C [report] WARNING in ar5523_submit_rx_cmd/usb_submit_urb
2023/09/13 upstream (ToT) 23f108dc9ed2 C [report] WARNING in ar5523_submit_rx_cmd/usb_submit_urb
2024/06/10 upstream (ToT) 83a7eefedc9b C Didn't crash
Similar bugs (2)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-5.15 WARNING in ar5523_submit_rx_cmd/usb_submit_urb origin:upstream missing-backport C error 4 19d 404d 0/3 upstream: reported C repro on 2023/05/07 20:44
upstream WARNING in ar5523_submit_rx_cmd/usb_submit_urb usb wireless C error inconclusive 883 17d 1839d 0/27 upstream: reported C repro on 2019/06/03 11:41
Fix bisection attempts (8)
Created Duration User Patch Repo Result
2024/05/30 16:47 10m bisect fix linux-6.1.y error job log (0)
2024/03/14 10:03 1h35m bisect fix linux-6.1.y job log (0) log
2024/02/09 00:28 1h47m bisect fix linux-6.1.y job log (0) log
2024/01/02 03:12 1h10m bisect fix linux-6.1.y job log (0) log
2023/11/18 14:46 1h36m bisect fix linux-6.1.y job log (0) log
2023/10/17 18:05 1h36m bisect fix linux-6.1.y job log (0) log
2023/09/13 15:40 1h29m bisect fix linux-6.1.y job log (0) log
2023/06/29 17:21 1h22m bisect fix linux-6.1.y job log (0) log

Sample crash report:
usb 1-1: New USB device found, idVendor=083a, idProduct=4506, bcdDevice=6d.7d
usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
usb 1-1: Product: syz
usb 1-1: Manufacturer: syz
usb 1-1: SerialNumber: syz
------------[ cut here ]------------
usb 1-1: BOGUS urb xfer, pipe 3 != type 1
WARNING: CPU: 0 PID: 151 at drivers/usb/core/urb.c:505 usb_submit_urb+0xc8d/0x1990 drivers/usb/core/urb.c:504
Modules linked in:
CPU: 0 PID: 151 Comm: kworker/0:2 Not tainted 6.1.30-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/25/2023
Workqueue: usb_hub_wq hub_event
RIP: 0010:usb_submit_urb+0xc8d/0x1990 drivers/usb/core/urb.c:504
Code: 0f b6 04 18 84 c0 44 8b 64 24 1c 0f 85 2b 09 00 00 45 8b 07 48 c7 c7 40 b4 89 8b 48 8b 74 24 08 4c 89 f2 89 e9 e8 93 14 f0 fa <0f> 0b 48 8b 5c 24 20 48 8b 6c 24 28 41 89 de 4c 89 f7 48 c7 c6 30
RSP: 0018:ffffc90002d7ec00 EFLAGS: 00010246
RAX: 466420101676f500 RBX: dffffc0000000000 RCX: ffff888017bb9dc0
RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000
RBP: 0000000000000003 R08: ffffffff81523d7e R09: fffff520005afd39
R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000000000001
R13: ffff8880172fc300 R14: ffff888018278848 R15: ffffffff8b89b22c
FS:  0000000000000000(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007ffe7d174d48 CR3: 000000007627f000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 ar5523_submit_rx_cmd+0x1d2/0x2f0 drivers/net/wireless/ath/ar5523/ar5523.c:212
 ar5523_probe+0x1273/0x21f0 drivers/net/wireless/ath/ar5523/ar5523.c:1652
 usb_probe_interface+0x5c0/0xaf0 drivers/usb/core/driver.c:396
 really_probe+0x2ab/0xcb0 drivers/base/dd.c:639
 __driver_probe_device+0x1a2/0x3d0 drivers/base/dd.c:783
 driver_probe_device+0x50/0x420 drivers/base/dd.c:813
 __device_attach_driver+0x2cf/0x510 drivers/base/dd.c:941
 bus_for_each_drv+0x183/0x200 drivers/base/bus.c:427
 __device_attach+0x359/0x570 drivers/base/dd.c:1013
 bus_probe_device+0xba/0x1e0 drivers/base/bus.c:487
 device_add+0xb48/0xfd0 drivers/base/core.c:3664
 usb_set_configuration+0x19dd/0x2020 drivers/usb/core/message.c:2170
 usb_generic_driver_probe+0x84/0x140 drivers/usb/core/generic.c:238
 usb_probe_device+0x130/0x260 drivers/usb/core/driver.c:293
 really_probe+0x2ab/0xcb0 drivers/base/dd.c:639
 __driver_probe_device+0x1a2/0x3d0 drivers/base/dd.c:783
 driver_probe_device+0x50/0x420 drivers/base/dd.c:813
 __device_attach_driver+0x2cf/0x510 drivers/base/dd.c:941
 bus_for_each_drv+0x183/0x200 drivers/base/bus.c:427
 __device_attach+0x359/0x570 drivers/base/dd.c:1013
 bus_probe_device+0xba/0x1e0 drivers/base/bus.c:487
 device_add+0xb48/0xfd0 drivers/base/core.c:3664
 usb_new_device+0xbdd/0x18e0 drivers/usb/core/hub.c:2575
 hub_port_connect drivers/usb/core/hub.c:5355 [inline]
 hub_port_connect_change drivers/usb/core/hub.c:5499 [inline]
 port_event drivers/usb/core/hub.c:5655 [inline]
 hub_event+0x2d4d/0x57b0 drivers/usb/core/hub.c:5737
 process_one_work+0x8aa/0x11f0 kernel/workqueue.c:2289
 worker_thread+0xa5f/0x1210 kernel/workqueue.c:2436
 kthread+0x26e/0x300 kernel/kthread.c:376
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:306
 </TASK>

Crashes (7):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2023/05/30 09:08 linux-6.1.y a343b0dd87b4 cf184559 .config console log report syz C [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in ar5523_submit_rx_cmd/usb_submit_urb
2024/04/01 22:25 linux-6.1.y e5cd595e23c1 6baf5069 .config console log report syz C [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in ar5523_submit_rx_cmd/usb_submit_urb
2023/12/02 11:11 linux-6.1.y 6ac30d748bb0 f819d6f7 .config console log report syz C [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in ar5523_submit_rx_cmd/usb_submit_urb
2023/04/30 22:16 linux-6.1.y ca1c9012c941 62df2017 .config console log report syz C [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in ar5523_submit_rx_cmd/usb_submit_urb
2024/04/25 12:31 linux-6.1.y 6741e066ec76 8bdc0f22 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in ar5523_submit_rx_cmd/usb_submit_urb
2023/12/02 11:31 linux-6.1.y 6ac30d748bb0 f819d6f7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in ar5523_submit_rx_cmd/usb_submit_urb
2023/12/02 10:56 linux-6.1.y 6ac30d748bb0 f819d6f7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in ar5523_submit_rx_cmd/usb_submit_urb
* Struck through repros no longer work on HEAD.