syzbot


WARNING in do_proc_control/usb_submit_urb

Status: fixed on 2021/11/10 00:50
Reported-by: syzbot+72af3105289dcb4c055b@syzkaller.appspotmail.com
Fix commit: b0863f192732 USB: core: Fix incorrect pipe calculation in do_proc_control()
First crash: 572d, last: 554d

Cause bisection: failed (bisect log)
Last patch testing requests:
Created Duration User Patch Repo Result
2021/07/12 16:14 16m stern@rowland.harvard.edu patch https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git ee268dee OK
2021/07/11 15:53 11m stern@rowland.harvard.edu https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git ee268dee report log
2021/07/10 14:50 16m stern@rowland.harvard.edu patch https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git ee268dee report log

Sample crash report:
------------[ cut here ]------------
usb usb2: BOGUS control dir, pipe 80000180 doesn't match bRequestType 80
WARNING: CPU: 0 PID: 8442 at drivers/usb/core/urb.c:410 usb_submit_urb+0x149d/0x18a0 drivers/usb/core/urb.c:410
Modules linked in:
CPU: 1 PID: 8442 Comm: syz-executor261 Tainted: G        W         5.13.0-next-20210707-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:usb_submit_urb+0x149d/0x18a0 drivers/usb/core/urb.c:410
Code: 7c 24 40 e8 45 1e 20 fc 48 8b 7c 24 40 e8 6b 40 0c ff 45 89 e8 44 89 f1 4c 89 e2 48 89 c6 48 c7 c7 a0 99 27 8a e8 5a a4 91 03 <0f> 0b e9 a5 ee ff ff e8 17 1e 20 fc 0f b6 1d 21 86 02 08 31 ff 41
RSP: 0018:ffffc90002f5f9a8 EFLAGS: 00010286
RAX: 0000000000000000 RBX: ffff888146fee058 RCX: 0000000000000000
RDX: ffff88801891b900 RSI: ffffffff815d7735 RDI: fffff520005ebf27
RBP: ffff88801f4523e8 R08: 0000000000000000 R09: 0000000000000000
R10: ffffffff815d156e R11: 0000000000000000 R12: ffff88801c6aa8c0
R13: 0000000000000080 R14: 0000000080000180 R15: ffff8880205f3a00
FS:  0000000000977300(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fdf91ee0000 CR3: 0000000016427000 CR4: 00000000001506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 usb_start_wait_urb+0x101/0x4c0 drivers/usb/core/message.c:58
 usb_internal_control_msg drivers/usb/core/message.c:102 [inline]
 usb_control_msg+0x31c/0x4a0 drivers/usb/core/message.c:153
 do_proc_control+0x6c4/0x920 drivers/usb/core/devio.c:1141
 proc_control drivers/usb/core/devio.c:1191 [inline]
 usbdev_do_ioctl drivers/usb/core/devio.c:2540 [inline]
 usbdev_ioctl+0x10e2/0x36c0 drivers/usb/core/devio.c:2713
 vfs_ioctl fs/ioctl.c:51 [inline]
 __do_sys_ioctl fs/ioctl.c:1069 [inline]
 __se_sys_ioctl fs/ioctl.c:1055 [inline]
 __x64_sys_ioctl+0x193/0x200 fs/ioctl.c:1055
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x44/0xae
RIP: 0033:0x443489
Code: 28 c3 e8 2a 14 00 00 66 2e 0f 1f 84 00 00 00 00 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 c0 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007ffcf9b3e838 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 00000000004004a0 RCX: 0000000000443489
RDX: 0000000020000000 RSI: 00000000c0185500 RDI: 0000000000000003
RBP: 0000000000403030 R08: 0000000000000000 R09: 00000000004004a0
R10: 000000000000000f R11: 0000000000000246 R12: 00000000004030c0
R13: 0000000000000000 R14: 00000000004b1018 R15: 00000000004004a0

Crashes (456):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets Title
ci-upstream-linux-next-kasan-gce-root 2021/07/07 16:56 linux-next ee268dee405b 4846d5c1 .config console log report syz C WARNING in do_proc_control/usb_submit_urb
ci-upstream-kasan-gce-root 2021/07/24 05:44 upstream 8baef6386baa bc5f1d88 .config console log report info WARNING in do_proc_control/usb_submit_urb
ci-upstream-kasan-gce-root 2021/07/24 04:14 upstream 8baef6386baa bc5f1d88 .config console log report info WARNING in do_proc_control/usb_submit_urb
ci-upstream-kasan-gce-selinux-root 2021/07/24 02:43 upstream 8baef6386baa bc5f1d88 .config console log report info WARNING in do_proc_control/usb_submit_urb
ci-upstream-kasan-gce-root 2021/07/24 01:11 upstream 8baef6386baa bc5f1d88 .config console log report info WARNING in do_proc_control/usb_submit_urb
ci-upstream-kasan-gce 2021/07/23 16:40 upstream 9bead1b58c4c bc5f1d88 .config console log report info WARNING in do_proc_control/usb_submit_urb
ci-upstream-kasan-gce-smack-root 2021/07/23 15:11 upstream 9bead1b58c4c bc5f1d88 .config console log report info WARNING in do_proc_control/usb_submit_urb
ci-upstream-kasan-gce-smack-root 2021/07/23 14:07 upstream 9bead1b58c4c bc5f1d88 .config console log report info WARNING in do_proc_control/usb_submit_urb
ci-upstream-kasan-gce 2021/07/23 13:00 upstream 9bead1b58c4c bc5f1d88 .config console log report info WARNING in do_proc_control/usb_submit_urb
ci-upstream-kasan-gce-root 2021/07/23 11:23 upstream 9bead1b58c4c bc5f1d88 .config console log report info WARNING in do_proc_control/usb_submit_urb
ci-upstream-kasan-gce 2021/07/23 10:18 upstream 9bead1b58c4c bc5f1d88 .config console log report info WARNING in do_proc_control/usb_submit_urb
ci-upstream-kasan-gce-selinux-root 2021/07/23 07:29 upstream 9bead1b58c4c bc5f1d88 .config console log report info WARNING in do_proc_control/usb_submit_urb
ci-upstream-kasan-gce 2021/07/23 05:57 upstream 9bead1b58c4c bc5f1d88 .config console log report info WARNING in do_proc_control/usb_submit_urb
ci-upstream-kasan-gce-root 2021/07/22 15:52 upstream 3d5895cd3517 302e51de .config console log report info WARNING in do_proc_control/usb_submit_urb
ci-upstream-kasan-gce-root 2021/07/21 22:25 upstream 8cae8cd89f05 29c3f20f .config console log report info WARNING in do_proc_control/usb_submit_urb
ci-upstream-kasan-gce 2021/07/21 22:11 upstream 8cae8cd89f05 29c3f20f .config console log report info WARNING in do_proc_control/usb_submit_urb
ci-upstream-kasan-gce 2021/07/21 21:07 upstream 8cae8cd89f05 29c3f20f .config console log report info WARNING in do_proc_control/usb_submit_urb
ci-upstream-kasan-gce-root 2021/07/21 15:23 upstream 8cae8cd89f05 1b201b48 .config console log report info WARNING in do_proc_control/usb_submit_urb
ci-upstream-kasan-gce-selinux-root 2021/07/21 13:31 upstream 8cae8cd89f05 1b201b48 .config console log report info WARNING in do_proc_control/usb_submit_urb
ci-upstream-kasan-gce 2021/07/21 12:25 upstream 8cae8cd89f05 1b201b48 .config console log report info WARNING in do_proc_control/usb_submit_urb
ci-upstream-kasan-gce-selinux-root 2021/07/21 12:03 upstream 8cae8cd89f05 1b201b48 .config console log report info WARNING in do_proc_control/usb_submit_urb
ci-upstream-kasan-gce-root 2021/07/21 10:03 upstream 8cae8cd89f05 1b201b48 .config console log report info WARNING in do_proc_control/usb_submit_urb
ci-upstream-kasan-gce-smack-root 2021/07/21 06:50 upstream 8cae8cd89f05 1b201b48 .config console log report info WARNING in do_proc_control/usb_submit_urb
ci-upstream-kasan-gce 2021/07/21 02:19 upstream 8cae8cd89f05 1b201b48 .config console log report info WARNING in do_proc_control/usb_submit_urb
ci-upstream-kasan-gce 2021/07/21 01:05 upstream 8cae8cd89f05 1b201b48 .config console log report info WARNING in do_proc_control/usb_submit_urb
ci-upstream-kasan-gce 2021/07/20 21:56 upstream 8cae8cd89f05 1b201b48 .config console log report info WARNING in do_proc_control/usb_submit_urb
ci-upstream-kasan-gce-selinux-root 2021/07/20 20:55 upstream 8cae8cd89f05 1b201b48 .config console log report info WARNING in do_proc_control/usb_submit_urb
ci-upstream-kasan-gce 2021/07/20 19:22 upstream 8cae8cd89f05 1b201b48 .config console log report info WARNING in do_proc_control/usb_submit_urb
ci-upstream-kasan-gce-smack-root 2021/07/20 18:20 upstream 8cae8cd89f05 1b201b48 .config console log report info WARNING in do_proc_control/usb_submit_urb
ci-upstream-kasan-gce-root 2021/07/20 18:12 upstream 8cae8cd89f05 1b201b48 .config console log report info WARNING in do_proc_control/usb_submit_urb
ci-upstream-kasan-gce-smack-root 2021/07/20 11:20 upstream 2734d6c1b1a0 bc48c9ab .config console log report info WARNING in do_proc_control/usb_submit_urb
ci-upstream-kasan-gce 2021/07/20 11:01 upstream 2734d6c1b1a0 bc48c9ab .config console log report info WARNING in do_proc_control/usb_submit_urb
ci-upstream-kasan-gce 2021/07/20 09:06 upstream 2734d6c1b1a0 bc48c9ab .config console log report info WARNING in do_proc_control/usb_submit_urb
ci-upstream-kasan-gce 2021/07/20 05:21 upstream 2734d6c1b1a0 bc48c9ab .config console log report info WARNING in do_proc_control/usb_submit_urb
ci-upstream-kasan-gce-root 2021/07/19 20:58 upstream 2734d6c1b1a0 e6a17580 .config console log report info WARNING in do_proc_control/usb_submit_urb
ci-upstream-kasan-gce-smack-root 2021/07/19 17:41 upstream 2734d6c1b1a0 e6a17580 .config console log report info WARNING in do_proc_control/usb_submit_urb
ci-upstream-kasan-gce-smack-root 2021/07/19 15:55 upstream 2734d6c1b1a0 e6a17580 .config console log report info WARNING in do_proc_control/usb_submit_urb
ci-upstream-kasan-gce-root 2021/07/19 15:42 upstream 2734d6c1b1a0 e6a17580 .config console log report info WARNING in do_proc_control/usb_submit_urb
ci-upstream-kasan-gce-selinux-root 2021/07/19 14:26 upstream 2734d6c1b1a0 e6a17580 .config console log report info WARNING in do_proc_control/usb_submit_urb
ci-upstream-kasan-gce 2021/07/19 12:23 upstream 2734d6c1b1a0 e6a17580 .config console log report info WARNING in do_proc_control/usb_submit_urb
ci-upstream-kasan-gce-selinux-root 2021/07/19 08:55 upstream 2734d6c1b1a0 f115ae98 .config console log report info WARNING in do_proc_control/usb_submit_urb
ci-upstream-kasan-gce-root 2021/07/19 07:54 upstream 2734d6c1b1a0 f115ae98 .config console log report info WARNING in do_proc_control/usb_submit_urb
ci-upstream-kasan-gce 2021/07/19 06:31 upstream 2734d6c1b1a0 f115ae98 .config console log report info WARNING in do_proc_control/usb_submit_urb
ci-upstream-kasan-gce 2021/07/19 05:32 upstream 2734d6c1b1a0 f115ae98 .config console log report info WARNING in do_proc_control/usb_submit_urb
ci-upstream-kasan-gce-root 2021/07/18 22:22 upstream 1d67c8d993ba f115ae98 .config console log report info WARNING in do_proc_control/usb_submit_urb
ci-upstream-kasan-gce-root 2021/07/18 20:22 upstream 1d67c8d993ba f115ae98 .config console log report info WARNING in do_proc_control/usb_submit_urb
ci-upstream-kasan-gce-smack-root 2021/07/18 19:09 upstream 1d67c8d993ba f115ae98 .config console log report info WARNING in do_proc_control/usb_submit_urb
ci-upstream-kasan-gce-root 2021/07/18 17:50 upstream 1d67c8d993ba f115ae98 .config console log report info WARNING in do_proc_control/usb_submit_urb
ci-qemu-upstream 2021/07/16 12:42 upstream dd9c7df94c1b f115ae98 .config console log report info WARNING in do_proc_control/usb_submit_urb
ci-upstream-kasan-gce-386 2021/07/23 14:02 upstream 9bead1b58c4c bc5f1d88 .config console log report info WARNING in do_proc_control/usb_submit_urb
ci-upstream-kasan-gce-386 2021/07/23 07:30 upstream 9bead1b58c4c bc5f1d88 .config console log report info WARNING in do_proc_control/usb_submit_urb
ci-upstream-kasan-gce-386 2021/07/22 14:44 upstream 3d5895cd3517 302e51de .config console log report info WARNING in do_proc_control/usb_submit_urb
ci-upstream-kasan-gce-386 2021/07/22 07:38 upstream 7b6ae471e541 29c3f20f .config console log report info WARNING in do_proc_control/usb_submit_urb
ci-upstream-kasan-gce-386 2021/07/20 04:09 upstream 2734d6c1b1a0 bc48c9ab .config console log report info WARNING in do_proc_control/usb_submit_urb
ci-qemu-upstream-386 2021/07/18 23:38 upstream 1d67c8d993ba f115ae98 .config console log report info WARNING in do_proc_control/usb_submit_urb
ci-upstream-linux-next-kasan-gce-root 2021/07/13 00:20 linux-next db503865b9ba f415556d .config console log report info WARNING in do_proc_control/usb_submit_urb
ci-upstream-linux-next-kasan-gce-root 2021/07/06 11:03 linux-next d72e63193059 6c4484eb .config console log report info WARNING in do_proc_control/usb_submit_urb
* Struck through repros no longer work on HEAD.