panic: kernel diagnostic assertion "__mp_lock_held(&sched_lock, curcpu()) == 0" failed: file "/syzkaller/managers/multicore/kernel/sys/kern/kern_lock.c", line 63 Starting stack trace... panic(ffffffff8295ca61) at panic+0x16f sys/kern/subr_prf.c:229 __assert(ffffffff82913016,ffffffff8287e42c,3f,ffffffff828f94f3) at __assert+0x29 sys/kern/subr_prf.c:157 _kernel_lock() at _kernel_lock+0xb6 sys/kern/kern_lock.c:63 selwakeup(ffff8000006c58f8) at selwakeup+0x1a sys/kern/sys_generic.c:830 comstart(ffff8000006c5800) at comstart+0x1f6 sys/dev/ic/com.c:918 tputchar(66,ffff8000006c5800) at tputchar+0x103 ttstart sys/kern/tty.c:1370 [inline] tputchar(66,ffff8000006c5800) at tputchar+0x103 sys/kern/tty.c:2300 kputchar(66,5,0) at kputchar+0xd9 sys/kern/subr_prf.c:360 kprintf() at kprintf+0x69a printf(ffffffff829410f2) at printf+0x79 sys/kern/subr_prf.c:529 trap_print(ffff800029ceb730,d) at trap_print+0x49 sys/arch/amd64/amd64/trap.c:457 kerntrap(ffff800029ceb730) at kerntrap+0x1bb sys/arch/amd64/amd64/trap.c:328 Xcalltrap_specstk_untramp() at Xcalltrap_specstk_untramp+0xf end trace frame: 0x0, count: 245 End of stack trace.