panic: kernel diagnostic assertion "__mp_lock_held(&sched_lock, curcpu()) == 0" failed: file "/syzkaller/managers/multicore/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 sys/arch/amd64/amd64/db_interface.c:399 panic() at panic+0x147 sys/kern/subr_prf.c:208 __assert(ffffffff81314a74,ffff8000211b76c0,ffff8000210a3c38,ffff800000038e80) at __assert+0x24 sys/kern/subr_prf.c:155 _kernel_lock(ffff8000210a3c38,ffff8000211b2000) at _kernel_lock+0x125 sys/kern/kern_lock.c:63 pageflttrap() at pageflttrap+0x6c sys/arch/amd64/amd64/trap.c:163 kerntrap(9) at kerntrap+0x8d sys/arch/amd64/amd64/trap.c:294 alltraps_kern(6,ffff800000ad7000,ffffffffffffffff,0,9,ffff8000210a3c38) at alltraps_kern+0x7b ptsignal(1f1b,ffff8000210a3c38,ffff8000210b7310) at ptsignal+0x115 sys/kern/kern_sig.c:932 mi_switch() at mi_switch+0x1fb sys/kern/sched_bsd.c:392 sleep_finish(1,ffff8000211b7950) at sleep_finish+0xd3 sys/kern/kern_synch.c:312 sleep_finish_all(ffff8000211b7950,32) at sleep_finish_all+0x22 sleep_finish_timeout sys/kern/kern_synch.c:336 [inline] sleep_finish_all(ffff8000211b7950,32) at sleep_finish_all+0x22 sys/kern/kern_synch.c:157 tsleep(ffff8000210a3c38,3,0,ffff8000210b73d8) at tsleep+0x142 single_thread_set(ffff8000210a3c38,ffff8000210a3c38,0) at single_thread_set+0x26b single_thread_wait sys/kern/kern_sig.c:2039 [inline] single_thread_set(ffff8000210a3c38,ffff8000210a3c38,0) at single_thread_set+0x26b sys/kern/kern_sig.c:2030 exit1(ffff8000210a3c38,9,0) at exit1+0x84 sys/kern/kern_exit.c:137 end trace frame: 0xffff8000211b7b20, 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.