panic: kernel diagnostic assertion "!ISSET(p->p_flag, P_WSLEEP) || p->p_stat == SSTOP" failed: file "/syzkaller/managers/multicore/kernel/sys/kern/kern_sched.c", line 265 Starting stack trace... panic(ffffffff8279dae3) at panic+0x16f sys/kern/subr_prf.c:229 __assert(ffffffff828191a4,ffffffff82822b84,109,ffffffff82842ad2) at __assert+0x29 sys/kern/subr_prf.c:157 setrunqueue(ffff800020d58ff0,ffff8000211d9348,52) at setrunqueue+0x2e5 sys/kern/kern_sched.c:263 schedcpu(ffffffff82cc98b8) at schedcpu+0x28b sys/kern/sched_bsd.c:236 timeout_run(ffffffff82cc98b8) at timeout_run+0xd0 sys/kern/kern_timeout.c:638 softclock_process_tick_timeout(ffffffff82cc98b8,0) at softclock_process_tick_timeout+0x1b0 sys/kern/kern_timeout.c:685 softclock(0) at softclock+0x130 sys/kern/kern_timeout.c:708 softintr_dispatch(0) at softintr_dispatch+0xfb sys/arch/amd64/amd64/softintr.c:90 Xsoftclock() at Xsoftclock+0x27 end of kernel end trace frame: 0x763b39d86630, count: 248 End of stack trace. syncing disks...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(ffffffff8279dae3) at panic+0x16f sys/kern/subr_prf.c:229 __assert(ffffffff828191a4,ffffffff82784172,3f,ffffffff828534d3) at __assert+0x29 sys/kern/subr_prf.c:157 _kernel_lock() at _kernel_lock+0xb6 sys/kern/kern_lock.c:63 uvm_pseg_get(0) at uvm_pseg_get+0x30 sys/uvm/uvm_pager.c:155 uvm_pagermapin(ffff800025b56c70,b,0) at uvm_pagermapin+0xb1 sys/uvm/uvm_pager.c:278 uvn_io(fffffd8072ef7e78,ffff800025b56c70,b,31,1) at uvn_io+0x15c sys/uvm/uvm_vnode.c:1204 uvn_put(fffffd8072ef7e78,ffff800025b56c70,b,31) at uvn_put+0xd4 sys/uvm/uvm_vnode.c:926 uvm_pager_put(fffffd8072ef7e78,fffffd80082366c0,ffff800025b56d08,ffff800025b56d48,31,0,2a1b3ed517c96949) at uvm_pager_put+0x137 sys/uvm/uvm_pager.c:545 uvn_flush(fffffd8072ef7e78,0,0,31) at uvn_flush+0x532 sys/uvm/uvm_vnode.c:725 uvm_vnp_sync(ffff8000006d8c00) at uvm_vnp_sync+0x16f sys/uvm/uvm_vnode.c:1540 sys_sync(ffff8000212a7338,0,0) at sys_sync+0x9b sys/kern/vfs_syscalls.c:535 vfs_syncwait(ffff8000212a7338,1) at vfs_syncwait+0x3a vfs_shutdown(ffff8000212a7338) at vfs_shutdown+0x61 sys/kern/vfs_subr.c:1791 boot(100) at boot+0xc5 sys/arch/amd64/amd64/machdep.c:900 reboot(100) at reboot+0x81 panic(ffffffff8279dae3) at panic+0x18f sys/kern/subr_prf.c:231 __assert(ffffffff828191a4,ffffffff82822b84,109,ffffffff82842ad2) at __assert+0x29 sys/kern/subr_prf.c:157 setrunqueue(ffff800020d58ff0,ffff8000211d9348,52) at setrunqueue+0x2e5 sys/kern/kern_sched.c:263 schedcpu(ffffffff82cc98b8) at schedcpu+0x28b sys/kern/sched_bsd.c:236 timeout_run(ffffffff82cc98b8) at timeout_run+0xd0 sys/kern/kern_timeout.c:638 softclock_process_tick_timeout(ffffffff82cc98b8,0) at softclock_process_tick_timeout+0x1b0 sys/kern/kern_timeout.c:685 softclock(0) at softclock+0x130 sys/kern/kern_timeout.c:708 softintr_dispatch(0) at softintr_dispatch+0xfb sys/arch/amd64/amd64/softintr.c:90 Xsoftclock() at Xsoftclock+0x27 end of kernel end trace frame: 0x763b39d86630, count: 233 End of stack trace. dump to dev 4,1 not possible 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(ffffffff8279dae3) at panic+0x16f sys/kern/subr_prf.c:229 __assert(ffffffff828191a4,ffffffff82784172,3f,ffffffff828534d3) at __assert+0x29 sys/kern/subr_prf.c:157 _kernel_lock() at _kernel_lock+0xb6 sys/kern/kern_lock.c:63 scsi_xs_get(ffff80000002c500,3) at scsi_xs_get+0x131 scsi_iopool_get sys/scsi/scsi_base.c:257 [inline] scsi_xs_get(ffff80000002c500,3) at scsi_xs_get+0x131 sys/scsi/scsi_base.c:653 sdactivate(ffff80000019f000,6) at sdactivate+0x1e6 sd_flush sys/scsi/sd.c:1868 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1e6 sys/scsi/sd.c:271 config_suspend(ffff80000019f000,6) at config_suspend+0x50 sys/kern/subr_autoconf.c:831 scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_link sys/scsi/scsiconf.c:410 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_bus sys/scsi/scsiconf.c:360 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b sys/scsi/scsiconf.c:259 config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline] config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893 config_activate_children(ffff800000024800,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893 config_activate_children(ffff80000002ce00,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893 pciactivate(ffff80000002ce00,6) at pciactivate+0x79 sys/dev/pci/pci.c:230 config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline] config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893 config_suspend_all(6) at config_suspend_all+0x312 sys/kern/subr_autoconf.c:855 boot(104) at boot+0x177 sys/arch/amd64/amd64/machdep.c:919 reboot(104) at reboot+0x81 panic(ffffffff8279dae3) at panic+0x18f sys/kern/subr_prf.c:231 __assert(ffffffff828191a4,ffffffff82784172,3f,ffffffff828534d3) at __assert+0x29 sys/kern/subr_prf.c:157 _kernel_lock() at _kernel_lock+0xb6 sys/kern/kern_lock.c:63 uvm_pseg_get(0) at uvm_pseg_get+0x30 sys/uvm/uvm_pager.c:155 uvm_pagermapin(ffff800025b56c70,b,0) at uvm_pagermapin+0xb1 sys/uvm/uvm_pager.c:278 uvn_io(fffffd8072ef7e78,ffff800025b56c70,b,31,1) at uvn_io+0x15c sys/uvm/uvm_vnode.c:1204 uvn_put(fffffd8072ef7e78,ffff800025b56c70,b,31) at uvn_put+0xd4 sys/uvm/uvm_vnode.c:926 uvm_pager_put(fffffd8072ef7e78,fffffd80082366c0,ffff800025b56d08,ffff800025b56d48,31,0,2a1b3ed517c96949) at uvm_pager_put+0x137 sys/uvm/uvm_pager.c:545 uvn_flush(fffffd8072ef7e78,0,0,31) at uvn_flush+0x532 sys/uvm/uvm_vnode.c:725 uvm_vnp_sync(ffff8000006d8c00) at uvm_vnp_sync+0x16f sys/uvm/uvm_vnode.c:1540 sys_sync(ffff8000212a7338,0,0) at sys_sync+0x9b sys/kern/vfs_syscalls.c:535 vfs_syncwait(ffff8000212a7338,1) at vfs_syncwait+0x3a vfs_shutdown(ffff8000212a7338) at vfs_shutdown+0x61 sys/kern/vfs_subr.c:1791 boot(100) at boot+0xc5 sys/arch/amd64/amd64/machdep.c:900 reboot(100) at reboot+0x81 panic(ffffffff8279dae3) at panic+0x18f sys/kern/subr_prf.c:231 __assert(ffffffff828191a4,ffffffff82822b84,109,ffffffff82842ad2) at __assert+0x29 sys/kern/subr_prf.c:157 setrunqueue(ffff800020d58ff0,ffff8000211d9348,52) at setrunqueue+0x2e5 sys/kern/kern_sched.c:263 schedcpu(ffffffff82cc98b8) at schedcpu+0x28b sys/kern/sched_bsd.c:236 timeout_run(ffffffff82cc98b8) at timeout_run+0xd0 sys/kern/kern_timeout.c:638 softclock_process_tick_timeout(ffffffff82cc98b8,0) at softclock_process_tick_timeout+0x1b0 sys/kern/kern_timeout.c:685 softclock(0) at softclock+0x130 sys/kern/kern_timeout.c:708 softintr_dispatch(0) at softintr_dispatch+0xfb sys/arch/amd64/amd64/softintr.c:90 Xsoftclock() at Xsoftclock+0x27 end of kernel end trace frame: 0x763b39d86630, count: 218 End of stack trace. 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(ffffffff8279dae3) at panic+0x16f sys/kern/subr_prf.c:229 __assert(ffffffff828191a4,ffffffff82784172,3f,ffffffff828534d3) at __assert+0x29 sys/kern/subr_prf.c:157 _kernel_lock() at _kernel_lock+0xb6 sys/kern/kern_lock.c:63 scsi_xs_get(ffff80000002c500,3) at scsi_xs_get+0x131 scsi_iopool_get sys/scsi/scsi_base.c:257 [inline] scsi_xs_get(ffff80000002c500,3) at scsi_xs_get+0x131 sys/scsi/scsi_base.c:653 sdactivate(ffff80000019f000,6) at sdactivate+0x1e6 sd_flush sys/scsi/sd.c:1868 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1e6 sys/scsi/sd.c:271 config_suspend(ffff80000019f000,6) at config_suspend+0x50 sys/kern/subr_autoconf.c:831 scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_link sys/scsi/scsiconf.c:410 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_bus sys/scsi/scsiconf.c:360 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b sys/scsi/scsiconf.c:259 config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline] config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893 config_activate_children(ffff800000024800,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893 config_activate_children(ffff80000002ce00,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893 pciactivate(ffff80000002ce00,6) at pciactivate+0x79 sys/dev/pci/pci.c:230 config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline] config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893 config_suspend_all(6) at config_suspend_all+0x312 sys/kern/subr_autoconf.c:855 boot(104) at boot+0x177 sys/arch/amd64/amd64/machdep.c:919 reboot(104) at reboot+0x81 panic(ffffffff8279dae3) at panic+0x18f sys/kern/subr_prf.c:231 __assert(ffffffff828191a4,ffffffff82784172,3f,ffffffff828534d3) at __assert+0x29 sys/kern/subr_prf.c:157 _kernel_lock() at _kernel_lock+0xb6 sys/kern/kern_lock.c:63 scsi_xs_get(ffff80000002c500,3) at scsi_xs_get+0x131 scsi_iopool_get sys/scsi/scsi_base.c:257 [inline] scsi_xs_get(ffff80000002c500,3) at scsi_xs_get+0x131 sys/scsi/scsi_base.c:653 sdactivate(ffff80000019f000,6) at sdactivate+0x1e6 sd_flush sys/scsi/sd.c:1868 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1e6 sys/scsi/sd.c:271 config_suspend(ffff80000019f000,6) at config_suspend+0x50 sys/kern/subr_autoconf.c:831 scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_link sys/scsi/scsiconf.c:410 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_bus sys/scsi/scsiconf.c:360 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b sys/scsi/scsiconf.c:259 config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline] config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893 config_activate_children(ffff800000024800,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893 config_activate_children(ffff80000002ce00,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893 pciactivate(ffff80000002ce00,6) at pciactivate+0x79 sys/dev/pci/pci.c:230 config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline] config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893 config_suspend_all(6) at config_suspend_all+0x312 sys/kern/subr_autoconf.c:855 boot(104) at boot+0x177 sys/arch/amd64/amd64/machdep.c:919 reboot(104) at reboot+0x81 panic(ffffffff8279dae3) at panic+0x18f sys/kern/subr_prf.c:231 __assert(ffffffff828191a4,ffffffff82784172,3f,ffffffff828534d3) at __assert+0x29 sys/kern/subr_prf.c:157 _kernel_lock() at _kernel_lock+0xb6 sys/kern/kern_lock.c:63 uvm_pseg_get(0) at uvm_pseg_get+0x30 sys/uvm/uvm_pager.c:155 uvm_pagermapin(ffff800025b56c70,b,0) at uvm_pagermapin+0xb1 sys/uvm/uvm_pager.c:278 uvn_io(fffffd8072ef7e78,ffff800025b56c70,b,31,1) at uvn_io+0x15c sys/uvm/uvm_vnode.c:1204 uvn_put(fffffd8072ef7e78,ffff800025b56c70,b,31) at uvn_put+0xd4 sys/uvm/uvm_vnode.c:926 uvm_pager_put(fffffd8072ef7e78,fffffd80082366c0,ffff800025b56d08,ffff800025b56d48,31,0,2a1b3ed517c96949) at uvm_pager_put+0x137 sys/uvm/uvm_pager.c:545 uvn_flush(fffffd8072ef7e78,0,0,31) at uvn_flush+0x532 sys/uvm/uvm_vnode.c:725 uvm_vnp_sync(ffff8000006d8c00) at uvm_vnp_sync+0x16f sys/uvm/uvm_vnode.c:1540 sys_sync(ffff8000212a7338,0,0) at sys_sync+0x9b sys/kern/vfs_syscalls.c:535 vfs_syncwait(ffff8000212a7338,1) at vfs_syncwait+0x3a vfs_shutdown(ffff8000212a7338) at vfs_shutdown+0x61 sys/kern/vfs_subr.c:1791 boot(100) at boot+0xc5 sys/arch/amd64/amd64/machdep.c:900 reboot(100) at reboot+0x81 panic(ffffffff8279dae3) at panic+0x18f sys/kern/subr_prf.c:231 __assert(ffffffff828191a4,ffffffff82822b84,109,ffffffff82842ad2) at __assert+0x29 sys/kern/subr_prf.c:157 setrunqueue(ffff800020d58ff0,ffff8000211d9348,52) at setrunqueue+0x2e5 sys/kern/kern_sched.c:263 schedcpu(ffffffff82cc98b8) at schedcpu+0x28b sys/kern/sched_bsd.c:236 timeout_run(ffffffff82cc98b8) at timeout_run+0xd0 sys/kern/kern_timeout.c:638 softclock_process_tick_timeout(ffffffff82cc98b8,0) at softclock_process_tick_timeout+0x1b0 sys/kern/kern_timeout.c:685 softclock(0) at softclock+0x130 sys/kern/kern_timeout.c:708 softintr_dispatch(0) at softintr_dispatch+0xfb sys/arch/amd64/amd64/softintr.c:90 Xsoftclock() at Xsoftclock+0x27 end of kernel end trace frame: 0x763b39d86630, count: 203 End of stack trace. 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(ffffffff8279dae3) at panic+0x16f sys/kern/subr_prf.c:229 __assert(ffffffff828191a4,ffffffff82784172,3f,ffffffff828534d3) at __assert+0x29 sys/kern/subr_prf.c:157 _kernel_lock() at _kernel_lock+0xb6 sys/kern/kern_lock.c:63 scsi_xs_get(ffff80000002c500,3) at scsi_xs_get+0x131 scsi_iopool_get sys/scsi/scsi_base.c:257 [inline] scsi_xs_get(ffff80000002c500,3) at scsi_xs_get+0x131 sys/scsi/scsi_base.c:653 sdactivate(ffff80000019f000,6) at sdactivate+0x1e6 sd_flush sys/scsi/sd.c:1868 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1e6 sys/scsi/sd.c:271 config_suspend(ffff80000019f000,6) at config_suspend+0x50 sys/kern/subr_autoconf.c:831 scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_link sys/scsi/scsiconf.c:410 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_bus sys/scsi/scsiconf.c:360 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b sys/scsi/scsiconf.c:259 config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline] config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893 config_activate_children(ffff800000024800,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893 config_activate_children(ffff80000002ce00,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893 pciactivate(ffff80000002ce00,6) at pciactivate+0x79 sys/dev/pci/pci.c:230 config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline] config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893 config_suspend_all(6) at config_suspend_all+0x312 sys/kern/subr_autoconf.c:855 boot(104) at boot+0x177 sys/arch/amd64/amd64/machdep.c:919 reboot(104) at reboot+0x81 panic(ffffffff8279dae3) at panic+0x18f sys/kern/subr_prf.c:231 __assert(ffffffff828191a4,ffffffff82784172,3f,ffffffff828534d3) at __assert+0x29 sys/kern/subr_prf.c:157 _kernel_lock() at _kernel_lock+0xb6 sys/kern/kern_lock.c:63 scsi_xs_get(ffff80000002c500,3) at scsi_xs_get+0x131 scsi_iopool_get sys/scsi/scsi_base.c:257 [inline] scsi_xs_get(ffff80000002c500,3) at scsi_xs_get+0x131 sys/scsi/scsi_base.c:653 sdactivate(ffff80000019f000,6) at sdactivate+0x1e6 sd_flush sys/scsi/sd.c:1868 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1e6 sys/scsi/sd.c:271 config_suspend(ffff80000019f000,6) at config_suspend+0x50 sys/kern/subr_autoconf.c:831 scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_link sys/scsi/scsiconf.c:410 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_bus sys/scsi/scsiconf.c:360 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b sys/scsi/scsiconf.c:259 config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline] config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893 config_activate_children(ffff800000024800,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893 config_activate_children(ffff80000002ce00,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893 pciactivate(ffff80000002ce00,6) at pciactivate+0x79 sys/dev/pci/pci.c:230 config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline] config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893 config_suspend_all(6) at config_suspend_all+0x312 sys/kern/subr_autoconf.c:855 boot(104) at boot+0x177 sys/arch/amd64/amd64/machdep.c:919 reboot(104) at reboot+0x81 panic(ffffffff8279dae3) at panic+0x18f sys/kern/subr_prf.c:231 __assert(ffffffff828191a4,ffffffff82784172,3f,ffffffff828534d3) at __assert+0x29 sys/kern/subr_prf.c:157 _kernel_lock() at _kernel_lock+0xb6 sys/kern/kern_lock.c:63 scsi_xs_get(ffff80000002c500,3) at scsi_xs_get+0x131 scsi_iopool_get sys/scsi/scsi_base.c:257 [inline] scsi_xs_get(ffff80000002c500,3) at scsi_xs_get+0x131 sys/scsi/scsi_base.c:653 sdactivate(ffff80000019f000,6) at sdactivate+0x1e6 sd_flush sys/scsi/sd.c:1868 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1e6 sys/scsi/sd.c:271 config_suspend(ffff80000019f000,6) at config_suspend+0x50 sys/kern/subr_autoconf.c:831 scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_link sys/scsi/scsiconf.c:410 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_bus sys/scsi/scsiconf.c:360 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b sys/scsi/scsiconf.c:259 config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline] config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893 config_activate_children(ffff800000024800,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893 config_activate_children(ffff80000002ce00,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893 pciactivate(ffff80000002ce00,6) at pciactivate+0x79 sys/dev/pci/pci.c:230 config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline] config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893 config_suspend_all(6) at config_suspend_all+0x312 sys/kern/subr_autoconf.c:855 boot(104) at boot+0x177 sys/arch/amd64/amd64/machdep.c:919 reboot(104) at reboot+0x81 panic(ffffffff8279dae3) at panic+0x18f sys/kern/subr_prf.c:231 __assert(ffffffff828191a4,ffffffff82784172,3f,ffffffff828534d3) at __assert+0x29 sys/kern/subr_prf.c:157 _kernel_lock() at _kernel_lock+0xb6 sys/kern/kern_lock.c:63 uvm_pseg_get(0) at uvm_pseg_get+0x30 sys/uvm/uvm_pager.c:155 uvm_pagermapin(ffff800025b56c70,b,0) at uvm_pagermapin+0xb1 sys/uvm/uvm_pager.c:278 uvn_io(fffffd8072ef7e78,ffff800025b56c70,b,31,1) at uvn_io+0x15c sys/uvm/uvm_vnode.c:1204 uvn_put(fffffd8072ef7e78,ffff800025b56c70,b,31) at uvn_put+0xd4 sys/uvm/uvm_vnode.c:926 uvm_pager_put(fffffd8072ef7e78,fffffd80082366c0,ffff800025b56d08,ffff800025b56d48,31,0,2a1b3ed517c96949) at uvm_pager_put+0x137 sys/uvm/uvm_pager.c:545 uvn_flush(fffffd8072ef7e78,0,0,31) at uvn_flush+0x532 sys/uvm/uvm_vnode.c:725 uvm_vnp_sync(ffff8000006d8c00) at uvm_vnp_sync+0x16f sys/uvm/uvm_vnode.c:1540 sys_sync(ffff8000212a7338,0,0) at sys_sync+0x9b sys/kern/vfs_syscalls.c:535 vfs_syncwait(ffff8000212a7338,1) at vfs_syncwait+0x3a vfs_shutdown(ffff8000212a7338) at vfs_shutdown+0x61 sys/kern/vfs_subr.c:1791 boot(100) at boot+0xc5 sys/arch/amd64/amd64/machdep.c:900 reboot(100) at reboot+0x81 panic(ffffffff8279dae3) at panic+0x18f sys/kern/subr_prf.c:231 __assert(ffffffff828191a4,ffffffff82822b84,109,ffffffff82842ad2) at __assert+0x29 sys/kern/subr_prf.c:157 setrunqueue(ffff800020d58ff0,ffff8000211d9348,52) at setrunqueue+0x2e5 sys/kern/kern_sched.c:263 schedcpu(ffffffff82cc98b8) at schedcpu+0x28b sys/kern/sched_bsd.c:236 timeout_run(ffffffff82cc98b8) at timeout_run+0xd0 sys/kern/kern_timeout.c:638 softclock_process_tick_timeout(ffffffff82cc98b8,0) at softclock_process_tick_timeout+0x1b0 sys/kern/kern_timeout.c:685 softclock(0) at softclock+0x130 sys/kern/kern_timeout.c:708 softintr_dispatch(0) at softintr_dispatch+0xfb sys/arch/amd64/amd64/softintr.c:90 Xsoftclock() at Xsoftclock+0x27 end of kernel end trace frame: 0x763b39d86630, count: 188 End of stack trace. 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(ffffffff8279dae3) at panic+0x16f sys/kern/subr_prf.c:229 __assert(ffffffff828191a4,ffffffff82784172,3f,ffffffff828534d3) at __assert+0x29 sys/kern/subr_prf.c:157 _kernel_lock() at _kernel_lock+0xb6 sys/kern/kern_lock.c:63 scsi_xs_get(ffff80000002c500,3) at scsi_xs_get+0x131 scsi_iopool_get sys/scsi/scsi_base.c:257 [inline] scsi_xs_get(ffff80000002c500,3) at scsi_xs_get+0x131 sys/scsi/scsi_base.c:653 sdactivate(ffff80000019f000,6) at sdactivate+0x1e6 sd_flush sys/scsi/sd.c:1868 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1e6 sys/scsi/sd.c:271 config_suspend(ffff80000019f000,6) at config_suspend+0x50 sys/kern/subr_autoconf.c:831 scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_link sys/scsi/scsiconf.c:410 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_bus sys/scsi/scsiconf.c:360 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b sys/scsi/scsiconf.c:259 config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline] config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893 config_activate_children(ffff800000024800,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893 config_activate_children(ffff80000002ce00,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893 pciactivate(ffff80000002ce00,6) at pciactivate+0x79 sys/dev/pci/pci.c:230 config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline] config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893 config_suspend_all(6) at config_suspend_all+0x312 sys/kern/subr_autoconf.c:855 boot(104) at boot+0x177 sys/arch/amd64/amd64/machdep.c:919 reboot(104) at reboot+0x81 panic(ffffffff8279dae3) at panic+0x18f sys/kern/subr_prf.c:231 __assert(ffffffff828191a4,ffffffff82784172,3f,ffffffff828534d3) at __assert+0x29 sys/kern/subr_prf.c:157 _kernel_lock() at _kernel_lock+0xb6 sys/kern/kern_lock.c:63 scsi_xs_get(ffff80000002c500,3) at scsi_xs_get+0x131 scsi_iopool_get sys/scsi/scsi_base.c:257 [inline] scsi_xs_get(ffff80000002c500,3) at scsi_xs_get+0x131 sys/scsi/scsi_base.c:653 sdactivate(ffff80000019f000,6) at sdactivate+0x1e6 sd_flush sys/scsi/sd.c:1868 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1e6 sys/scsi/sd.c:271 config_suspend(ffff80000019f000,6) at config_suspend+0x50 sys/kern/subr_autoconf.c:831 scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_link sys/scsi/scsiconf.c:410 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_bus sys/scsi/scsiconf.c:360 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b sys/scsi/scsiconf.c:259 config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline] config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893 config_activate_children(ffff800000024800,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893 config_activate_children(ffff80000002ce00,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893 pciactivate(ffff80000002ce00,6) at pciactivate+0x79 sys/dev/pci/pci.c:230 config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline] config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893 config_suspend_all(6) at config_suspend_all+0x312 sys/kern/subr_autoconf.c:855 boot(104) at boot+0x177 sys/arch/amd64/amd64/machdep.c:919 reboot(104) at reboot+0x81 panic(ffffffff8279dae3) at panic+0x18f sys/kern/subr_prf.c:231 __assert(ffffffff828191a4,ffffffff82784172,3f,ffffffff828534d3) at __assert+0x29 sys/kern/subr_prf.c:157 _kernel_lock() at _kernel_lock+0xb6 sys/kern/kern_lock.c:63 scsi_xs_get(ffff80000002c500,3) at scsi_xs_get+0x131 scsi_iopool_get sys/scsi/scsi_base.c:257 [inline] scsi_xs_get(ffff80000002c500,3) at scsi_xs_get+0x131 sys/scsi/scsi_base.c:653 sdactivate(ffff80000019f000,6) at sdactivate+0x1e6 sd_flush sys/scsi/sd.c:1868 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1e6 sys/scsi/sd.c:271 config_suspend(ffff80000019f000,6) at config_suspend+0x50 sys/kern/subr_autoconf.c:831 scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_link sys/scsi/scsiconf.c:410 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_bus sys/scsi/scsiconf.c:360 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b sys/scsi/scsiconf.c:259 config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline] config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893 config_activate_children(ffff800000024800,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893 config_activate_children(ffff80000002ce00,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893 pciactivate(ffff80000002ce00,6) at pciactivate+0x79 sys/dev/pci/pci.c:230 config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline] config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893 config_suspend_all(6) at config_suspend_all+0x312 sys/kern/subr_autoconf.c:855 boot(104) at boot+0x177 sys/arch/amd64/amd64/machdep.c:919 reboot(104) at reboot+0x81 panic(ffffffff8279dae3) at panic+0x18f sys/kern/subr_prf.c:231 __assert(ffffffff828191a4,ffffffff82784172,3f,ffffffff828534d3) at __assert+0x29 sys/kern/subr_prf.c:157 _kernel_lock() at _kernel_lock+0xb6 sys/kern/kern_lock.c:63 scsi_xs_get(ffff80000002c500,3) at scsi_xs_get+0x131 scsi_iopool_get sys/scsi/scsi_base.c:257 [inline] scsi_xs_get(ffff80000002c500,3) at scsi_xs_get+0x131 sys/scsi/scsi_base.c:653 sdactivate(ffff80000019f000,6) at sdactivate+0x1e6 sd_flush sys/scsi/sd.c:1868 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1e6 sys/scsi/sd.c:271 config_suspend(ffff80000019f000,6) at config_suspend+0x50 sys/kern/subr_autoconf.c:831 scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_link sys/scsi/scsiconf.c:410 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_bus sys/scsi/scsiconf.c:360 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b sys/scsi/scsiconf.c:259 config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline] config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893 config_activate_children(ffff800000024800,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893 config_activate_children(ffff80000002ce00,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893 pciactivate(ffff80000002ce00,6) at pciactivate+0x79 sys/dev/pci/pci.c:230 config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline] config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893 config_suspend_all(6) at config_suspend_all+0x312 sys/kern/subr_autoconf.c:855 boot(104) at boot+0x177 sys/arch/amd64/amd64/machdep.c:919 reboot(104) at reboot+0x81 panic(ffffffff8279dae3) at panic+0x18f sys/kern/subr_prf.c:231 __assert(ffffffff828191a4,ffffffff82784172,3f,ffffffff828534d3) at __assert+0x29 sys/kern/subr_prf.c:157 _kernel_lock() at _kernel_lock+0xb6 sys/kern/kern_lock.c:63 uvm_pseg_get(0) at uvm_pseg_get+0x30 sys/uvm/uvm_pager.c:155 uvm_pagermapin(ffff800025b56c70,b,0) at uvm_pagermapin+0xb1 sys/uvm/uvm_pager.c:278 uvn_io(fffffd8072ef7e78,ffff800025b56c70,b,31,1) at uvn_io+0x15c sys/uvm/uvm_vnode.c:1204 uvn_put(fffffd8072ef7e78,ffff800025b56c70,b,31) at uvn_put+0xd4 sys/uvm/uvm_vnode.c:926 uvm_pager_put(fffffd8072ef7e78,fffffd80082366c0,ffff800025b56d08,ffff800025b56d48,31,0,2a1b3ed517c96949) at uvm_pager_put+0x137 sys/uvm/uvm_pager.c:545 uvn_flush(fffffd8072ef7e78,0,0,31) at uvn_flush+0x532 sys/uvm/uvm_vnode.c:725 uvm_vnp_sync(ffff8000006d8c00) at uvm_vnp_sync+0x16f sys/uvm/uvm_vnode.c:1540 sys_sync(ffff8000212a7338,0,0) at sys_sync+0x9b sys/kern/vfs_syscalls.c:535 vfs_syncwait(ffff8000212a7338,1) at vfs_syncwait+0x3a vfs_shutdown(ffff8000212a7338) at vfs_shutdown+0x61 sys/kern/vfs_subr.c:1791 boot(100) at boot+0xc5 sys/arch/amd64/amd64/machdep.c:900 reboot(100) at reboot+0x81 panic(ffffffff8279dae3) at panic+0x18f sys/kern/subr_prf.c:231 __assert(ffffffff828191a4,ffffffff82822b84,109,ffffffff82842ad2) at __assert+0x29 sys/kern/subr_prf.c:157 setrunqueue(ffff800020d58ff0,ffff8000211d9348,52) at setrunqueue+0x2e5 sys/kern/kern_sched.c:263 schedcpu(ffffffff82cc98b8) at schedcpu+0x28b sys/kern/sched_bsd.c:236 timeout_run(ffffffff82cc98b8) at timeout_run+0xd0 sys/kern/kern_timeout.c:638 softclock_process_tick_timeout(ffffffff82cc98b8,0) at softclock_process_tick_timeout+0x1b0 sys/kern/kern_timeout.c:685 softclock(0) at softclock+0x130 sys/kern/kern_timeout.c:708 softintr_dispatch(0) at softintr_dispatch+0xfb sys/arch/amd64/amd64/softintr.c:90 Xsoftclock() at Xsoftclock+0x27 end of kernel end trace frame: 0x763b39d86630, count: 173 End of stack trace. 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(ffffffff8279dae3) at panic+0x16f sys/kern/subr_prf.c:229 __assert(ffffffff828191a4,ffffffff82784172,3f,ffffffff828534d3) at __assert+0x29 sys/kern/subr_prf.c:157 _kernel_lock() at _kernel_lock+0xb6 sys/kern/kern_lock.c:63 scsi_xs_get(ffff80000002c500,3) at scsi_xs_get+0x131 scsi_iopool_get sys/scsi/scsi_base.c:257 [inline] scsi_xs_get(ffff80000002c500,3) at scsi_xs_get+0x131 sys/scsi/scsi_base.c:653 sdactivate(ffff80000019f000,6) at sdactivate+0x1e6 sd_flush sys/scsi/sd.c:1868 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1e6 sys/scsi/sd.c:271 config_suspend(ffff80000019f000,6) at config_suspend+0x50 sys/kern/subr_autoconf.c:831 scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_link sys/scsi/scsiconf.c:410 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_bus sys/scsi/scsiconf.c:360 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b sys/scsi/scsiconf.c:259 config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline] config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893 config_activate_children(ffff800000024800,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893 config_activate_children(ffff80000002ce00,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893 pciactivate(ffff80000002ce00,6) at pciactivate+0x79 sys/dev/pci/pci.c:230 config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline] config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893 config_suspend_all(6) at config_suspend_all+0x312 sys/kern/subr_autoconf.c:855 boot(104) at boot+0x177 sys/arch/amd64/amd64/machdep.c:919 reboot(104) at reboot+0x81 panic(ffffffff8279dae3) at panic+0x18f sys/kern/subr_prf.c:231 __assert(ffffffff828191a4,ffffffff82784172,3f,ffffffff828534d3) at __assert+0x29 sys/kern/subr_prf.c:157 _kernel_lock() at _kernel_lock+0xb6 sys/kern/kern_lock.c:63 scsi_xs_get(ffff80000002c500,3) at scsi_xs_get+0x131 scsi_iopool_get sys/scsi/scsi_base.c:257 [inline] scsi_xs_get(ffff80000002c500,3) at scsi_xs_get+0x131 sys/scsi/scsi_base.c:653 sdactivate(ffff80000019f000,6) at sdactivate+0x1e6 sd_flush sys/scsi/sd.c:1868 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1e6 sys/scsi/sd.c:271 config_suspend(ffff80000019f000,6) at config_suspend+0x50 sys/kern/subr_autoconf.c:831 scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_link sys/scsi/scsiconf.c:410 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_bus sys/scsi/scsiconf.c:360 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b sys/scsi/scsiconf.c:259 config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline] config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893 config_activate_children(ffff800000024800,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893 config_activate_children(ffff80000002ce00,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893 pciactivate(ffff80000002ce00,6) at pciactivate+0x79 sys/dev/pci/pci.c:230 config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline] config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893 config_suspend_all(6) at config_suspend_all+0x312 sys/kern/subr_autoconf.c:855 boot(104) at boot+0x177 sys/arch/amd64/amd64/machdep.c:919 reboot(104) at reboot+0x81 panic(ffffffff8279dae3) at panic+0x18f sys/kern/subr_prf.c:231 __assert(ffffffff828191a4,ffffffff82784172,3f,ffffffff828534d3) at __assert+0x29 sys/kern/subr_prf.c:157 _kernel_lock() at _kernel_lock+0xb6 sys/kern/kern_lock.c:63 scsi_xs_get(ffff80000002c500,3) at scsi_xs_get+0x131 scsi_iopool_get sys/scsi/scsi_base.c:257 [inline] scsi_xs_get(ffff80000002c500,3) at scsi_xs_get+0x131 sys/scsi/scsi_base.c:653 sdactivate(ffff80000019f000,6) at sdactivate+0x1e6 sd_flush sys/scsi/sd.c:1868 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1e6 sys/scsi/sd.c:271 config_suspend(ffff80000019f000,6) at config_suspend+0x50 sys/kern/subr_autoconf.c:831 scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_link sys/scsi/scsiconf.c:410 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_bus sys/scsi/scsiconf.c:360 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b sys/scsi/scsiconf.c:259 config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline] config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893 config_activate_children(ffff800000024800,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893 config_activate_children(ffff80000002ce00,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893 pciactivate(ffff80000002ce00,6) at pciactivate+0x79 sys/dev/pci/pci.c:230 config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline] config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893 config_suspend_all(6) at config_suspend_all+0x312 sys/kern/subr_autoconf.c:855 boot(104) at boot+0x177 sys/arch/amd64/amd64/machdep.c:919 reboot(104) at reboot+0x81 panic(ffffffff8279dae3) at panic+0x18f sys/kern/subr_prf.c:231 __assert(ffffffff828191a4,ffffffff82784172,3f,ffffffff828534d3) at __assert+0x29 sys/kern/subr_prf.c:157 _kernel_lock() at _kernel_lock+0xb6 sys/kern/kern_lock.c:63 scsi_xs_get(ffff80000002c500,3) at scsi_xs_get+0x131 scsi_iopool_get sys/scsi/scsi_base.c:257 [inline] scsi_xs_get(ffff80000002c500,3) at scsi_xs_get+0x131 sys/scsi/scsi_base.c:653 sdactivate(ffff80000019f000,6) at sdactivate+0x1e6 sd_flush sys/scsi/sd.c:1868 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1e6 sys/scsi/sd.c:271 config_suspend(ffff80000019f000,6) at config_suspend+0x50 sys/kern/subr_autoconf.c:831 scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_link sys/scsi/scsiconf.c:410 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_bus sys/scsi/scsiconf.c:360 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b sys/scsi/scsiconf.c:259 config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline] config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893 config_activate_children(ffff800000024800,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893 config_activate_children(ffff80000002ce00,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893 pciactivate(ffff80000002ce00,6) at pciactivate+0x79 sys/dev/pci/pci.c:230 config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline] config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893 config_suspend_all(6) at config_suspend_all+0x312 sys/kern/subr_autoconf.c:855 boot(104) at boot+0x177 sys/arch/amd64/amd64/machdep.c:919 reboot(104) at reboot+0x81 panic(ffffffff8279dae3) at panic+0x18f sys/kern/subr_prf.c:231 __assert(ffffffff828191a4,ffffffff82784172,3f,ffffffff828534d3) at __assert+0x29 sys/kern/subr_prf.c:157 _kernel_lock() at _kernel_lock+0xb6 sys/kern/kern_lock.c:63 scsi_xs_get(ffff80000002c500,3) at scsi_xs_get+0x131 scsi_iopool_get sys/scsi/scsi_base.c:257 [inline] scsi_xs_get(ffff80000002c500,3) at scsi_xs_get+0x131 sys/scsi/scsi_base.c:653 sdactivate(ffff80000019f000,6) at sdactivate+0x1e6 sd_flush sys/scsi/sd.c:1868 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1e6 sys/scsi/sd.c:271 config_suspend(ffff80000019f000,6) at config_suspend+0x50 sys/kern/subr_autoconf.c:831 scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_link sys/scsi/scsiconf.c:410 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_bus sys/scsi/scsiconf.c:360 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b sys/scsi/scsiconf.c:259 config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline] config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893 config_activate_children(ffff800000024800,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893 config_activate_children(ffff80000002ce00,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893 pciactivate(ffff80000002ce00,6) at pciactivate+0x79 sys/dev/pci/pci.c:230 config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline] config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893 config_suspend_all(6) at config_suspend_all+0x312 sys/kern/subr_autoconf.c:855 boot(104) at boot+0x177 sys/arch/amd64/amd64/machdep.c:919 reboot(104) at reboot+0x81 panic(ffffffff8279dae3) at panic+0x18f sys/kern/subr_prf.c:231 __assert(ffffffff828191a4,ffffffff82784172,3f,ffffffff828534d3) at __assert+0x29 sys/kern/subr_prf.c:157 _kernel_lock() at _kernel_lock+0xb6 sys/kern/kern_lock.c:63 uvm_pseg_get(0) at uvm_pseg_get+0x30 sys/uvm/uvm_pager.c:155 uvm_pagermapin(ffff800025b56c70,b,0) at uvm_pagermapin+0xb1 sys/uvm/uvm_pager.c:278 uvn_io(fffffd8072ef7e78,ffff800025b56c70,b,31,1) at uvn_io+0x15c sys/uvm/uvm_vnode.c:1204 uvn_put(fffffd8072ef7e78,ffff800025b56c70,b,31) at uvn_put+0xd4 sys/uvm/uvm_vnode.c:926 uvm_pager_put(fffffd8072ef7e78,fffffd80082366c0,ffff800025b56d08,ffff800025b56d48,31,0,2a1b3ed517c96949) at uvm_pager_put+0x137 sys/uvm/uvm_pager.c:545 uvn_flush(fffffd8072ef7e78,0,0,31) at uvn_flush+0x532 sys/uvm/uvm_vnode.c:725 uvm_vnp_sync(ffff8000006d8c00) at uvm_vnp_sync+0x16f sys/uvm/uvm_vnode.c:1540 sys_sync(ffff8000212a7338,0,0) at sys_sync+0x9b sys/kern/vfs_syscalls.c:535 vfs_syncwait(ffff8000212a7338,1) at vfs_syncwait+0x3a vfs_shutdown(ffff8000212a7338) at vfs_shutdown+0x61 sys/kern/vfs_subr.c:1791 boot(100) at boot+0xc5 sys/arch/amd64/amd64/machdep.c:900 reboot(100) at reboot+0x81 panic(ffffffff8279dae3) at panic+0x18f sys/kern/subr_prf.c:231 __assert(ffffffff828191a4,ffffffff82822b84,109,ffffffff82842ad2) at __assert+0x29 sys/kern/subr_prf.c:157 setrunqueue(ffff800020d58ff0,ffff8000211d9348,52) at setrunqueue+0x2e5 sys/kern/kern_sched.c:263 schedcpu(ffffffff82cc98b8) at schedcpu+0x28b sys/kern/sched_bsd.c:236 timeout_run(ffffffff82cc98b8) at timeout_run+0xd0 sys/kern/kern_timeout.c:638 softclock_process_tick_timeout(ffffffff82cc98b8,0) at softclock_process_tick_timeout+0x1b0 sys/kern/kern_timeout.c:685 softclock(0) at softclock+0x130 sys/kern/kern_timeout.c:708 softintr_dispatch(0) at softintr_dispatch+0xfb sys/arch/amd64/amd64/softintr.c:90 Xsoftclock() at Xsoftclock+0x27 end of kernel end trace frame: 0x763b39d86630, count: 158 End of stack trace. 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(ffffffff8279dae3) at panic+0x16f sys/kern/subr_prf.c:229 __assert(ffffffff828191a4,ffffffff82784172,3f,ffffffff828534d3) at __assert+0x29 sys/kern/subr_prf.c:157 _kernel_lock() at _kernel_lock+0xb6 sys/kern/kern_lock.c:63 scsi_xs_get(ffff80000002c500,3) at scsi_xs_get+0x131 scsi_iopool_get sys/scsi/scsi_base.c:257 [inline] scsi_xs_get(ffff80000002c500,3) at scsi_xs_get+0x131 sys/scsi/scsi_base.c:653 sdactivate(ffff80000019f000,6) at sdactivate+0x1e6 sd_flush sys/scsi/sd.c:1868 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1e6 sys/scsi/sd.c:271 config_suspend(ffff80000019f000,6) at config_suspend+0x50 sys/kern/subr_autoconf.c:831 scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_link sys/scsi/scsiconf.c:410 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_bus sys/scsi/scsiconf.c:360 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b sys/scsi/scsiconf.c:259 config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline] config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893 config_activate_children(ffff800000024800,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893 config_activate_children(ffff80000002ce00,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893 pciactivate(ffff80000002ce00,6) at pciactivate+0x79 sys/dev/pci/pci.c:230 config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline] config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893 config_suspend_all(6) at config_suspend_all+0x312 sys/kern/subr_autoconf.c:855 boot(104) at boot+0x177 sys/arch/amd64/amd64/machdep.c:919 reboot(104) at reboot+0x81 panic(ffffffff8279dae3) at panic+0x18f sys/kern/subr_prf.c:231 __assert(ffffffff828191a4,ffffffff82784172,3f,ffffffff828534d3) at __assert+0x29 sys/kern/subr_prf.c:157 _kernel_lock() at _kernel_lock+0xb6 sys/kern/kern_lock.c:63 scsi_xs_get(ffff80000002c500,3) at scsi_xs_get+0x131 scsi_iopool_get sys/scsi/scsi_base.c:257 [inline] scsi_xs_get(ffff80000002c500,3) at scsi_xs_get+0x131 sys/scsi/scsi_base.c:653 sdactivate(ffff80000019f000,6) at sdactivate+0x1e6 sd_flush sys/scsi/sd.c:1868 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1e6 sys/scsi/sd.c:271 config_suspend(ffff80000019f000,6) at config_suspend+0x50 sys/kern/subr_autoconf.c:831 scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_link sys/scsi/scsiconf.c:410 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_bus sys/scsi/scsiconf.c:360 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b sys/scsi/scsiconf.c:259 config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline] config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893 config_activate_children(ffff800000024800,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893 config_activate_children(ffff80000002ce00,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893 pciactivate(ffff80000002ce00,6) at pciactivate+0x79 sys/dev/pci/pci.c:230 config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline] config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893 config_suspend_all(6) at config_suspend_all+0x312 sys/kern/subr_autoconf.c:855 boot(104) at boot+0x177 sys/arch/amd64/amd64/machdep.c:919 reboot(104) at reboot+0x81 panic(ffffffff8279dae3) at panic+0x18f sys/kern/subr_prf.c:231 __assert(ffffffff828191a4,ffffffff82784172,3f,ffffffff828534d3) at __assert+0x29 sys/kern/subr_prf.c:157 _kernel_lock() at _kernel_lock+0xb6 sys/kern/kern_lock.c:63 scsi_xs_get(ffff80000002c500,3) at scsi_xs_get+0x131 scsi_iopool_get sys/scsi/scsi_base.c:257 [inline] scsi_xs_get(ffff80000002c500,3) at scsi_xs_get+0x131 sys/scsi/scsi_base.c:653 sdactivate(ffff80000019f000,6) at sdactivate+0x1e6 sd_flush sys/scsi/sd.c:1868 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1e6 sys/scsi/sd.c:271 config_suspend(ffff80000019f000,6) at config_suspend+0x50 sys/kern/subr_autoconf.c:831 scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_link sys/scsi/scsiconf.c:410 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_bus sys/scsi/scsiconf.c:360 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b sys/scsi/scsiconf.c:259 config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline] config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893 config_activate_children(ffff800000024800,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893 config_activate_children(ffff80000002ce00,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893 pciactivate(ffff80000002ce00,6) at pciactivate+0x79 sys/dev/pci/pci.c:230 config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline] config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893 config_suspend_all(6) at config_suspend_all+0x312 sys/kern/subr_autoconf.c:855 boot(104) at boot+0x177 sys/arch/amd64/amd64/machdep.c:919 reboot(104) at reboot+0x81 panic(ffffffff8279dae3) at panic+0x18f sys/kern/subr_prf.c:231 __assert(ffffffff828191a4,ffffffff82784172,3f,ffffffff828534d3) at __assert+0x29 sys/kern/subr_prf.c:157 _kernel_lock() at _kernel_lock+0xb6 sys/kern/kern_lock.c:63 scsi_xs_get(ffff80000002c500,3) at scsi_xs_get+0x131 scsi_iopool_get sys/scsi/scsi_base.c:257 [inline] scsi_xs_get(ffff80000002c500,3) at scsi_xs_get+0x131 sys/scsi/scsi_base.c:653 sdactivate(ffff80000019f000,6) at sdactivate+0x1e6 sd_flush sys/scsi/sd.c:1868 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1e6 sys/scsi/sd.c:271 config_suspend(ffff80000019f000,6) at config_suspend+0x50 sys/kern/subr_autoconf.c:831 scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_link sys/scsi/scsiconf.c:410 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_bus sys/scsi/scsiconf.c:360 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b sys/scsi/scsiconf.c:259 config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline] config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893 config_activate_children(ffff800000024800,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893 config_activate_children(ffff80000002ce00,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893 pciactivate(ffff80000002ce00,6) at pciactivate+0x79 sys/dev/pci/pci.c:230 config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline] config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893 config_suspend_all(6) at config_suspend_all+0x312 sys/kern/subr_autoconf.c:855 boot(104) at boot+0x177 sys/arch/amd64/amd64/machdep.c:919 reboot(104) at reboot+0x81 panic(ffffffff8279dae3) at panic+0x18f sys/kern/subr_prf.c:231 __assert(ffffffff828191a4,ffffffff82784172,3f,ffffffff828534d3) at __assert+0x29 sys/kern/subr_prf.c:157 _kernel_lock() at _kernel_lock+0xb6 sys/kern/kern_lock.c:63 scsi_xs_get(ffff80000002c500,3) at scsi_xs_get+0x131 scsi_iopool_get sys/scsi/scsi_base.c:257 [inline] scsi_xs_get(ffff80000002c500,3) at scsi_xs_get+0x131 sys/scsi/scsi_base.c:653 sdactivate(ffff80000019f000,6) at sdactivate+0x1e6 sd_flush sys/scsi/sd.c:1868 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1e6 sys/scsi/sd.c:271 config_suspend(ffff80000019f000,6) at config_suspend+0x50 sys/kern/subr_autoconf.c:831 scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_link sys/scsi/scsiconf.c:410 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_bus sys/scsi/scsiconf.c:360 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b sys/scsi/scsiconf.c:259 config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline] config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893 config_activate_children(ffff800000024800,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893 config_activate_children(ffff80000002ce00,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893 pciactivate(ffff80000002ce00,6) at pciactivate+0x79 sys/dev/pci/pci.c:230 config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline] config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893 config_suspend_all(6) at config_suspend_all+0x312 sys/kern/subr_autoconf.c:855 boot(104) at boot+0x177 sys/arch/amd64/amd64/machdep.c:919 reboot(104) at reboot+0x81 panic(ffffffff8279dae3) at panic+0x18f sys/kern/subr_prf.c:231 __assert(ffffffff828191a4,ffffffff82784172,3f,ffffffff828534d3) at __assert+0x29 sys/kern/subr_prf.c:157 _kernel_lock() at _kernel_lock+0xb6 sys/kern/kern_lock.c:63 scsi_xs_get(ffff80000002c500,3) at scsi_xs_get+0x131 scsi_iopool_get sys/scsi/scsi_base.c:257 [inline] scsi_xs_get(ffff80000002c500,3) at scsi_xs_get+0x131 sys/scsi/scsi_base.c:653 sdactivate(ffff80000019f000,6) at sdactivate+0x1e6 sd_flush sys/scsi/sd.c:1868 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1e6 sys/scsi/sd.c:271 config_suspend(ffff80000019f000,6) at config_suspend+0x50 sys/kern/subr_autoconf.c:831 scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_link sys/scsi/scsiconf.c:410 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_bus sys/scsi/scsiconf.c:360 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b sys/scsi/scsiconf.c:259 config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline] config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893 config_activate_children(ffff800000024800,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893 config_activate_children(ffff80000002ce00,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893 pciactivate(ffff80000002ce00,6) at pciactivate+0x79 sys/dev/pci/pci.c:230 config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline] config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893 config_suspend_all(6) at config_suspend_all+0x312 sys/kern/subr_autoconf.c:855 boot(104) at boot+0x177 sys/arch/amd64/amd64/machdep.c:919 reboot(104) at reboot+0x81 panic(ffffffff8279dae3) at panic+0x18f sys/kern/subr_prf.c:231 __assert(ffffffff828191a4,ffffffff82784172,3f,ffffffff828534d3) at __assert+0x29 sys/kern/subr_prf.c:157 _kernel_lock() at _kernel_lock+0xb6 sys/kern/kern_lock.c:63 uvm_pseg_get(0) at uvm_pseg_get+0x30 sys/uvm/uvm_pager.c:155 uvm_pagermapin(ffff800025b56c70,b,0) at uvm_pagermapin+0xb1 sys/uvm/uvm_pager.c:278 uvn_io(fffffd8072ef7e78,ffff800025b56c70,b,31,1) at uvn_io+0x15c sys/uvm/uvm_vnode.c:1204 uvn_put(fffffd8072ef7e78,ffff800025b56c70,b,31) at uvn_put+0xd4 sys/uvm/uvm_vnode.c:926 uvm_pager_put(fffffd8072ef7e78,fffffd80082366c0,ffff800025b56d08,ffff800025b56d48,31,0,2a1b3ed517c96949) at uvm_pager_put+0x137 sys/uvm/uvm_pager.c:545 uvn_flush(fffffd8072ef7e78,0,0,31) at uvn_flush+0x532 sys/uvm/uvm_vnode.c:725 uvm_vnp_sync(ffff8000006d8c00) at uvm_vnp_sync+0x16f sys/uvm/uvm_vnode.c:1540 sys_sync(ffff8000212a7338,0,0) at sys_sync+0x9b sys/kern/vfs_syscalls.c:535 vfs_syncwait(ffff8000212a7338,1) at vfs_syncwait+0x3a vfs_shutdown(ffff8000212a7338) at vfs_shutdown+0x61 sys/kern/vfs_subr.c:1791 boot(100) at boot+0xc5 sys/arch/amd64/amd64/machdep.c:900 reboot(100) at reboot+0x81 panic(ffffffff8279dae3) at panic+0x18f sys/kern/subr_prf.c:231 __assert(ffffffff828191a4,ffffffff82822b84,109,ffffffff82842ad2) at __assert+0x29 sys/kern/subr_prf.c:157 setrunqueue(ffff800020d58ff0,ffff8000211d9348,52) at setrunqueue+0x2e5 sys/kern/kern_sched.c:263 schedcpu(ffffffff82cc98b8) at schedcpu+0x28b sys/kern/sched_bsd.c:236 timeout_run(ffffffff82cc98b8) at timeout_run+0xd0 sys/kern/kern_timeout.c:638 softclock_process_tick_timeout(ffffffff82cc98b8,0) at softclock_process_tick_timeout+0x1b0 sys/kern/kern_timeout.c:685 softclock(0) at softclock+0x130 sys/kern/kern_timeout.c:708 softintr_dispatch(0) at softintr_dispatch+0xfb sys/arch/amd64/amd64/softintr.c:90 Xsoftclock() at Xsoftclock+0x27 end of kernel end trace frame: 0x763b39d86630, count: 143 End of stack trace. 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... fatal double fault in supervisor mode trap type 13 code 0 rip ffffffff81c6c976 cs 8 rflags 10286 cr2 ffff800025b53f98 cpl d rsp ffff800025b53fa0 gsbase 0xffffffff82c3dff0 kgsbase 0x0 panic: trap type 13, code=0, pc=ffffffff81c6c976 Faulted in traceback, aborting... panic: kernel diagnostic assertion "__mp_lock_held(&sched_lock, curcpu()) == 0" failed: file "/syzkaller/managers/multicore/kernel/sys/kern/kern_lock.c", line 63 Faulted in traceback, aborting... panic: kernel diagnostic assertion "__mp_lock_held(&sched_lock, curcpu()) == 0" failed: file "/syzkaller/managers/multicore/kernel/sys/kern/kern_lock.c", line 63 Faulted in traceback, aborting... panic: kernel diagnostic assertion "__mp_lock_held(&sched_lock, curcpu()) == 0" failed: file "/syzkaller/managers/multicore/kernel/sys/kern/kern_lock.c", line 63 Faulted in traceback, aborting... panic: kernel diagnostic assertion "__mp_lock_held(&sched_lock, curcpu()) == 0" failed: file "/syzkaller/managers/multicore/kernel/sys/kern/kern_lock.c", line 63 Faulted in traceback, aborting... panic: kernel diagnostic assertion "__mp_lock_held(&sched_lock, curcpu()) == 0" failed: file "/syzkaller/managers/multicore/kernel/sys/kern/kern_lock.c", line 63 Faulted in traceback, aborting... panic: kernel diagnostic assertion "__mp_lock_held(&sched_lock, curcpu()) == 0" failed: file "/syzkaller/managers/multicore/kernel/sys/kern/kern_lock.c", line 63 Faulted in traceback, aborting... panic: kernel diagnostic assertion "__mp_lock_held(&sched_lock, curcpu()) == 0" failed: file "/syzkaller/managers/multicore/kernel/sys/kern/kern_lock.c", line 63 Faulted in traceback, aborting... panic: kernel diagnostic assertion "__mp_lock_held(&sched_lock, curcpu()) == 0" failed: file "/syzkaller/managers/multicore/kernel/sys/kern/kern_lock.c", line 63 Faulted in traceback, aborting... panic: kernel diagnostic assertion "__mp_lock_held(&sched_lock, curcpu()) == 0" failed: file "/syzkaller/managers/multicore/kernel/sys/kern/kern_lock.c", line 63 Faulted in traceback, aborting... panic: kernel diagnostic assertion "__mp_lock_held(&sched_lock, curcpu()) == 0" failed: file "/syzkaller/managers/multicore/kernel/sys/kern/kern_lock.c", line 63 Faulted in traceback, aborting... panic: kernel diagnostic assertion "__mp_lock_held(&sched_lock, curcpu()) == 0" failed: file "/syzkaller/managers/multicore/kernel/sys/kern/kern_lock.c", line 63 Faulted in traceback, aborting... panic: kernel diagnostic assertion "__mp_lock_held(&sched_lock, curcpu()) == 0" failed: file "/syzkaller/managers/multicore/kernel/sys/kern/kern_lock.c", line 63 Faulted in traceback, aborting... panic: kernel diagnostic assertion "__mp_lock_held(&sched_lock, curcpu()) == 0" failed: file "/syzkaller/managers/multicore/kernel/sys/kern/kern_lock.c", line 63 Faulted in traceback, aborting... panic: kernel diagnostic assertion "__mp_lock_held(&sched_lock, curcpu()) == 0" failed: file "/syzkaller/managers/multicore/kernel/sys/kern/kern_lock.c", line 63 Faulted in traceback, aborting... panic: kernel diagnostic assertion "__mp_lock_held(&sched_lock, curcpu()) == 0" failed: file "/syzkaller/managers/multicore/kernel/sys/kern/kern_lock.c", line 63 Faulted in traceback, aborting... panic: kernel diagnostic assertion "__mp_lock_held(&sched_lock, curcpu()) == 0" failed: file "/syzkaller/managers/multicore/kernel/sys/kern/kern_lock.c", line 63 Faulted in traceback, aborting... panic: kernel diagnostic assertion "__mp_lock_held(&sched_lock, curcpu()) == 0" failed: file "/syzkaller/managers/multicore/kernel/sys/kern/kern_lock.c", line 63 Faulted in traceback, aborting... panic: kernel diagnostic assertion "__mp_lock_held(&sched_lock, curcpu()) == 0" failed: file "/syzkaller/managers/multicore/kernel/sys/kern/kern_lock.c", line 63 Faulted in traceback, aborting... panic: kernel diagnostic assertion "__mp_lock_held(&sched_lock, curcpu()) == 0" failed: file "/syzkaller/managers/multicore/kernel/sys/kern/kern_lock.c", line 63 Faulted in traceback, aborting... panic: kernel diagnostic assertion "__mp_lock_held(&sched_lock, curcpu()) == 0" failed: file "/syzkaller/managers/multicore/kernel/sys/kern/kern_lock.c", line 63 Faulted in traceback, aborting... panic: kernel diagnostic assertion "__mp_lock_held(&sched_lock, curcpu()) == 0" failed: file "/syzkaller/managers/multicore/kernel/sys/kern/kern_lock.c", line 63 Faulted in traceback, aborting... panic: kernel diagnostic assertion "__mp_lock_held(&sched_lock, curcpu()) == 0" failed: file "/syzkaller/managers/multicore/kernel/sys/kern/kern_lock.c", line 63 Faulted in traceback, aborting... panic: kernel diagnostic assertion "__mp_lock_held(&sched_lock, curcpu()) == 0" failed: file "/syzkaller/managers/multicore/kernel/sys/kern/kern_lock.c", line 63 Faulted in traceback, aborting... panic: kernel diagnostic assertion "__mp_lock_held(&sched_lock, curcpu()) == 0" failed: file "/syzkaller/managers/multicore/kernel/sys/kern/kern_lock.c", line 63 Faulted in traceback, aborting... panic: kernel diagnostic assertion "__mp_lock_held(&sched_lock, curcpu()) == 0" failed: file "/syzkaller/managers/multicore/kernel/sys/kern/kern_lock.c", line 63 Faulted in traceback, aborting... panic: kernel diagnostic assertion "__mp_lock_held(&sched_lock, curcpu()) == 0" failed: file "/syzkaller/managers/multicore/kernel/sys/kern/kern_lock.c", line 63 Faulted in traceback, aborting... panic: kernel diagnostic assertion "__mp_lock_held(&sched_lock, curcpu()) == 0" failed: file "/syzkaller/managers/multicore/kernel/sys/kern/kern_lock.c", line 63 Faulted in traceback, aborting... panic: kernel diagnostic assertion "__mp_lock_held(&sched_lock, curcpu()) == 0" failed: file "/syzkaller/managers/multicore/kernel/sys/kern/kern_lock.c", line 63 Faulted in traceback, aborting... panic: kernel diagnostic assertion "__mp_lock_held(&sched_lock, curcpu()) == 0" failed: file "/syzkaller/managers/multicore/kernel/sys/kern/kern_lock.c", line 63 Faulted in traceback, aborting... panic: kernel diagnostic assertion "__mp_lock_held(&sched_lock, curcpu()) == 0" failed: file "/syzkaller/managers/multicore/kernel/sys/kern/kern_lock.c", line 63 Faulted in traceback, aborting... panic: kernel diagnostic assertion "__mp_lock_held(&sched_lock, curcpu()) == 0" failed: file "/syzkaller/managers/multicore/kernel/sys/kern/kern_lock.c", line 63 Faulted in traceback, aborting... panic: kernel diagnostic assertion "__mp_lock_held(&sched_lock, curcpu()) == 0" failed: file "/syzkaller/managers/multicore/kernel/sys/kern/kern_lock.c", line 63 Faulted in traceback, aborting... panic: kernel diagnostic assertion "__mp_lock_held(&sched_lock, curcpu()) == 0" failed: file "/syzkaller/managers/multicore/kernel/sys/kern/kern_lock.c", line 63 Faulted in traceback, aborting... panic: kernel diagnostic assertion "__mp_lock_held(&sched_lock, curcpu()) == 0" failed: file "/syzkaller/managers/multicore/kernel/sys/kern/kern_lock.c", line 63 Faulted in traceback, aborting... panic: kernel diagnostic assertion "__mp_lock_held(&sched_lock, curcpu()) == 0" failed: file "/syzkaller/managers/multicore/kernel/sys/kern/kern_lock.c", line 63 Faulted in traceback, aborting... panic: kernel diagnostic assertion "__mp_lock_held(&sched_lock, curcpu()) == 0" failed: file "/syzkaller/managers/multicore/kernel/sys/kern/kern_lock.c", line 63 Faulted in traceback, aborting... panic: kernel diagnostic assertion "__mp_lock_held(&sched_lock, curcpu()) == 0" failed: file "/syzkaller/managers/multicore/kernel/sys/kern/kern_lock.c", line 63 Faulted in traceback, aborting... panic: kernel diagnostic assertion "__mp_lock_held(&sched_lock, curcpu()) == 0" failed: file "/syzkaller/managers/multicore/kernel/sys/kern/kern_lock.c", line 63 Faulted in traceback, aborting... panic: kernel diagnostic assertion "__mp_lock_held(&sched_lock, curcpu()) == 0" failed: file "/syzkaller/managers/multicore/kernel/sys/kern/kern_lock.c", line 63 Faulted in traceback, aborting... panic: kernel diagnostic assertion "__mp_lock_held(&sched_lock, curcpu()) == 0" failed: file "/syzkaller/managers/multicore/kernel/sys/kern/kern_lock.c", line 63 Faulted in traceback, aborting... panic: kernel diagnostic assertion "__mp_lock_held(&sched_lock, curcpu()) == 0" failed: file "/syzkaller/managers/multicore/kernel/sys/kern/kern_lock.c", line 63 Faulted in traceback, aborting... panic: kernel diagnostic assertion "__mp_lock_held(&sched_lock, curcpu()) == 0" failed: file "/syzkaller/managers/multicore/kernel/sys/kern/kern_lock.c", line 63 Faulted in traceback, aborting... panic: kernel diagnostic assertion "__mp_lock_held(&sched_lock, curcpu()) == 0" failed: file "/syzkaller/managers/multicore/kernel/sys/kern/kern_lock.c", line 63 Faulted in traceback, aborting... panic: kernel diagnostic assertion "__mp_lock_held(&sched_lock, curcpu()) == 0" failed: file "/syzkaller/managers/multicore/kernel/sys/kern/kern_lock.c", line 63 Faulted in traceback, aborting... panic: kernel diagnostic assertion "__mp_lock_held(&sched_lock, curcpu()) == 0" failed: file "/syzkaller/managers/multicore/kernel/sys/kern/kern_lock.c", line 63 Faulted in traceback, aborting... panic: kernel diagnostic assertion "__mp_lock_held(&sched_lock, curcpu()) == 0" failed: file "/syzkaller/managers/multicore/kernel/sys/kern/kern_lock.c", line 63 Faulted in traceback, aborting... panic: kernel diagnostic assertion "__mp_lock_held(&sched_lock, curcpu()) == 0" failed: file "/syzkaller/managers/multicore/kernel/sys/kern/kern_lock.c", line 63 Faulted in traceback, aborting... panic: kernel diagnostic assertion "__mp_lock_held(&sched_lock, curcpu()) == 0" failed: file "/syzkaller/managers/multicore/kernel/sys/kern/kern_lock.c", line 63 Faulted in traceback, aborting... panic: kernel diagnostic assertion "__mp_lock_held(&sched_lock, curcpu()) == 0" failed: file "/syzkaller/managers/multicore/kernel/sys/kern/kern_lock.c", line 63 Faulted in traceback, aborting... panic: kernel diagnostic assertion "__mp_lock_held(&sched_lock, curcpu()) == 0" failed: file "/syzkaller/managers/multicore/kernel/sys/kern/kern_lock.c", line 63 Faulted in traceback, aborting... panic: kernel diagnostic assertion "__mp_lock_held(&sched_lock, curcpu()) == 0" failed: file "/syzkaller/managers/multicore/kernel/sys/kern/kern_lock.c", line 63 Faulted in traceback, aborting... panic: kernel diagnostic assertion "__mp_lock_held(&sched_lock, curcpu()) == 0" failed: file "/syzkaller/managers/multicore/kernel/sys/kern/kern_lock.c", line 63 Faulted in traceback, aborting... panic: kernel diagnostic assertion "__mp_lock_held(&sched_lock, curcpu()) == 0" failed: file "/syzkaller/managers/multicore/kernel/sys/kern/kern_lock.c", line 63 Faulted in traceback, aborting... panic: kernel diagnostic assertion "__mp_lock_held(&sched_lock, curcpu()) == 0" failed: file "/syzkaller/managers/multicore/kernel/sys/kern/kern_lock.c", line 63 Faulted in traceback, aborting... panic: kernel diagnostic assertion "__mp_lock_held(&sched_lock, curcpu()) == 0" failed: file "/syzkaller/managers/multicore/kernel/sys/kern/kern_lock.c", line 63 Faulted in traceback, aborting... panic: kernel diagnostic assertion "__mp_lock_held(&sched_lock, curcpu()) == 0" failed: file "/syzkaller/managers/multicore/kernel/sys/kern/kern_lock.c", line 63 Faulted in traceback, aborting... panic: kernel diagnostic assertion "__mp_lock_held(&sched_lock, curcpu()) == 0" failed: file "/syzkaller/managers/multicore/kernel/sys/kern/kern_lock.c", line 63 Faulted in traceback, aborting... panic: kernel diagnostic assertion "__mp_lock_held(&sched_lock, curcpu()) == 0" failed: file "/syzkaller/managers/multicore/kernel/sys/kern/kern_lock.c", line 63 Faulted in traceback, aborting... panic: kernel diagnostic assertion "__mp_lock_held(&sched_lock, curcpu()) == 0" failed: file "/syzkaller/managers/multicore/kernel/sys/kern/kern_lock.c", line 63 Faulted in traceback, aborting... panic: kernel diagnostic assertion "__mp_lock_held(&sched_lock, curcpu()) == 0" failed: file "/syzkaller/managers/multicore/kernel/sys/kern/kern_lock.c", line 63 Faulted in traceback, aborting... panic: kernel diagnostic assertion "__mp_lock_held(&sched_lock, curcpu()) == 0" failed: file "/syzkaller/managers/multicore/kernel/sys/kern/kern_lock.c", line 63 Faulted in traceback, aborting... panic: kernel diagnostic assertion "__mp_lock_held(&sched_lock, curcpu()) == 0" failed: file "/syzkaller/managers/multicore/kernel/sys/kern/kern_lock.c", line 63 Faulted in traceback, aborting... panic: kernel diagnostic assertion "__mp_lock_held(&sched_lock, curcpu()) == 0" failed: file "/syzkaller/managers/multicore/kernel/sys/kern/kern_lock.c", line 63 Faulted in traceback, aborting... panic: kernel diagnostic assertion "__mp_lock_held(&sched_lock, curcpu()) == 0" failed: file "/syzkaller/managers/multicore/kernel/sys/kern/kern_lock.c", line 63 SeaBIOS (version 1.8.2-google) Total RAM Size = 0x0000000080000000 = 2048 MiB CPUs found: 2 Max CPUs supported: 2 SeaBIOS (version 1.8.2-google) Machine UUID 10ee261f-e4fb-b939-235d-2a56a4c27911 found virtio-scsi at 0:3 virtio-scsi vendor='Google' product='PersistentDisk' rev='1' type=0 removable=0 virtio-scsi blksize=512 sectors=4194304 = 2048 MiB drive 0x000f2850: PCHS=0/0/0 translation=lba LCHS=520/128/63 s=4194304 Sending Seabios boot VM event. Booting from Hard Disk 0... >> OpenBSD/amd64 BOOT 3.56 boot> ps |/-\|/-\|/booting hd0a:ps: -\|/open hd0a:ps: No such file or directory failed(2). will try /bsd boot> show all locks boot> show malloc boot> show all pools boot> machine ddbcpu 0 machine: syntax error boot> trace boot> machine ddbcpu 1 machine: syntax error boot> trace