syzbot


general protection fault in yurex_interrupt

Status: closed as dup on 2019/05/10 13:58
Subsystems: usb
[Documentation on labels]
Reported-by: syzbot+3f516a14255f95fc5599@syzkaller.appspotmail.com
First crash: 1869d, last: 1864d
Duplicate of
Title Repro Cause bisect Fix bisect Count Last Reported
general protection fault in __dev_printk usb C 300 1878d 1892d
Discussions (1)
Title Replies (including bot) Last reply
general protection fault in yurex_interrupt 1 (2) 2019/05/10 13:58

Sample crash report:
yurex 1-1:0.150: yurex_interrupt - unknown status received: -71
yurex 1-1:0.150: yurex_interrupt - unknown status received: -71
yurex 1-1:0.150: yurex_interrupt - unknown status received: -71
kasan: CONFIG_KASAN_INLINE enabled
kasan: GPF could be caused by NULL-ptr deref or user memory access
general protection fault: 0000 [#1] SMP KASAN PTI
CPU: 1 PID: 4796 Comm: syz-executor.0 Not tainted 5.1.0-rc3+ #8
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:dev_name include/linux/device.h:1087 [inline]
RIP: 0010:__dev_printk+0x3a/0x210 drivers/base/core.c:3208
Code: 89 f5 53 e8 42 71 d7 fe 48 85 ed 0f 84 c9 01 00 00 e8 34 71 d7 fe 48 8d 7d 50 b8 ff ff 37 00 48 89 fa 48 c1 e0 2a 48 c1 ea 03 <80> 3c 02 00 74 05 e8 25 04 fd fe 4c 8b 7d 50 4d 85 ff 75 28 e8 07
RSP: 0018:ffff8881db307930 EFLAGS: 00010002
RAX: dffffc0000000000 RBX: ffffed103b660f2d RCX: 00000000ffffffed
RDX: 0000000000000010 RSI: ffffffff8264f72c RDI: 0000000000000080
RBP: 0000000000000030 R08: ffff8881ca59e000 R09: ffffed103b664d30
R10: ffffed103b664d2f R11: ffff8881db32697f R12: ffffffff85eff740
R13: ffff8881db307988 R14: 0000000000000000 R15: ffff8881d9e99500
FS:  0000000000000000(0000) GS:ffff8881db300000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fa85e3e7000 CR3: 0000000006c26000 CR4: 00000000001406e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <IRQ>
 _dev_err+0xd7/0x109 drivers/base/core.c:3251
 yurex_interrupt.cold+0xe7/0x13d drivers/usb/misc/yurex.c:183
 __usb_hcd_giveback_urb+0x1ef/0x470 drivers/usb/core/hcd.c:1758
 usb_hcd_giveback_urb+0x341/0x400 drivers/usb/core/hcd.c:1823
 dummy_timer+0x101c/0x2e0c drivers/usb/gadget/udc/dummy_hcd.c:1979
 call_timer_fn+0x15c/0x5e0 kernel/time/timer.c:1325
 expire_timers kernel/time/timer.c:1362 [inline]
 __run_timers kernel/time/timer.c:1681 [inline]
 __run_timers kernel/time/timer.c:1649 [inline]
 run_timer_softirq+0x586/0x1400 kernel/time/timer.c:1694
 __do_softirq+0x21f/0x8bc kernel/softirq.c:293
 invoke_softirq kernel/softirq.c:374 [inline]
 irq_exit+0x17c/0x1a0 kernel/softirq.c:414
 exiting_irq arch/x86/include/asm/apic.h:536 [inline]
 smp_apic_timer_interrupt+0xf1/0x490 arch/x86/kernel/apic/apic.c:1062
 apic_timer_interrupt+0xf/0x20 arch/x86/entry/entry_64.S:807
 </IRQ>
RIP: 0010:csd_lock_wait kernel/smp.c:108 [inline]
RIP: 0010:smp_call_function_single+0x27e/0x320 kernel/smp.c:302
Code: 09 00 48 8b 4c 24 08 48 8b 54 24 10 48 8d 74 24 40 8b 7c 24 1c e8 62 fa ff ff 41 89 c4 eb 07 e8 98 ce 09 00 f3 90 8b 5c 24 58 <31> ff 83 e3 01 89 de e8 f6 cf 09 00 85 db 75 e5 e8 7d ce 09 00 e9
RSP: 0018:ffff8881ca047500 EFLAGS: 00000293 ORIG_RAX: ffffffffffffff13
RAX: ffff8881ca59e000 RBX: 0000000000000003 RCX: ffffffff813299da
RDX: 0000000000000000 RSI: ffffffff813299c8 RDI: 0000000000000005
RBP: ffff8881ca0475e0 R08: ffff8881ca59e000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000
R13: 0000000000000200 R14: 1ffff11039408ea4 R15: ffff880000001000
 smp_call_function_many+0x660/0x790 kernel/smp.c:434
 flush_tlb_others arch/x86/include/asm/paravirt.h:68 [inline]
 flush_tlb_mm_range+0x19f/0x250 arch/x86/mm/tlb.c:760
 tlb_flush arch/x86/include/asm/tlb.h:23 [inline]
 tlb_flush_mmu_tlbonly include/asm-generic/tlb.h:173 [inline]
 tlb_flush_mmu_tlbonly include/asm-generic/tlb.h:168 [inline]
 tlb_flush_mmu+0x1b1/0x500 mm/mmu_gather.c:82
 arch_tlb_finish_mmu+0x3c/0x370 mm/mmu_gather.c:100
 tlb_finish_mmu+0x97/0x100 mm/mmu_gather.c:259
 free_ldt_pgtables.part.0+0xce/0x110 arch/x86/kernel/ldt.c:319
 arch_exit_mmap arch/x86/include/asm/mmu_context.h:258 [inline]
 exit_mmap+0x217/0x4d0 mm/mmap.c:3127
 __mmput kernel/fork.c:1046 [inline]
 mmput+0xce/0x3d0 kernel/fork.c:1067
 exit_mm kernel/exit.c:546 [inline]
 do_exit+0x7eb/0x2d10 kernel/exit.c:863
 do_group_exit+0x125/0x350 kernel/exit.c:980
 get_signal+0x39e/0x1cb0 kernel/signal.c:2577
 do_signal+0x88/0x14c0 arch/x86/kernel/signal.c:816
 exit_to_usermode_loop+0x195/0x1f0 arch/x86/entry/common.c:162
 prepare_exit_to_usermode arch/x86/entry/common.c:197 [inline]
 syscall_return_slowpath arch/x86/entry/common.c:268 [inline]
 do_syscall_64+0x3ed/0x500 arch/x86/entry/common.c:293
 entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x458da9
Code: Bad RIP value.
RSP: 002b:00007f5ff577dcf8 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca
RAX: fffffffffffffe00 RBX: 000000000073bf08 RCX: 0000000000458da9
RDX: 0000000000000000 RSI: 0000000000000080 RDI: 000000000073bf08
RBP: 000000000073bf00 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 000000000073bf0c
R13: 00007ffebeb7531f R14: 00007f5ff577e9c0 R15: 000000000073bf0c
Modules linked in:
---[ end trace 297342b0e2e506f4 ]---
RIP: 0010:dev_name include/linux/device.h:1087 [inline]
RIP: 0010:__dev_printk+0x3a/0x210 drivers/base/core.c:3208
Code: 89 f5 53 e8 42 71 d7 fe 48 85 ed 0f 84 c9 01 00 00 e8 34 71 d7 fe 48 8d 7d 50 b8 ff ff 37 00 48 89 fa 48 c1 e0 2a 48 c1 ea 03 <80> 3c 02 00 74 05 e8 25 04 fd fe 4c 8b 7d 50 4d 85 ff 75 28 e8 07
RSP: 0018:ffff8881db307930 EFLAGS: 00010002
RAX: dffffc0000000000 RBX: ffffed103b660f2d RCX: 00000000ffffffed
RDX: 0000000000000010 RSI: ffffffff8264f72c RDI: 0000000000000080
RBP: 0000000000000030 R08: ffff8881ca59e000 R09: ffffed103b664d30
R10: ffffed103b664d2f R11: ffff8881db32697f R12: ffffffff85eff740
R13: ffff8881db307988 R14: 0000000000000000 R15: ffff8881d9e99500
FS:  0000000000000000(0000) GS:ffff8881db300000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000000458d7f CR3: 0000000006c26000 CR4: 00000000001406e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400

Crashes (187):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2019/05/14 23:18 https://github.com/google/kasan.git usb-fuzzer 43151d6c3fce 2e630085 .config console log report syz ci2-upstream-usb
2019/05/10 13:31 https://github.com/google/kasan.git usb-fuzzer 43151d6c3fce 018207ef .config console log report syz ci2-upstream-usb
2019/05/10 12:52 https://github.com/google/kasan.git usb-fuzzer 43151d6c3fce 018207ef .config console log report syz ci2-upstream-usb
2019/05/14 17:17 https://github.com/google/kasan.git usb-fuzzer 43151d6c3fce ada3c44c .config console log report ci2-upstream-usb
2019/05/14 15:02 https://github.com/google/kasan.git usb-fuzzer 43151d6c3fce ada3c44c .config console log report ci2-upstream-usb
2019/05/12 17:03 https://github.com/google/kasan.git usb-fuzzer 43151d6c3fce c017728b .config console log report ci2-upstream-usb
2019/05/12 16:42 https://github.com/google/kasan.git usb-fuzzer 43151d6c3fce c017728b .config console log report ci2-upstream-usb
2019/05/12 15:28 https://github.com/google/kasan.git usb-fuzzer 43151d6c3fce c017728b .config console log report ci2-upstream-usb
2019/05/12 14:20 https://github.com/google/kasan.git usb-fuzzer 43151d6c3fce c017728b .config console log report ci2-upstream-usb
2019/05/12 13:17 https://github.com/google/kasan.git usb-fuzzer 43151d6c3fce c017728b .config console log report ci2-upstream-usb
2019/05/12 12:09 https://github.com/google/kasan.git usb-fuzzer 43151d6c3fce c017728b .config console log report ci2-upstream-usb
2019/05/12 11:05 https://github.com/google/kasan.git usb-fuzzer 43151d6c3fce c017728b .config console log report ci2-upstream-usb
2019/05/12 10:25 https://github.com/google/kasan.git usb-fuzzer 43151d6c3fce c017728b .config console log report ci2-upstream-usb
2019/05/12 08:48 https://github.com/google/kasan.git usb-fuzzer 43151d6c3fce c017728b .config console log report ci2-upstream-usb
2019/05/12 07:46 https://github.com/google/kasan.git usb-fuzzer 43151d6c3fce c017728b .config console log report ci2-upstream-usb
2019/05/12 06:28 https://github.com/google/kasan.git usb-fuzzer 43151d6c3fce c017728b .config console log report ci2-upstream-usb
2019/05/12 05:52 https://github.com/google/kasan.git usb-fuzzer 43151d6c3fce c017728b .config console log report ci2-upstream-usb
2019/05/12 04:46 https://github.com/google/kasan.git usb-fuzzer 43151d6c3fce 0637a7f0 .config console log report ci2-upstream-usb
2019/05/12 03:18 https://github.com/google/kasan.git usb-fuzzer 43151d6c3fce 0637a7f0 .config console log report ci2-upstream-usb
2019/05/12 01:24 https://github.com/google/kasan.git usb-fuzzer 43151d6c3fce 0637a7f0 .config console log report ci2-upstream-usb
2019/05/12 01:03 https://github.com/google/kasan.git usb-fuzzer 43151d6c3fce 0637a7f0 .config console log report ci2-upstream-usb
2019/05/11 23:57 https://github.com/google/kasan.git usb-fuzzer 43151d6c3fce 0637a7f0 .config console log report ci2-upstream-usb
2019/05/11 21:51 https://github.com/google/kasan.git usb-fuzzer 43151d6c3fce 0637a7f0 .config console log report ci2-upstream-usb
2019/05/11 20:48 https://github.com/google/kasan.git usb-fuzzer 43151d6c3fce 0637a7f0 .config console log report ci2-upstream-usb
2019/05/11 19:47 https://github.com/google/kasan.git usb-fuzzer 43151d6c3fce 0637a7f0 .config console log report ci2-upstream-usb
2019/05/11 18:42 https://github.com/google/kasan.git usb-fuzzer 43151d6c3fce 0637a7f0 .config console log report ci2-upstream-usb
2019/05/11 17:39 https://github.com/google/kasan.git usb-fuzzer 43151d6c3fce 46caad94 .config console log report ci2-upstream-usb
2019/05/11 16:07 https://github.com/google/kasan.git usb-fuzzer 43151d6c3fce 46caad94 .config console log report ci2-upstream-usb
2019/05/11 14:49 https://github.com/google/kasan.git usb-fuzzer 43151d6c3fce 46caad94 .config console log report ci2-upstream-usb
2019/05/11 13:42 https://github.com/google/kasan.git usb-fuzzer 43151d6c3fce 46caad94 .config console log report ci2-upstream-usb
2019/05/11 12:41 https://github.com/google/kasan.git usb-fuzzer 43151d6c3fce 46caad94 .config console log report ci2-upstream-usb
2019/05/11 10:47 https://github.com/google/kasan.git usb-fuzzer 43151d6c3fce 46caad94 .config console log report ci2-upstream-usb
2019/05/11 09:18 https://github.com/google/kasan.git usb-fuzzer 43151d6c3fce 46caad94 .config console log report ci2-upstream-usb
2019/05/11 08:18 https://github.com/google/kasan.git usb-fuzzer 43151d6c3fce 46caad94 .config console log report ci2-upstream-usb
2019/05/11 07:15 https://github.com/google/kasan.git usb-fuzzer 43151d6c3fce 46caad94 .config console log report ci2-upstream-usb
2019/05/11 07:04 https://github.com/google/kasan.git usb-fuzzer 43151d6c3fce 46caad94 .config console log report ci2-upstream-usb
2019/05/11 06:03 https://github.com/google/kasan.git usb-fuzzer 43151d6c3fce 46caad94 .config console log report ci2-upstream-usb
2019/05/11 04:59 https://github.com/google/kasan.git usb-fuzzer 43151d6c3fce 46caad94 .config console log report ci2-upstream-usb
2019/05/11 03:47 https://github.com/google/kasan.git usb-fuzzer 43151d6c3fce 46caad94 .config console log report ci2-upstream-usb
2019/05/11 02:21 https://github.com/google/kasan.git usb-fuzzer 43151d6c3fce 46caad94 .config console log report ci2-upstream-usb
2019/05/11 01:13 https://github.com/google/kasan.git usb-fuzzer 43151d6c3fce 46caad94 .config console log report ci2-upstream-usb
2019/05/11 01:12 https://github.com/google/kasan.git usb-fuzzer 43151d6c3fce 46caad94 .config console log report ci2-upstream-usb
2019/05/11 01:06 https://github.com/google/kasan.git usb-fuzzer 43151d6c3fce 46caad94 .config console log report ci2-upstream-usb
2019/05/11 00:52 https://github.com/google/kasan.git usb-fuzzer 43151d6c3fce 46caad94 .config console log report ci2-upstream-usb
2019/05/11 00:33 https://github.com/google/kasan.git usb-fuzzer 43151d6c3fce 46caad94 .config console log report ci2-upstream-usb
2019/05/10 23:57 https://github.com/google/kasan.git usb-fuzzer 43151d6c3fce 46caad94 .config console log report ci2-upstream-usb
* Struck through repros no longer work on HEAD.