syzbot


WARNING in hanwang_open/usb_submit_urb

Status: upstream: reported C repro on 2025/03/13 16:59
Subsystems: usb input
[Documentation on labels]
Reported-by: syzbot+9fe8f6caeb5661802ca2@syzkaller.appspotmail.com
First crash: 174d, last: 20d
Cause bisection: failed (error log, bisect log)
  
Discussions (3)
Title Replies (including bot) Last reply
[syzbot] Monthly input report (Aug 2025) 0 (1) 2025/08/14 12:42
[PATCH] Input: hanwang - require Interrupt IN endpoint 1 (1) 2025/03/16 15:13
[syzbot] [input?] [usb?] WARNING in hanwang_open/usb_submit_urb 0 (1) 2025/03/13 16:59
Similar bugs (1)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
android-6-12 WARNING in hanwang_open/usb_submit_urb origin:lts -1 C 1 3d08h 19d 0/1 premoderation: reported C repro on 2025/08/11 21:20
Last patch testing requests (7)
Created Duration User Patch Repo Result
2025/08/27 00:49 20m retest repro https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing OK log
2025/08/27 00:49 16m retest repro https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing OK log
2025/08/24 18:58 27m retest repro upstream OK log
2025/06/02 08:48 15m retest repro https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing report log
2025/06/02 08:48 9m retest repro https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing report log
2025/03/24 03:51 8m retest repro https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing report log
2025/03/24 03:51 16m retest repro https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing report log

Sample crash report:
------------[ cut here ]------------
usb 1-1: BOGUS urb xfer, pipe 1 != type 3
WARNING: CPU: 1 PID: 5191 at drivers/usb/core/urb.c:504 usb_submit_urb+0xc82/0x1890 drivers/usb/core/urb.c:503
Modules linked in:
CPU: 1 UID: 0 PID: 5191 Comm: acpid Not tainted 6.16.0-syzkaller #0 PREEMPT(full) 
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2025
RIP: 0010:usb_submit_urb+0xc82/0x1890 drivers/usb/core/urb.c:503
Code: 89 e0 48 c1 e8 03 42 0f b6 04 28 84 c0 0f 85 6d 08 00 00 45 8b 04 24 48 c7 c7 e0 5d 33 8c 4c 89 f6 4c 89 fa e8 ef 4b 6b fa 90 <0f> 0b 90 90 44 0f b6 64 24 48 4c 89 e7 48 c7 c6 b0 f6 dc 8e e8 b5
RSP: 0018:ffffc90003047648 EFLAGS: 00010246
RAX: ea37b9e6b4509100 RBX: ffff88801a592c00 RCX: ffff8880749a3c00
RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000002
RBP: 0000000000000000 R08: ffffc90003047367 R09: 1ffff92000608e6c
R10: dffffc0000000000 R11: fffff52000608e6d R12: ffffffff8c335bc8
R13: dffffc0000000000 R14: ffffffff8c33c6c0 R15: ffff888020ea4960
FS:  00007f102c2e0740(0000) GS:ffff888125d57000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000558ef39bc368 CR3: 000000002f7f8000 CR4: 00000000003526f0
Call Trace:
 <TASK>
 hanwang_open+0x9f/0xd0 drivers/input/tablet/hanwang.c:284
 input_open_device+0x1c5/0x360 drivers/input/input.c:600
 evdev_open_device drivers/input/evdev.c:391 [inline]
 evdev_open+0x4ac/0x5a0 drivers/input/evdev.c:478
 chrdev_open+0x4c9/0x5e0 fs/char_dev.c:414
 do_dentry_open+0xdf0/0x1970 fs/open.c:964
 vfs_open+0x3b/0x340 fs/open.c:1094
 do_open fs/namei.c:3896 [inline]
 path_openat+0x2ee5/0x3830 fs/namei.c:4055
 do_filp_open+0x1fa/0x410 fs/namei.c:4082
 do_sys_openat2+0x121/0x1c0 fs/open.c:1437
 do_sys_open fs/open.c:1452 [inline]
 __do_sys_openat fs/open.c:1468 [inline]
 __se_sys_openat fs/open.c:1463 [inline]
 __x64_sys_openat+0x138/0x170 fs/open.c:1463
 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
 do_syscall_64+0xfa/0x3b0 arch/x86/entry/syscall_64.c:94
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f102c36a407
Code: 48 89 fa 4c 89 df e8 38 aa 00 00 8b 93 08 03 00 00 59 5e 48 83 f8 fc 74 1a 5b c3 0f 1f 84 00 00 00 00 00 48 8b 44 24 10 0f 05 <5b> c3 0f 1f 80 00 00 00 00 83 e2 39 83 fa 08 75 de e8 23 ff ff ff
RSP: 002b:00007ffe208ca8a0 EFLAGS: 00000202 ORIG_RAX: 0000000000000101
RAX: ffffffffffffffda RBX: 00007f102c2e0740 RCX: 00007f102c36a407
RDX: 0000000000080800 RSI: 00007ffe208caab0 RDI: ffffffffffffff9c
RBP: 00007ffe208caab0 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000202 R12: 0000000000000020
R13: 00007ffe208cabb0 R14: 000055820532e7fe R15: 00007ffe208cabb0
 </TASK>

Crashes (6):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2025/08/10 08:46 upstream 038d61fd6422 32a0e5ed .config strace log report syz / log C [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root WARNING in hanwang_open/usb_submit_urb
2025/08/10 06:56 upstream 038d61fd6422 32a0e5ed .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root WARNING in hanwang_open/usb_submit_urb
2025/04/01 10:29 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing ed492c95f13a 36d76a97 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-usb WARNING in hanwang_open/usb_submit_urb
2025/03/09 17:33 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing b331a3d8097f 163f510d .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-upstream-usb WARNING in hanwang_open/usb_submit_urb
2025/03/09 17:12 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing b331a3d8097f 163f510d .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-upstream-usb WARNING in hanwang_open/usb_submit_urb
2025/03/09 16:53 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing b331a3d8097f 163f510d .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-usb WARNING in hanwang_open/usb_submit_urb
* Struck through repros no longer work on HEAD.