syzbot


WARNING in port100_send_cmd_async/usb_submit_urb (2)

Status: upstream: reported C repro on 2020/01/07 14:14
Reported-by: syzbot+e7687d3c762f267e48f7@syzkaller.appspotmail.com
First crash: 1072d, last: 433d

Cause bisection: introduced by (bisect log) [no-op commit]:
commit 7e49afc03212010d0ee27532a75cfeb0125bd868
Author: Masahiro Yamada <masahiroy@kernel.org>
Date: Fri Apr 17 18:04:55 2020 +0000

  um: do not evaluate compiler's library path when cleaning

Crash: WARNING in port100_send_cmd_async/usb_submit_urb (log)
Repro: syz .config

Fix bisection: fixed by (bisect log) [merge commit]:
commit 7fe7f3182a0dd8f9bad463598ed103b3d8cfa739
Author: Jakub Kicinski <kuba@kernel.org>
Date: Sat Sep 25 00:27:19 2021 +0000

  Merge git://git.kernel.org/pub/scm/linux/kernel/git/pablo/nf

similar bugs (1):
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream WARNING in port100_send_cmd_async/usb_submit_urb C 83 1105d 1245d 16/24 fixed on 2019/12/10 22:36
Patch testing requests:
Created Duration User Patch Repo Result
2022/10/01 22:30 15m retest repro upstream OK log
2022/09/05 03:27 16m retest repro https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing error
2022/09/05 02:27 16m retest repro https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing error

Sample crash report:
usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
usb 1-1: config 0 descriptor??
------------[ cut here ]------------
URB 00000000b1a1c125 submitted while active
WARNING: CPU: 0 PID: 12 at drivers/usb/core/urb.c:363 usb_submit_urb+0x10c1/0x1460 drivers/usb/core/urb.c:363
Kernel panic - not syncing: panic_on_warn set ...
CPU: 0 PID: 12 Comm: kworker/0:1 Not tainted 5.5.0-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Workqueue: usb_hub_wq hub_event
Call Trace:
 __dump_stack lib/dump_stack.c:77 [inline]
 dump_stack+0xef/0x16e lib/dump_stack.c:118
 panic+0x2aa/0x6e1 kernel/panic.c:221
 __warn.cold+0x2f/0x30 kernel/panic.c:582
 report_bug+0x27b/0x2f0 lib/bug.c:195
 fixup_bug arch/x86/kernel/traps.c:174 [inline]
 fixup_bug arch/x86/kernel/traps.c:169 [inline]
 do_error_trap+0x12b/0x1e0 arch/x86/kernel/traps.c:267
 do_invalid_op+0x32/0x40 arch/x86/kernel/traps.c:286
 invalid_op+0x23/0x30 arch/x86/entry/entry_64.S:1027
RIP: 0010:usb_submit_urb+0x10c1/0x1460 drivers/usb/core/urb.c:363
Code: 89 de e8 82 5f df fd 84 db 0f 85 42 f6 ff ff e8 45 5e df fd 4c 89 fe 48 c7 c7 00 b8 3b 86 c6 05 50 c2 7b 04 01 e8 a7 f0 b3 fd <0f> 0b e9 20 f6 ff ff c7 44 24 14 01 00 00 00 e9 d7 f6 ff ff 41 bd
RSP: 0018:ffff8881da2270d0 EFLAGS: 00010282
RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000000
RDX: 0000000000000000 RSI: ffffffff8129660d RDI: ffffed103b444e0c
RBP: ffff8881cf3d2800 R08: ffff8881da211880 R09: ffffed103b64439f
R10: ffffed103b64439e R11: ffff8881db221cf3 R12: ffff8881cfc3e500
R13: 00000000fffffff0 R14: ffff8881d13fa858 R15: ffff8881d488e500
 port100_send_frame_async drivers/nfc/port100.c:780 [inline]
 port100_send_cmd_async+0x7fd/0xbe0 drivers/nfc/port100.c:876
 port100_send_cmd_sync+0xaa/0x130 drivers/nfc/port100.c:916
 port100_set_command_type drivers/nfc/port100.c:987 [inline]
 port100_probe+0xa12/0xea0 drivers/nfc/port100.c:1567
 usb_probe_interface+0x310/0x800 drivers/usb/core/driver.c:361
 really_probe+0x290/0xac0 drivers/base/dd.c:551
 driver_probe_device+0x223/0x350 drivers/base/dd.c:724
 __device_attach_driver+0x1d1/0x290 drivers/base/dd.c:831
 bus_for_each_drv+0x162/0x1e0 drivers/base/bus.c:431
 __device_attach+0x217/0x390 drivers/base/dd.c:897
 bus_probe_device+0x1e4/0x290 drivers/base/bus.c:491
 device_add+0x1459/0x1bf0 drivers/base/core.c:2487
 usb_set_configuration+0xe47/0x17d0 drivers/usb/core/message.c:2023
 generic_probe+0x9d/0xd5 drivers/usb/core/generic.c:210
 usb_probe_device+0xaf/0x140 drivers/usb/core/driver.c:266
 really_probe+0x290/0xac0 drivers/base/dd.c:551
 driver_probe_device+0x223/0x350 drivers/base/dd.c:724
 __device_attach_driver+0x1d1/0x290 drivers/base/dd.c:831
 bus_for_each_drv+0x162/0x1e0 drivers/base/bus.c:431
 __device_attach+0x217/0x390 drivers/base/dd.c:897
 bus_probe_device+0x1e4/0x290 drivers/base/bus.c:491
 device_add+0x1459/0x1bf0 drivers/base/core.c:2487
 usb_new_device.cold+0x540/0xcd0 drivers/usb/core/hub.c:2538
 hub_port_connect drivers/usb/core/hub.c:5185 [inline]
 hub_port_connect_change drivers/usb/core/hub.c:5325 [inline]
 port_event drivers/usb/core/hub.c:5471 [inline]
 hub_event+0x21cb/0x4300 drivers/usb/core/hub.c:5553
 process_one_work+0x94b/0x1620 kernel/workqueue.c:2264
 worker_thread+0x96/0xe20 kernel/workqueue.c:2410
 kthread+0x318/0x420 kernel/kthread.c:255
 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:352
Kernel Offset: disabled
Rebooting in 86400 seconds..

Crashes (1208):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Title
ci2-upstream-usb 2020/02/08 16:57 https://github.com/google/kasan.git usb-fuzzer e5cd56e94edd 06150bf1 .config log report syz C
ci2-upstream-usb 2019/12/30 11:26 https://github.com/google/kasan.git usb-fuzzer ecdf2214f472 af6b8ef8 .config log report syz C
ci-upstream-kasan-gce-root 2021/05/16 08:14 upstream f36edc5533b2 f54a5c09 .config log report syz WARNING in port100_send_cmd_async/usb_submit_urb
ci-upstream-kasan-gce-386 2021/08/30 11:37 upstream 90ac80dcd313 be2c130d .config log report info WARNING in port100_send_cmd_async/usb_submit_urb
ci2-upstream-usb 2021/04/07 19:45 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing e9fcb07704fc 6a81331a .config log report info WARNING in port100_send_cmd_async/usb_submit_urb
ci-upstream-kasan-gce 2020/12/02 23:37 upstream 509a15421674 8c9190ef .config log report info
ci2-upstream-usb 2021/01/11 04:45 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 841081d89d5a 2c1f2513 .config log report info
ci2-upstream-usb 2021/01/11 02:38 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 841081d89d5a 2c1f2513 .config log report info
ci2-upstream-usb 2021/01/11 01:31 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 841081d89d5a 2c1f2513 .config log report info
ci2-upstream-usb 2021/01/11 00:02 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 841081d89d5a 2c1f2513 .config log report info
ci2-upstream-usb 2021/01/10 23:35 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 841081d89d5a 2c1f2513 .config log report info
ci2-upstream-usb 2021/01/10 20:04 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 841081d89d5a 2c1f2513 .config log report info
ci2-upstream-usb 2021/01/10 14:35 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 841081d89d5a 2c1f2513 .config log report info
ci2-upstream-usb 2021/01/10 13:20 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 841081d89d5a 2c1f2513 .config log report info
ci2-upstream-usb 2021/01/10 11:59 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 841081d89d5a 2c1f2513 .config log report info
ci2-upstream-usb 2021/01/10 07:07 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 841081d89d5a 2c1f2513 .config log report info
ci2-upstream-usb 2021/01/10 05:17 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 841081d89d5a 2c1f2513 .config log report info
ci2-upstream-usb 2021/01/10 00:17 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 841081d89d5a 2c1f2513 .config log report info
ci2-upstream-usb 2021/01/09 18:08 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 841081d89d5a a6c52263 .config log report info
ci2-upstream-usb 2021/01/09 16:52 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 841081d89d5a a6c52263 .config log report info
ci2-upstream-usb 2021/01/09 14:42 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 841081d89d5a a6c52263 .config log report info
ci2-upstream-usb 2021/01/09 12:43 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 841081d89d5a a6c52263 .config log report info
ci2-upstream-usb 2021/01/09 11:00 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 841081d89d5a a6c52263 .config log report info
ci2-upstream-usb 2021/01/09 06:11 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 841081d89d5a c104d4a3 .config log report info
ci2-upstream-usb 2021/01/09 02:55 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 841081d89d5a c104d4a3 .config log report info
ci2-upstream-usb 2021/01/09 00:14 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 841081d89d5a c104d4a3 .config log report info
ci2-upstream-usb 2021/01/08 21:59 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 841081d89d5a c104d4a3 .config log report info
ci2-upstream-usb 2021/01/08 19:07 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 841081d89d5a c104d4a3 .config log report info
ci2-upstream-usb 2021/01/08 17:18 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 841081d89d5a c104d4a3 .config log report info
ci2-upstream-usb 2021/01/08 09:43 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 841081d89d5a c104d4a3 .config log report info
ci2-upstream-usb 2021/01/08 05:51 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 841081d89d5a c104d4a3 .config log report info
ci2-upstream-usb 2021/01/08 03:08 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 841081d89d5a c104d4a3 .config log report info
ci2-upstream-usb 2021/01/07 23:46 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 841081d89d5a c104d4a3 .config log report info
ci2-upstream-usb 2021/01/07 20:41 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 841081d89d5a c104d4a3 .config log report info
ci2-upstream-usb 2021/01/07 15:08 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 841081d89d5a c104d4a3 .config log report info
ci2-upstream-usb 2021/01/07 12:36 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing ed054e4e95d6 c104d4a3 .config log report info
ci2-upstream-usb 2021/01/07 09:45 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing ed054e4e95d6 c104d4a3 .config log report info
ci2-upstream-usb 2021/01/07 05:40 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing ed054e4e95d6 c104d4a3 .config log report info
ci2-upstream-usb 2021/01/07 01:53 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing ed054e4e95d6 c104d4a3 .config log report info
ci2-upstream-usb 2021/01/07 00:35 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing ed054e4e95d6 c104d4a3 .config log report info
ci2-upstream-usb 2021/01/06 21:50 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing ed054e4e95d6 fff20c29 .config log report info
ci2-upstream-usb 2021/01/06 20:31 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing ed054e4e95d6 fff20c29 .config log report info
ci2-upstream-usb 2021/01/06 17:13 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing ed054e4e95d6 fff20c29 .config log report info
ci2-upstream-usb 2021/01/06 16:54 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing ed054e4e95d6 fff20c29 .config log report info
ci2-upstream-usb 2021/01/06 15:42 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing ed054e4e95d6 fff20c29 .config log report info
ci2-upstream-usb 2021/01/06 13:54 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing ed054e4e95d6 fff20c29 .config log report info
ci2-upstream-usb 2021/01/06 10:37 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing ed054e4e95d6 fff20c29 .config log report info
ci2-upstream-usb 2021/01/06 08:33 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing ed054e4e95d6 b1c228e1 .config log report info
ci2-upstream-usb 2021/01/06 07:18 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing ed054e4e95d6 b1c228e1 .config log report info
ci2-upstream-usb 2021/01/06 05:57 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing ed054e4e95d6 b1c228e1 .config log report info
ci2-upstream-usb 2019/12/30 11:14 https://github.com/google/kasan.git usb-fuzzer ecdf2214f472 af6b8ef8 .config log report
* Struck through repros no longer work on HEAD.