syzbot


WARNING in carl9170_usb_submit_cmd_urb/usb_submit_urb

Status: upstream: reported C repro on 2023/04/01 12:52
Bug presence: origin:upstream
Labels: missing-backport
[Documentation on labels]
Reported-by: syzbot+625c1e4ecd689cb90843@syzkaller.appspotmail.com
First crash: 560d, last: 126d
Fix bisection: failed (error log, bisect log)
  
Bug presence (3)
Date Name Commit Repro Result
2024/06/08 linux-6.1.y (ToT) 88690811da69 C [report] WARNING in carl9170_usb_submit_cmd_urb/usb_submit_urb
2023/09/11 upstream (ToT) 0bb80ecc33a8 C [report] WARNING in carl9170_usb_submit_cmd_urb/usb_submit_urb
2024/06/08 upstream (ToT) dc772f8237f9 C Didn't crash
Similar bugs (2)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream WARNING in carl9170_usb_submit_cmd_urb/usb_submit_urb usb wireless C done error 48 151d 1611d 0/28 auto-obsoleted due to no activity on 2024/08/22 01:59
linux-5.15 WARNING in carl9170_usb_submit_cmd_urb/usb_submit_urb origin:upstream missing-backport C error 2 147d 560d 0/3 upstream: reported C repro on 2023/04/01 13:22
Fix bisection attempts (12)
Created Duration User Patch Repo Result
2024/09/05 09:08 12h03m fix candidate upstream error job log
2024/05/30 19:19 24m bisect fix linux-6.1.y error job log
2024/04/25 23:57 1h39m bisect fix linux-6.1.y OK (0) job log log
2024/03/25 20:15 1h18m bisect fix linux-6.1.y OK (0) job log log
2024/02/24 15:39 2h09m bisect fix linux-6.1.y OK (0) job log log
2024/01/16 17:51 1h24m bisect fix linux-6.1.y OK (0) job log log
2023/12/16 16:03 1h18m bisect fix linux-6.1.y OK (0) job log log
2023/11/16 05:02 1h48m bisect fix linux-6.1.y OK (0) job log log
2023/10/16 11:23 2h03m bisect fix linux-6.1.y OK (0) job log log
2023/09/11 09:25 1h15m bisect fix linux-6.1.y OK (0) job log log
2023/06/28 20:25 1h23m bisect fix linux-6.1.y OK (0) job log log
2023/05/01 18:29 49m bisect fix linux-6.1.y OK (0) job log log

Sample crash report:
usb 1-1: device descriptor read/64, error -71
usb 1-1: reset full-speed USB device number 2 using dummy_hcd
usb 1-1: string descriptor 0 read error: -71
------------[ cut here ]------------
usb 1-1: BOGUS urb xfer, pipe 1 != type 3
WARNING: CPU: 1 PID: 151 at drivers/usb/core/urb.c:505 usb_submit_urb+0xc8d/0x1990 drivers/usb/core/urb.c:504
Modules linked in:
CPU: 1 PID: 151 Comm: kworker/1: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:ffffc90002dceaf0 EFLAGS: 00010246
RAX: 9869a01fa7500d00 RBX: dffffc0000000000 RCX: ffff888016bcd940
RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000
RBP: 0000000000000001 R08: ffffffff81523d7e R09: fffff520005b9d15
R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000000000000
R13: ffff888019e5c400 R14: ffff888018eeff28 R15: ffffffff8b89b228
FS:  0000000000000000(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f0aedc304a0 CR3: 00000000708bd000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 carl9170_usb_submit_cmd_urb+0x8d/0x100 drivers/net/wireless/ath/carl9170/usb.c:229
 carl9170_usb_disconnect+0x8c/0x160 drivers/net/wireless/ath/carl9170/usb.c:1116
 usb_unbind_interface+0x1cd/0x840 drivers/usb/core/driver.c:458
 device_remove drivers/base/dd.c:550 [inline]
 __device_release_driver drivers/base/dd.c:1258 [inline]
 device_release_driver_internal+0x59e/0x880 drivers/base/dd.c:1284
 usb_driver_release_interface drivers/usb/core/driver.c:627 [inline]
 usb_forced_unbind_intf+0x155/0x220 drivers/usb/core/driver.c:1118
 usb_reset_device+0x465/0xaf0 drivers/usb/core/hub.c:6125
 carl9170_usb_probe+0x4c/0xbe0 drivers/net/wireless/ath/carl9170/usb.c:1044
 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 (2):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2023/05/28 14:31 linux-6.1.y a343b0dd87b4 cf184559 .config console log report syz C [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in carl9170_usb_submit_cmd_urb/usb_submit_urb
2023/04/01 12:52 linux-6.1.y 3b29299e5f60 f325deb0 .config console log report syz C [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in carl9170_usb_submit_cmd_urb/usb_submit_urb
* Struck through repros no longer work on HEAD.