syzbot


WARNING in cxacru_cm/usb_submit_urb

Status: fixed on 2024/07/09 19:14
Subsystems: usb
[Documentation on labels]
Reported-by: syzbot+00c18ee8497dd3be6ade@syzkaller.appspotmail.com
Fix commit: 2eabb655a968 usb: atm: cxacru: fix endpoint checking in cxacru_bind()
First crash: 1736d, last: 167d
Cause bisection: failed (error log, bisect log)
  
Fix bisection the fix commit could be any of (bisect log):
  894d6f401b21 Merge tag 'spi-fix-v5.14-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi
  568035b01cfb Linux 6.0-rc1
  
Discussions (3)
Title Replies (including bot) Last reply
[PATCH v2] usb: atm: cxacru: fix endpoint checking in cxacru_bind() 1 (1) 2024/06/09 13:15
WARNING in cxacru_cm/usb_submit_urb 2 (5) 2024/06/09 11:56
[PATCH] usb: atm: cxacru: fix endpoint checking in cxacru_bind() 3 (3) 2024/06/04 17:57
Last patch testing requests (13)
Created Duration User Patch Repo Result
2024/06/21 01:26 16m retest repro https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing report log
2024/06/21 01:26 16m retest repro https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing report log
2024/06/21 01:26 16m retest repro https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing report log
2024/06/21 01:26 8m retest repro https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing report log
2024/06/21 01:26 16m retest repro https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing report log
2024/06/09 11:19 22m n.zhandarovich@fintech.ru patch https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master OK log
2024/05/31 15:42 17m retest repro upstream report log
2024/05/31 15:42 16m retest repro upstream report log
2024/05/28 17:59 19m n.zhandarovich@fintech.ru patch https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master OK log
2024/05/17 15:04 15m retest repro upstream report log
2024/05/03 12:01 21m retest repro upstream report log
2024/04/19 05:00 21m retest repro upstream error
2020/09/15 02:16 16m brookebasile@gmail.com upstream OK
Fix bisection attempts (16)
Created Duration User Patch Repo Result
2022/08/16 13:20 28m bisect fix upstream OK (2) job log
2022/07/12 15:16 19m bisect fix upstream OK (0) job log log
2022/06/09 06:36 26m bisect fix upstream OK (0) job log log
2022/05/09 21:51 19m bisect fix upstream OK (0) job log log
2022/04/05 08:05 18m bisect fix upstream OK (0) job log log
2022/03/06 05:01 19m bisect fix upstream OK (0) job log log
2022/02/04 04:40 20m bisect fix upstream OK (0) job log log
2022/01/05 03:00 19m bisect fix upstream OK (0) job log log
2021/12/06 02:18 20m bisect fix upstream OK (0) job log log
2021/11/06 01:57 21m bisect fix upstream OK (0) job log log
2021/10/07 01:25 21m bisect fix upstream OK (0) job log log
2021/09/07 00:57 28m bisect fix upstream OK (0) job log log
2021/06/16 14:18 20m bisect fix upstream OK (0) job log log
2021/05/17 13:56 22m bisect fix upstream OK (0) job log log
2021/04/17 13:34 21m bisect fix upstream OK (0) job log log
2021/03/18 13:13 20m bisect fix upstream OK (0) job log log
Cause bisection attempts (4)
Created Duration User Patch Repo Result
2023/11/28 03:15 12h00m bisect upstream error job log
2023/09/25 12:28 12h03m bisect upstream error job log
marked invalid by nogikh@google.com
2021/02/27 19:35 8h09m bisect upstream error job log
marked invalid by nogikh@google.com
2021/02/12 09:58 0m bisect upstream error job log

Sample crash report:
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 1 != type 3
WARNING: CPU: 0 PID: 8667 at drivers/usb/core/urb.c:502 usb_submit_urb+0xed2/0x18a0 drivers/usb/core/urb.c:502
Modules linked in:
CPU: 0 PID: 8667 Comm: kworker/0:4 Not tainted 5.14.0-rc4-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Workqueue: usb_hub_wq hub_event
RIP: 0010:usb_submit_urb+0xed2/0x18a0 drivers/usb/core/urb.c:502
Code: 7c 24 18 e8 c0 c7 1e fc 48 8b 7c 24 18 e8 86 0e 0c ff 41 89 d8 44 89 e1 4c 89 ea 48 89 c6 48 c7 c7 80 2e 27 8a e8 e2 11 92 03 <0f> 0b e9 58 f8 ff ff e8 92 c7 1e fc 48 81 c5 40 06 00 00 e9 84 f7
RSP: 0018:ffffc90001fb6e68 EFLAGS: 00010286
RAX: 0000000000000000 RBX: 0000000000000003 RCX: 0000000000000000
RDX: ffff88802bb26000 RSI: ffffffff815cbd85 RDI: fffff520003f6dbf
RBP: ffff888033ab79e0 R08: 0000000000000000 R09: 0000000000000000
R10: ffffffff815c5b8e R11: 0000000000000000 R12: 0000000000000001
R13: ffff8880299ff2c0 R14: 0000000000000002 R15: ffff8880278f1700
FS:  0000000000000000(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000055fcdde25bf8 CR3: 0000000029cd5000 CR4: 00000000001506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 cxacru_cm+0x3c0/0x8e0 drivers/usb/atm/cxacru.c:649
 cxacru_card_status+0x22/0xd0 drivers/usb/atm/cxacru.c:760
 cxacru_bind+0x7ac/0x11a0 drivers/usb/atm/cxacru.c:1209
 usbatm_usb_probe+0x321/0x1ae0 drivers/usb/atm/usbatm.c:1055
 cxacru_usb_probe+0xdf/0x1e0 drivers/usb/atm/cxacru.c:1363
 usb_probe_interface+0x315/0x7f0 drivers/usb/core/driver.c:396
 call_driver_probe drivers/base/dd.c:517 [inline]
 really_probe+0x23c/0xcd0 drivers/base/dd.c:595
 __driver_probe_device+0x338/0x4d0 drivers/base/dd.c:747
 driver_probe_device+0x4c/0x1a0 drivers/base/dd.c:777
 __device_attach_driver+0x20b/0x2f0 drivers/base/dd.c:894
 bus_for_each_drv+0x15f/0x1e0 drivers/base/bus.c:427
 __device_attach+0x228/0x4a0 drivers/base/dd.c:965
 bus_probe_device+0x1e4/0x290 drivers/base/bus.c:487
 device_add+0xc2f/0x2180 drivers/base/core.c:3354
 usb_set_configuration+0x113a/0x1910 drivers/usb/core/message.c:2170
 usb_generic_driver_probe+0xba/0x100 drivers/usb/core/generic.c:238
 usb_probe_device+0xd9/0x2c0 drivers/usb/core/driver.c:293
 call_driver_probe drivers/base/dd.c:517 [inline]
 really_probe+0x23c/0xcd0 drivers/base/dd.c:595
 __driver_probe_device+0x338/0x4d0 drivers/base/dd.c:747
 driver_probe_device+0x4c/0x1a0 drivers/base/dd.c:777
 __device_attach_driver+0x20b/0x2f0 drivers/base/dd.c:894
 bus_for_each_drv+0x15f/0x1e0 drivers/base/bus.c:427
 __device_attach+0x228/0x4a0 drivers/base/dd.c:965
 bus_probe_device+0x1e4/0x290 drivers/base/bus.c:487
 device_add+0xc2f/0x2180 drivers/base/core.c:3354
 usb_new_device.cold+0x63f/0x108e drivers/usb/core/hub.c:2563
 hub_port_connect drivers/usb/core/hub.c:5348 [inline]
 hub_port_connect_change drivers/usb/core/hub.c:5488 [inline]
 port_event drivers/usb/core/hub.c:5634 [inline]
 hub_event+0x2357/0x4330 drivers/usb/core/hub.c:5716
 process_one_work+0x98d/0x1630 kernel/workqueue.c:2276
 worker_thread+0x658/0x11f0 kernel/workqueue.c:2422
 kthread+0x3e5/0x4d0 kernel/kthread.c:319
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295

Crashes (14):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2021/08/07 04:59 upstream 894d6f401b21 6972b106 .config console log report syz C ci-upstream-kasan-gce-selinux-root WARNING in cxacru_cm/usb_submit_urb
2021/06/25 22:59 upstream 44db63d1ad8d ae6bf8dd .config console log report syz C ci-upstream-kasan-gce-smack-root WARNING in cxacru_cm/usb_submit_urb
2021/06/17 20:07 upstream 70585216fe77 aba2b2fb .config console log report syz C ci-upstream-kasan-gce-root WARNING in cxacru_cm/usb_submit_urb
2021/02/12 08:18 upstream 291009f656e8 a5f86b15 .config console log report syz C ci-upstream-kasan-gce WARNING in cxacru_cm/usb_submit_urb
2023/06/12 19:21 upstream 858fd168a95c aaed0183 .config console log report syz C [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream WARNING in cxacru_cm/usb_submit_urb
2021/02/16 13:13 upstream f40ddce88593 98682e5e .config console log report syz C ci-qemu-upstream WARNING in cxacru_cm/usb_submit_urb
2021/07/20 07:31 linux-next c1a6d08348fc bc48c9ab .config console log report syz C ci-upstream-linux-next-kasan-gce-root WARNING in cxacru_cm/usb_submit_urb
2020/12/25 13:43 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 3644e2d2dda7 b982b3ea .config console log report syz C ci2-upstream-usb
2020/06/29 17:34 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 9cf6ffae3800 ce9ef6f2 .config console log report syz C ci2-upstream-usb
2020/06/10 11:28 https://github.com/google/kasan.git usb-fuzzer 2089c6ed5a17 860c4de9 .config console log report syz C ci2-upstream-usb
2020/03/23 17:10 https://github.com/google/kasan.git usb-fuzzer e17994d1e7b1 84f999d6 .config console log report syz C ci2-upstream-usb
2020/03/05 16:39 https://github.com/google/kasan.git usb-fuzzer d6ff8147a51c b655d91b .config console log report syz C ci2-upstream-usb
2020/08/03 01:29 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing e3ee0e740c38 96dd3623 .config console log report ci2-upstream-usb
2020/03/05 16:21 https://github.com/google/kasan.git usb-fuzzer d6ff8147a51c b655d91b .config console log report ci2-upstream-usb
* Struck through repros no longer work on HEAD.