Warning: Permanently added '10.128.10.44' (ECDSA) to the list of known hosts. 2018/12/25 02:24:48 parsed 1 programs 2018/12/25 02:24:53 executed programs: 0 panic: kernel diagnostic assertion "__mp_lock_held(&sched_lock, curcpu()) == 0" failed: file "/syzkaller/managers/setuid/kernel/sys/kern/kern_lock.c", line 63 Stopped at db_enter+0xa: popq %rbp TID PID UID PRFLAGS PFLAGS CPU COMMAND db_enter() at db_enter+0xa panic() at panic+0x147 __assert(ffffffff81b07174,ffff80002116ef20,ffff800021084008,ffff800000038e80) a t __assert+0x24 _kernel_lock(ffff800021084008,ffff80002116a000) at _kernel_lock+0x125 pageflttrap() at pageflttrap+0x6c kerntrap(9) at kerntrap+0x8d alltraps_kern(6,82000,ffffffffffffffff,0,9,ffff800021084008) at alltraps_kern+0 x7b ptsignal(2cc4,ffff800021084008,ffff800021070ca8) at ptsignal+0x115 mi_switch() at mi_switch+0x1fb sleep_finish(1,ffff80002116f1b0) at sleep_finish+0xd3 sleep_finish_all(ffff80002116f1b0,32) at sleep_finish_all+0x22 tsleep(ffff800021084008,3,0,ffff800021070d70) at tsleep+0x142 single_thread_set(ffff800021084008,ffff800021084008,0) at single_thread_set+0x2 8b exit1(ffff800021084008,9,0) at exit1+0x84 end trace frame: 0xffff80002116f380, count: 0 https://www.openbsd.org/ddb.html describes the minimum info required in bug reports. Insufficient info makes it difficult to find and fix bugs. ddb{1}> ddb{1}> set $lines = 0 ddb{1}> show panic kernel diagnostic assertion "__mp_lock_held(&sched_lock, curcpu()) == 0" failed: file "/syzkaller/managers/setuid/kernel/sys/kern/kern_lock.c", line 63 ddb{1}> trace db_enter() at db_enter+0xa panic() at panic+0x147 __assert(ffffffff81b07174,ffff80002116ef20,ffff800021084008,ffff800000038e80) at __assert+0x24 _kernel_lock(ffff800021084008,ffff80002116a000) at _kernel_lock+0x125 pageflttrap() at pageflttrap+0x6c kerntrap(9) at kerntrap+0x8d alltraps_kern(6,82000,ffffffffffffffff,0,9,ffff800021084008) at alltraps_kern+0x7b ptsignal(2cc4,ffff800021084008,ffff800021070ca8) at ptsignal+0x115 mi_switch() at mi_switch+0x1fb sleep_finish(1,ffff80002116f1b0) at sleep_finish+0xd3 sleep_finish_all(ffff80002116f1b0,32) at sleep_finish_all+0x22 tsleep(ffff800021084008,3,0,ffff800021070d70) at tsleep+0x142 single_thread_set(ffff800021084008,ffff800021084008,0) at single_thread_set+0x28b exit1(ffff800021084008,9,0) at exit1+0x84 postsig(100,ffff800021084008) at postsig+0x3ea userret(0) at userret+0x11b syscall(0) at syscall+0x54d Xsyscall(6,58,a9366e39600,53,0,a92862ab5c0) at Xsyscall+0x128 end of kernel end trace frame: 0xa92fc82a8c0, count: -18 ddb{1}> show registers rdi 0xffffffff81e56b28 kprintf_mutex rsi 0x5 rbp 0xffff80002116ee80 rbx 0xffff80002116ef20 rdx 0x3fd rcx 0 rax 0x1 r8 0xffff80002116ee50 r9 0x8080808080808080 r10 0xb6776656e56b5016 r11 0xffffffff811194c0 x86_bus_space_io_read_1 r12 0x3000000008 r13 0xffff80002116ee90 r14 0x100 r15 0xffffffff81bf7850 cmd0646_9_tim_udma+0x22507 rip 0xffffffff8187130a db_enter+0xa cs 0x8 rflags 0x202 rsp 0xffff80002116ee80 ss 0x10 db_enter+0xa: popq %rbp ddb{1}> show proc PROC (syz-executor0) pid=339815 stat=sleep flags process=1000 proc=4002000 pri=50, usrpri=86, nice=20 forw=0x0, list=0xffff800021084710,0xffffffff81ecf050 process=0xffff800021070ca8 user=0xffff80002116a000, vmspace=0xffffff007f125108 estcpu=36, cpticks=0, pctcpu=0.0 user=0, sys=0, intr=0 ddb{1}> ps PID TID PPID UID S FLAGS WAIT COMMAND 78757 325141 27811 0 2 0x4081080 syz-executor0 *78757 339815 27811 0 3 0x4003000 suspend syz-executor0 27811 520144 23819 0 3 0x82 nanosleep syz-executor0 23819 487301 38088 0 3 0x82 thrsleep syz-execprog 23819 77208 38088 0 3 0x4000082 thrsleep syz-execprog 23819 480655 38088 0 3 0x4000082 thrsleep syz-execprog 23819 295120 38088 0 3 0x4000082 thrsleep syz-execprog 23819 39198 38088 0 3 0x4000082 thrsleep syz-execprog 23819 449651 38088 0 3 0x4000082 thrsleep syz-execprog 23819 449045 38088 0 3 0x4000082 kqread syz-execprog 23819 124592 38088 0 3 0x4000082 thrsleep syz-execprog 23819 378792 38088 0 3 0x4000082 thrsleep syz-execprog 38088 72762 66714 0 3 0x10008a pause ksh 66714 204843 45815 0 3 0x92 select sshd 4759 152476 1 0 3 0x100083 ttyin getty 45815 124960 1 0 3 0x80 select sshd 84853 160092 92560 73 3 0x100090 kqread syslogd 92560 322742 1 0 3 0x100082 netio syslogd 10714 147384 1 77 3 0x100090 poll dhclient 18317 400291 1 0 3 0x80 poll dhclient 96869 519946 0 0 3 0x14200 pgzero zerothread 72071 99294 0 0 3 0x14200 aiodoned aiodoned 1093 133863 0 0 3 0x14200 syncer update 18646 41032 0 0 3 0x14200 cleaner cleaner 38969 254830 0 0 3 0x14200 reaper reaper 10854 318657 0 0 3 0x14200 pgdaemon pagedaemon 34921 475116 0 0 3 0x14200 bored crynlk 59537 317762 0 0 3 0x14200 bored crypto 75326 315079 0 0 3 0x40014200 acpi0 acpi0 41593 18013 0 0 3 0x40014200 idle1 11447 171835 0 0 3 0x14200 bored softnet 50468 430683 0 0 3 0x14200 bored systqmp 35476 184863 0 0 3 0x14200 bored systq 25102 516996 0 0 3 0x40014200 bored softclock 15257 4301 0 0 3 0x40014200 idle0 1 16633 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{1}>