syzbot


WARNING in carl9170_usb_submit_cmd_urb/usb_submit_urb

Status: upstream: reported C repro on 2023/04/01 13:22
Labels: missing-backport
[Documentation on labels]
Reported-by: syzbot+2a236bd2ff7884f06afd@syzkaller.appspotmail.com
First crash: 563d, last: 150d
Fix bisection: failed (error log, bisect log)
  
Bug presence (1)
Date Name Commit Repro Result
2024/10/15 upstream (ToT) eca631b8fe80 C Failed due to an error; will retry later
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 155d 1615d 0/28 auto-obsoleted due to no activity on 2024/08/22 01:59
linux-6.1 WARNING in carl9170_usb_submit_cmd_urb/usb_submit_urb origin:upstream missing-backport C error 2 129d 563d 0/3 upstream: reported C repro on 2023/04/01 12:52
Last patch testing requests (2)
Created Duration User Patch Repo Result
2024/10/15 04:53 0m retest repro linux-5.15.y error
2024/10/14 23:35 0m retest repro linux-5.15.y error
Fix bisection attempts (6)
Created Duration User Patch Repo Result
2024/10/15 01:36 0m fix candidate upstream error job log
2024/07/19 23:12 1m fix candidate upstream error job log
2024/06/05 21:15 0m fix candidate upstream error job log
2023/08/12 16:16 1m bisect fix linux-5.15.y error job log
2023/06/23 01:59 56m bisect fix linux-5.15.y OK (0) job log log
2023/05/01 17:44 43m bisect fix linux-5.15.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: 0 PID: 13 at drivers/usb/core/urb.c:503 usb_submit_urb+0xc8d/0x1990 drivers/usb/core/urb.c:502
Modules linked in:
CPU: 0 PID: 13 Comm: kworker/0:1 Not tainted 5.15.112-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/28/2023
Workqueue: usb_hub_wq hub_event
RIP: 0010:usb_submit_urb+0xc8d/0x1990 drivers/usb/core/urb.c:502
Code: 0f b6 04 18 84 c0 44 8b 64 24 1c 0f 85 2b 09 00 00 45 8b 07 48 c7 c7 e0 05 22 8b 48 8b 74 24 08 4c 89 f2 89 e9 e8 f3 2c 32 fb <0f> 0b 48 8b 5c 24 20 48 8b 6c 24 28 41 89 de 4c 89 f7 48 c7 c6 f0
RSP: 0018:ffffc90000d26b18 EFLAGS: 00010246
RAX: 99c80f046854ce00 RBX: dffffc0000000000 RCX: ffff88813fe20000
RDX: 0000000000000000 RSI: 0000000080000000 RDI: 0000000000000000
RBP: 0000000000000001 R08: ffffffff8166391c R09: fffff520001a4ca5
R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000000000000
R13: ffff88802310ff00 R14: ffff888012dcd5f0 R15: ffffffff8b2203c8
FS:  0000000000000000(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f169684d01d CR3: 0000000022ce8000 CR4: 00000000003506f0
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_release_driver drivers/base/dd.c:1229 [inline]
 device_release_driver_internal+0x50e/0x7f0 drivers/base/dd.c:1262
 usb_driver_release_interface drivers/usb/core/driver.c:627 [inline]
 usb_forced_unbind_intf+0x155/0x220 drivers/usb/core/driver.c:1117
 usb_reset_device+0x465/0xaf0 drivers/usb/core/hub.c:6130
 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+0x24e/0xb60 drivers/base/dd.c:595
 __driver_probe_device+0x1a2/0x3d0 drivers/base/dd.c:755
 driver_probe_device+0x50/0x420 drivers/base/dd.c:785
 __device_attach_driver+0x2b9/0x500 drivers/base/dd.c:907
 bus_for_each_drv+0x183/0x200 drivers/base/bus.c:427
 __device_attach+0x359/0x570 drivers/base/dd.c:979
 bus_probe_device+0xba/0x1e0 drivers/base/bus.c:487
 device_add+0xb48/0xfd0 drivers/base/core.c:3394
 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+0x24e/0xb60 drivers/base/dd.c:595
 __driver_probe_device+0x1a2/0x3d0 drivers/base/dd.c:755
 driver_probe_device+0x50/0x420 drivers/base/dd.c:785
 __device_attach_driver+0x2b9/0x500 drivers/base/dd.c:907
 bus_for_each_drv+0x183/0x200 drivers/base/bus.c:427
 __device_attach+0x359/0x570 drivers/base/dd.c:979
 bus_probe_device+0xba/0x1e0 drivers/base/bus.c:487
 device_add+0xb48/0xfd0 drivers/base/core.c:3394
 usb_new_device+0xc17/0x18d0 drivers/usb/core/hub.c:2568
 hub_port_connect drivers/usb/core/hub.c:5358 [inline]
 hub_port_connect_change drivers/usb/core/hub.c:5502 [inline]
 port_event drivers/usb/core/hub.c:5648 [inline]
 hub_event+0x2dd8/0x56d0 drivers/usb/core/hub.c:5730
 process_one_work+0x8a1/0x10c0 kernel/workqueue.c:2307
 worker_thread+0xaca/0x1280 kernel/workqueue.c:2454
 kthread+0x3f6/0x4f0 kernel/kthread.c:319
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:298
 </TASK>

Crashes (2):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2023/05/22 18:05 linux-5.15.y 9d6bde853685 4bce1a3e .config console log report syz C [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in carl9170_usb_submit_cmd_urb/usb_submit_urb
2023/04/01 13:21 linux-5.15.y c957cbb87315 f325deb0 .config console log report syz C [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING in carl9170_usb_submit_cmd_urb/usb_submit_urb
* Struck through repros no longer work on HEAD.