syzbot


WARNING in usb_submit_urb (2)

Status: fixed on 2018/10/11 14:33
Reported-by: syzbot+843efa30c8821bd69f53@syzkaller.appspotmail.com
Fix commit: 7a68d9fb8510 USB: usbdevfs: sanitize flags more
First crash: 1449d, last: 1407d
similar bugs (5):
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-4.14 WARNING in usb_submit_urb 1 1209d 1208d 0/1 auto-closed as invalid on 2019/10/24 17:37
upstream WARNING in usb_submit_urb (4) syz done 46 1192d 1380d 13/23 fixed on 2019/05/15 23:14
upstream WARNING in usb_submit_urb (5) syz 4 1184d 1188d 0/23 closed as invalid on 2019/05/27 12:47
upstream WARNING in usb_submit_urb C 2 1753d 1745d 4/23 fixed on 2018/02/02 04:39
upstream WARNING in usb_submit_urb (3) C 58 1390d 1405d 12/23 fixed on 2018/10/30 01:28

Sample crash report:
random: sshd: uninitialized urandom read (32 bytes read)
random: sshd: uninitialized urandom read (32 bytes read)
IPVS: ftp: loaded support on port[0] = 21
------------[ cut here ]------------
usb usb1: BOGUS urb flags, 40 --> 0
WARNING: CPU: 1 PID: 4669 at drivers/usb/core/urb.c:503 usb_submit_urb+0x719/0x14d0 drivers/usb/core/urb.c:502
Kernel panic - not syncing: panic_on_warn set ...

CPU: 1 PID: 4669 Comm: syz-executor184 Not tainted 4.19.0-rc1+ #215
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Call Trace:
 __dump_stack lib/dump_stack.c:77 [inline]
 dump_stack+0x1c9/0x2b4 lib/dump_stack.c:113
 panic+0x238/0x4e7 kernel/panic.c:184
 __warn.cold.8+0x163/0x1ba kernel/panic.c:536
 report_bug+0x252/0x2d0 lib/bug.c:186
 fixup_bug arch/x86/kernel/traps.c:178 [inline]
 do_error_trap+0x1fc/0x4d0 arch/x86/kernel/traps.c:296
 do_invalid_op+0x1b/0x20 arch/x86/kernel/traps.c:316
 invalid_op+0x14/0x20 arch/x86/entry/entry_64.S:993
RIP: 0010:usb_submit_urb+0x719/0x14d0 drivers/usb/core/urb.c:502
Code: 08 fd 48 8b 45 d0 48 8d b8 a0 00 00 00 e8 1f ce 72 ff 45 89 e0 44 89 e9 4c 89 fa 48 89 c6 48 c7 c7 40 d8 7d 87 e8 57 ec d2 fc <0f> 0b e8 30 29 08 fd 48 c7 c6 40 d9 7d 87 4c 89 f7 e8 71 2a 08 fd
RSP: 0018:ffff8801c9cef278 EFLAGS: 00010282
RAX: 0000000000000000 RBX: ffff8801d73b0700 RCX: 0000000000000000
RDX: 0000000000000000 RSI: ffffffff8163ac01 RDI: ffff8801c9ceef68
RBP: ffff8801c9cef2e8 R08: ffff8801b7f001c0 R09: 0000000000000006
R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000
R13: 0000000000000040 R14: 0000000000000000 R15: ffff8801ceb67800
 proc_do_submiturb+0x2669/0x3d70 drivers/usb/core/devio.c:1763
 proc_submiturb_compat+0x544/0x800 drivers/usb/core/devio.c:1997
 usbdev_do_ioctl+0x19a5/0x3b30 drivers/usb/core/devio.c:2474
 usbdev_ioctl+0x25/0x30 drivers/usb/core/devio.c:2551
 vfs_ioctl fs/ioctl.c:46 [inline]
 file_ioctl fs/ioctl.c:501 [inline]
 do_vfs_ioctl+0x1de/0x1720 fs/ioctl.c:685
 ksys_ioctl+0xa9/0xd0 fs/ioctl.c:702
 __do_sys_ioctl fs/ioctl.c:709 [inline]
 __se_sys_ioctl fs/ioctl.c:707 [inline]
 __x64_sys_ioctl+0x73/0xb0 fs/ioctl.c:707
 do_syscall_64+0x1b9/0x820 arch/x86/entry/common.c:290
 entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x444759
Code: 25 02 00 85 c0 b8 00 00 00 00 48 0f 44 c3 5b c3 90 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 0f 83 2b d7 fb ff c3 66 2e 0f 1f 84 00 00 00 00
RSP: 002b:00000000007eff78 EFLAGS: 00000213 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 00007ffc76ae18c0 RCX: 0000000000444759
RDX: 0000000020000080 RSI: 00000000802c550a RDI: 0000000000000003
RBP: 0000000000000000 R08: 0000000120080522 R09: 0000000120080522
R10: 000000000000000f R11: 0000000000000213 R12: 0000000000402310
R13: 00000000004023a0 R14: 0000000000000000 R15: 0000000000000000
Dumping ftrace buffer:
   (ftrace buffer empty)
Kernel Offset: disabled
Rebooting in 86400 seconds..

Crashes (259):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Title
ci-upstream-kasan-gce 2018/08/31 02:42 upstream 58c3f14f86c9 938220fd .config log report syz C
ci-upstream-kasan-gce 2018/08/30 23:07 upstream 58c3f14f86c9 938220fd .config log report syz C
ci-upstream-kasan-gce 2018/08/30 18:34 upstream 58c3f14f86c9 938220fd .config log report syz C
ci-upstream-kasan-gce-root 2018/08/30 20:01 upstream 58c3f14f86c9 938220fd .config log report syz
ci-upstream-kasan-gce-root 2018/08/30 19:42 upstream 58c3f14f86c9 938220fd .config log report syz
ci-upstream-kasan-gce-root 2018/08/30 18:37 upstream 58c3f14f86c9 938220fd .config log report syz
ci-upstream-linux-next-kasan-gce-root 2018/08/31 01:45 linux-next 3d18c2437944 938220fd .config log report syz
ci-upstream-linux-next-kasan-gce-root 2018/08/30 18:13 linux-next 3d18c2437944 938220fd .config log report syz
ci-upstream-kasan-gce-root 2018/10/11 10:51 upstream 9dcd936c5312 5f818b4b .config log report
ci-upstream-kasan-gce-smack-root 2018/10/11 08:32 upstream b8db9e69dba9 5f818b4b .config log report
ci-upstream-kasan-gce 2018/10/10 19:55 upstream 3d647e62686f 5b11ac2c .config log report
ci-upstream-kasan-gce-root 2018/10/10 14:48 upstream 3d647e62686f 5b11ac2c .config log report
ci-upstream-kasan-gce 2018/10/10 00:55 upstream 64c5e530ac2c 8b311eaf .config log report
ci-upstream-kasan-gce 2018/10/09 21:37 upstream 64c5e530ac2c 8b311eaf .config log report
ci-upstream-kasan-gce 2018/10/09 18:50 upstream 64c5e530ac2c 8b311eaf .config log report
ci-upstream-kasan-gce-root 2018/10/09 17:30 upstream 64c5e530ac2c 8b311eaf .config log report
ci-upstream-kasan-gce 2018/10/09 15:46 upstream 64c5e530ac2c 8b311eaf .config log report
ci-upstream-kasan-gce 2018/10/09 09:15 upstream 64c5e530ac2c 8b311eaf .config log report
ci-upstream-kasan-gce 2018/10/09 07:23 upstream 0854ba5ff5c9 8b311eaf .config log report
ci-upstream-kasan-gce-root 2018/10/09 05:40 upstream 0854ba5ff5c9 8b311eaf .config log report
ci-upstream-kasan-gce 2018/10/09 02:50 upstream 0854ba5ff5c9 8b311eaf .config log report
ci-upstream-kasan-gce 2018/10/09 00:19 upstream 0854ba5ff5c9 8b311eaf .config log report
ci-upstream-kasan-gce 2018/10/08 09:31 upstream 0238df646e62 8b311eaf .config log report
ci-upstream-kasan-gce-selinux-root 2018/10/08 07:09 upstream 0238df646e62 8b311eaf .config log report
ci-upstream-kasan-gce-root 2018/10/07 23:31 upstream fb1c592cf4c9 8b311eaf .config log report
ci-upstream-kasan-gce-root 2018/10/07 21:59 upstream fb1c592cf4c9 8b311eaf .config log report
ci-upstream-kasan-gce-smack-root 2018/10/07 20:38 upstream fb1c592cf4c9 8b311eaf .config log report
ci-upstream-kasan-gce 2018/10/07 19:32 upstream fb1c592cf4c9 8b311eaf .config log report
ci-upstream-kasan-gce-root 2018/10/07 16:52 upstream fb1c592cf4c9 8b311eaf .config log report
ci-upstream-kasan-gce 2018/10/07 14:11 upstream fb1c592cf4c9 8b311eaf .config log report
ci-upstream-kasan-gce-selinux-root 2018/10/07 07:43 upstream c1d84a1b42ef 8b311eaf .config log report
ci-upstream-kasan-gce-selinux-root 2018/10/07 02:05 upstream c1d84a1b42ef 8b311eaf .config log report
ci-upstream-kasan-gce-root 2018/10/06 23:52 upstream c1d84a1b42ef 8b311eaf .config log report
ci-upstream-kasan-gce 2018/10/06 21:43 upstream 091a1eaa0e30 8b311eaf .config log report
ci-upstream-kasan-gce 2018/10/06 18:28 upstream 091a1eaa0e30 8b311eaf .config log report
ci-upstream-kasan-gce-root 2018/10/06 16:50 upstream 091a1eaa0e30 8b311eaf .config log report
ci-upstream-kasan-gce-smack-root 2018/10/06 14:17 upstream 091a1eaa0e30 8b311eaf .config log report
ci-upstream-kasan-gce-root 2018/10/06 12:33 upstream 091a1eaa0e30 8b311eaf .config log report
ci-upstream-kasan-gce-selinux-root 2018/10/06 05:21 upstream b2e45b46d85b 8b311eaf .config log report
ci-upstream-kasan-gce 2018/10/06 05:20 upstream b2e45b46d85b 8b311eaf .config log report
ci-upstream-kasan-gce-root 2018/10/05 23:17 upstream b2e45b46d85b 8b311eaf .config log report
ci-upstream-kasan-gce 2018/10/05 13:18 upstream befad944e231 8b311eaf .config log report
ci-upstream-kasan-gce-root 2018/10/05 08:32 upstream befad944e231 8b311eaf .config log report
ci-upstream-kasan-gce-smack-root 2018/10/05 00:16 upstream 10be83cc6418 8b311eaf .config log report
ci-upstream-kasan-gce-smack-root 2018/10/04 23:06 upstream 10be83cc6418 8b311eaf .config log report
ci-upstream-kasan-gce 2018/08/30 16:53 upstream 58c3f14f86c9 938220fd .config log report
ci-upstream-kasan-gce-386 2018/09/24 07:11 upstream 6bf4ca7fbc85 28d9ac76 .config log report
ci-upstream-linux-next-kasan-gce-root 2018/10/10 04:14 linux-next 570b7bdeaf18 8b311eaf .config log report
ci-upstream-linux-next-kasan-gce-root 2018/10/08 23:25 linux-next ae16eea39a86 8b311eaf .config log report
ci-upstream-linux-next-kasan-gce-root 2018/10/07 12:02 linux-next 12ffaa1197f5 8b311eaf .config log report
ci-upstream-linux-next-kasan-gce-root 2018/10/07 10:07 linux-next 12ffaa1197f5 8b311eaf .config log report
ci-upstream-linux-next-kasan-gce-root 2018/10/07 06:14 linux-next 12ffaa1197f5 8b311eaf .config log report
ci-upstream-linux-next-kasan-gce-root 2018/10/06 08:14 linux-next 12ffaa1197f5 8b311eaf .config log report
ci-upstream-linux-next-kasan-gce-root 2018/10/06 07:07 linux-next 12ffaa1197f5 8b311eaf .config log report
ci-upstream-kmsan-gce 2018/09/03 17:24 https://github.com/google/kmsan.git master 28f0ca98eadf a4718693 .config log report