syzbot


WARNING in __might_sleep (3)

Status: closed as invalid on 2019/05/08 12:35
Subsystems: kernel
[Documentation on labels]
First crash: 1799d, last: 1790d
Similar bugs (3)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream WARNING in __might_sleep (2) serial C 36 1889d 1916d 11/26 fixed on 2019/03/06 07:43
android-49 WARNING in __might_sleep syz 11 1921d 1810d 0/3 public: reported syz repro on 2019/04/14 09:28
upstream WARNING in __might_sleep kernel 6 2163d 2166d 5/26 fixed on 2018/05/08 18:30

Sample crash report:
------------[ cut here ]------------
do not call blocking ops when !TASK_RUNNING; state=1 set at [<000000000c55877c>] do_nanosleep+0x10c/0x6a0 kernel/time/hrtimer.c:1675
WARNING: CPU: 1 PID: 5320 at kernel/sched/core.c:6136 __might_sleep+0x13a/0x190 kernel/sched/core.c:6136
Kernel panic - not syncing: panic_on_warn set ...
CPU: 1 PID: 5320 Comm: syz-executor.3 Not tainted 5.1.0-rc3-319004-g43151d6 #6
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Call Trace:
 <IRQ>
 __dump_stack lib/dump_stack.c:77 [inline]
 dump_stack+0xe8/0x16e lib/dump_stack.c:113
 panic+0x29d/0x5f2 kernel/panic.c:214
 __warn.cold+0x20/0x48 kernel/panic.c:571
 report_bug+0x262/0x2a0 lib/bug.c:186
 fixup_bug arch/x86/kernel/traps.c:179 [inline]
 fixup_bug arch/x86/kernel/traps.c:174 [inline]
 do_error_trap+0x130/0x1f0 arch/x86/kernel/traps.c:272
 do_invalid_op+0x37/0x40 arch/x86/kernel/traps.c:291
 invalid_op+0x14/0x20 arch/x86/entry/entry_64.S:973
RIP: 0010:__might_sleep+0x13a/0x190 kernel/sched/core.c:6136
Code: 65 48 8b 1c 25 00 ee 01 00 48 8d 7b 10 48 89 fe 48 c1 ee 03 80 3c 06 00 75 2b 48 8b 73 10 48 c7 c7 a0 6b 6b 8e e8 76 de f5 ff <0f> 0b e9 46 ff ff ff e8 aa fb 5a 00 e9 29 ff ff ff e8 a0 fb 5a 00
RSP: 0018:ffff8880ad107b48 EFLAGS: 00010286
RAX: 0000000000000000 RBX: ffff88809816b100 RCX: 0000000000000000
RDX: 0000000000000100 RSI: ffffffff815b2342 RDI: ffffed1015a20f5b
RBP: ffffffff8e6c1420 R08: ffff88809816b100 R09: ffffed1015a24fc9
R10: ffffed1015a24fc8 R11: ffff8880ad127e47 R12: 000000000000038c
R13: 0000000000000000 R14: 0000000000000000 R15: ffffffff8c4dcf85
 __mutex_lock_common kernel/locking/mutex.c:908 [inline]
 __mutex_lock+0xcd/0x12b0 kernel/locking/mutex.c:1072
 line6_pcm_acquire+0x35/0x210 sound/usb/line6/pcm.c:311
 call_timer_fn+0x161/0x5f0 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+0x58b/0x1400 kernel/time/timer.c:1694
 __do_softirq+0x22a/0x8cd kernel/softirq.c:293
 invoke_softirq kernel/softirq.c:374 [inline]
 irq_exit+0x187/0x1b0 kernel/softirq.c:414
 exiting_irq arch/x86/include/asm/apic.h:536 [inline]
 smp_apic_timer_interrupt+0xfe/0x4a0 arch/x86/kernel/apic/apic.c:1062
 apic_timer_interrupt+0xf/0x20 arch/x86/entry/entry_64.S:807
 </IRQ>
RIP: 0010:arch_local_irq_restore arch/x86/include/asm/paravirt.h:767 [inline]
RIP: 0010:__raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:160 [inline]
RIP: 0010:_raw_spin_unlock_irqrestore+0x50/0x60 kernel/locking/spinlock.c:184
Code: 53 f3 f6 c7 02 75 19 48 89 df 57 9d 0f 1f 44 00 00 e8 94 4a 73 f3 65 ff 0d 1d 6a fc 71 5b 5d c3 e8 c5 48 73 f3 48 89 df 57 9d <0f> 1f 44 00 00 eb e5 66 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 55
RSP: 0018:ffff8880777f7ba8 EFLAGS: 00000246 ORIG_RAX: ffffffffffffff13
RAX: 0000000000000007 RBX: 0000000000000246 RCX: 0000000000000000
RDX: 0000000000000000 RSI: 0000000000000006 RDI: 0000000000000246
RBP: ffff8880ad125ac0 R08: ffff88809816b100 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000000 R12: dffffc0000000000
R13: ffff8880ad125b40 R14: ffff8880ad125b40 R15: ffff8880ad125ac0
 unlock_hrtimer_base kernel/time/hrtimer.c:878 [inline]
 hrtimer_start_range_ns+0x5b5/0xae0 kernel/time/hrtimer.c:1109
 hrtimer_start_expires include/linux/hrtimer.h:409 [inline]
 do_nanosleep+0x1a0/0x6a0 kernel/time/hrtimer.c:1676
 hrtimer_nanosleep+0x25d/0x510 kernel/time/hrtimer.c:1733
 __do_sys_nanosleep kernel/time/hrtimer.c:1767 [inline]
 __se_sys_nanosleep kernel/time/hrtimer.c:1754 [inline]
 __x64_sys_nanosleep+0x1a2/0x220 kernel/time/hrtimer.c:1754
 do_syscall_64+0xcf/0x4f0 arch/x86/entry/common.c:290
 entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x486570
Code: 00 00 48 c7 c0 d4 ff ff ff 64 c7 00 16 00 00 00 31 c0 eb be 66 0f 1f 44 00 00 83 3d e1 01 5d 00 00 75 14 b8 23 00 00 00 0f 05 <48> 3d 01 f0 ff ff 0f 83 b4 e0 f8 ff c3 48 83 ec 08 e8 ea 53 fd ff
RSP: 002b:00007ffd5683ab78 EFLAGS: 00000246 ORIG_RAX: 0000000000000023
RAX: ffffffffffffffda RBX: 000000000013921c RCX: 0000000000486570
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 00007ffd5683ab80
RBP: 0000000000000531 R08: 0000000000000001 R09: 0000000000a57940
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000004
R13: 00007ffd5683abd0 R14: 0000000000138a03 R15: 00007ffd5683abe0
Kernel Offset: disabled
Rebooting in 86400 seconds..

Crashes (6):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2019/05/03 23:25 https://github.com/google/kasan.git usb-fuzzer 43151d6c3fce d28f4ce5 .config console log report ci2-upstream-usb
2019/05/01 15:56 https://github.com/google/kasan.git usb-fuzzer 43151d6c3fce 618456b4 .config console log report ci2-upstream-usb
2019/04/30 21:43 https://github.com/google/kasan.git usb-fuzzer 43151d6c3fce 618456b4 .config console log report ci2-upstream-usb
2019/04/30 13:53 https://github.com/google/kasan.git usb-fuzzer 43151d6c3fce 20f16bef .config console log report ci2-upstream-usb
2019/04/28 02:28 https://github.com/google/kasan.git usb-fuzzer 43151d6c3fce b617407b .config console log report ci2-upstream-usb
2019/04/24 20:14 https://github.com/google/kasan.git usb-fuzzer 43151d6c3fce 8e3c52b1 .config console log report ci2-upstream-usb
* Struck through repros no longer work on HEAD.