syzbot


WARNING in usb_submit_urb

Status: fixed on 2018/02/02 04:39
Reported-by: syzbot+50d191d34989b5aa28596b0a2cb20c96f3ca4650@syzkaller.appspotmail.com
Fix commit: 446f666da9f0 USB: usbfs: Filter flags passed in from user space
First crash: 1753d, last: 1753d
similar bugs (5):
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-4.14 WARNING in usb_submit_urb 1 1208d 1208d 0/1 auto-closed as invalid on 2019/10/24 17:37
upstream WARNING in usb_submit_urb (2) C 259 1407d 1444d 12/23 fixed on 2018/10/11 14:33
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 (3) C 58 1390d 1405d 12/23 fixed on 2018/10/30 01:28

Sample crash report:
------------[ cut here ]------------
WARNING: CPU: 3 PID: 2986 at drivers/usb/core/urb.c:498 usb_submit_urb+0xeb9/0x10f0 drivers/usb/core/urb.c:497
Kernel panic - not syncing: panic_on_warn set ...

CPU: 3 PID: 2986 Comm: syzkaller630695 Not tainted 4.14.0-rc5-next-20171018+ #8
Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS Bochs 01/01/2011
Call Trace:
 __dump_stack lib/dump_stack.c:16 [inline]
 dump_stack+0x194/0x257 lib/dump_stack.c:52
 panic+0x1e4/0x41c kernel/panic.c:183
 __warn+0x1c4/0x1e0 kernel/panic.c:546
 report_bug+0x211/0x2d0 lib/bug.c:183
 fixup_bug+0x40/0x90 arch/x86/kernel/traps.c:177
 do_trap_no_signal arch/x86/kernel/traps.c:211 [inline]
 do_trap+0x260/0x390 arch/x86/kernel/traps.c:260
 do_error_trap+0x120/0x390 arch/x86/kernel/traps.c:297
 do_invalid_op+0x1b/0x20 arch/x86/kernel/traps.c:310
 invalid_op+0x18/0x20 arch/x86/entry/entry_64.S:905
RIP: 0010:usb_submit_urb+0xeb9/0x10f0 drivers/usb/core/urb.c:497
RSP: 0018:ffff880039ddf3f0 EFLAGS: 00010286
RAX: 0000000000000022 RBX: ffff88006ab64f00 RCX: 0000000000000000
RDX: 0000000000000022 RSI: 1ffff100073bbe3e RDI: ffffed00073bbe72
RBP: ffff880039ddf448 R08: 0000000000000001 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000
R13: 0000000000000002 R14: ffff88006b5d72c0 R15: 000000000000007f
 proc_do_submiturb+0x1f53/0x3860 drivers/usb/core/devio.c:1778
 proc_submiturb_compat+0x528/0x7e0 drivers/usb/core/devio.c:1999
 usbdev_do_ioctl+0x1632/0x3670 drivers/usb/core/devio.c:2475
 usbdev_ioctl+0x25/0x30 drivers/usb/core/devio.c:2552
 vfs_ioctl fs/ioctl.c:45 [inline]
 do_vfs_ioctl+0x1b1/0x1520 fs/ioctl.c:685
 SYSC_ioctl fs/ioctl.c:700 [inline]
 SyS_ioctl+0x8f/0xc0 fs/ioctl.c:691
 entry_SYSCALL_64_fastpath+0x1f/0xbe
RIP: 0033:0x439089
RSP: 002b:00007ffd7d8a88b8 EFLAGS: 00000206 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: ffffffffffffffff RCX: 0000000000439089
RDX: 0000000020274ffa RSI: 00000000802c550a RDI: 0000000000000003
RBP: 0000000000000082 R08: 00000000000000fb R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000206 R12: 0000000000000000
R13: 0000000000401ce0 R14: 0000000000401d70 R15: 0000000000000000
Dumping ftrace buffer:
   (ftrace buffer empty)
Kernel Offset: disabled
Rebooting in 86400 seconds..

Crashes (2):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Title
ci-upstream-next-kasan-gce 2017/10/30 10:33 linux-next 36ef71cae353 e511d9f8 .config log report syz C
ci-upstream-next-kasan-gce 2017/10/30 10:28 linux-next 36ef71cae353 e511d9f8 .config log report