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(ffffffff82c3dff0,ffff8000212378a0,50) 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: 0x73d610e3a630, count: 248 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_iopool_run(ffff8000000a3048) at scsi_iopool_run+0x95 scsi_iopool_get sys/scsi/scsi_base.c:258 [inline] scsi_iopool_run(ffff8000000a3048) at scsi_iopool_run+0x95 sys/scsi/scsi_base.c:422 scsi_xsh_runqueue(ffff80000002c500) at scsi_xsh_runqueue+0x203 sys/scsi/scsi_base.c:598 scsi_xsh_add(ffff80000019f1e0) at scsi_xsh_add+0xcd sys/scsi/scsi_base.c:536 sdstrategy(fffffd806ed107f0) at sdstrategy+0x187 sys/scsi/sd.c:567 spec_strategy(ffff80002e40aaf8) at spec_strategy+0x79 sys/kern/spec_vnops.c:451 VOP_STRATEGY(fffffd807efb3510,fffffd806ed107f0) at VOP_STRATEGY+0x9f sys/kern/vfs_vops.c:628 bwrite(fffffd806ed107f0) at bwrite+0x1f1 sys/kern/vfs_bio.c:760 ffs_update(fffffd807e755780,1) at ffs_update+0x281 sys/ufs/ffs/ffs_inode.c:113 ffs_truncate(fffffd807e755780,0,0,ffffffffffffffff) at ffs_truncate+0xce7 ufs_inactive(ffff80002e40ae88) at ufs_inactive+0x152 sys/ufs/ufs/ufs_inode.c:84 VOP_INACTIVE(fffffd8072464130,ffff8000211e5960) at VOP_INACTIVE+0xc5 sys/kern/vfs_vops.c:489 vput(fffffd8072464130) at vput+0xad sys/kern/vfs_subr.c:779 vn_close(fffffd8072464130,2,ffffffffffffffff,ffff8000211e5960) at vn_close+0x82 sys/kern/vfs_vnops.c:294 acct_shutdown() at acct_shutdown+0x6c sys/kern/kern_acct.c:359 vfs_shutdown(ffff8000211e5960) at vfs_shutdown+0x1a sys/kern/vfs_subr.c:1779 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(ffffffff82c3dff0,ffff8000212378a0,50) 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: 0x73d610e3a630, count: 228 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 scsi_iopool_run(ffff8000000a3048) at scsi_iopool_run+0x95 scsi_iopool_get sys/scsi/scsi_base.c:258 [inline] scsi_iopool_run(ffff8000000a3048) at scsi_iopool_run+0x95 sys/scsi/scsi_base.c:422 scsi_xsh_runqueue(ffff80000002c500) at scsi_xsh_runqueue+0x203 sys/scsi/scsi_base.c:598 scsi_xsh_add(ffff80000019f1e0) at scsi_xsh_add+0xcd sys/scsi/scsi_base.c:536 sdstrategy(fffffd806ed107f0) at sdstrategy+0x187 sys/scsi/sd.c:567 spec_strategy(ffff80002e40aaf8) at spec_strategy+0x79 sys/kern/spec_vnops.c:451 VOP_STRATEGY(fffffd807efb3510,fffffd806ed107f0) at VOP_STRATEGY+0x9f sys/kern/vfs_vops.c:628 bwrite(fffffd806ed107f0) at bwrite+0x1f1 sys/kern/vfs_bio.c:760 ffs_update(fffffd807e755780,1) at ffs_update+0x281 sys/ufs/ffs/ffs_inode.c:113 ffs_truncate(fffffd807e755780,0,0,ffffffffffffffff) at ffs_truncate+0xce7 ufs_inactive(ffff80002e40ae88) at ufs_inactive+0x152 sys/ufs/ufs/ufs_inode.c:84 VOP_INACTIVE(fffffd8072464130,ffff8000211e5960) at VOP_INACTIVE+0xc5 sys/kern/vfs_vops.c:489 vput(fffffd8072464130) at vput+0xad sys/kern/vfs_subr.c:779 vn_close(fffffd8072464130,2,ffffffffffffffff,ffff8000211e5960) at vn_close+0x82 sys/kern/vfs_vnops.c:294 acct_shutdown() at acct_shutdown+0x6c sys/kern/kern_acct.c:359 vfs_shutdown(ffff8000211e5960) at vfs_shutdown+0x1a sys/kern/vfs_subr.c:1779 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(ffffffff82c3dff0,ffff8000212378a0,50) 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: 0x73d610e3a630, count: 213 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_iopool_run(ffff8000000a3048) at scsi_iopool_run+0x95 scsi_iopool_get sys/scsi/scsi_base.c:258 [inline] scsi_iopool_run(ffff8000000a3048) at scsi_iopool_run+0x95 sys/scsi/scsi_base.c:422 scsi_xsh_runqueue(ffff80000002c500) at scsi_xsh_runqueue+0x203 sys/scsi/scsi_base.c:598 scsi_xsh_add(ffff80000019f1e0) at scsi_xsh_add+0xcd sys/scsi/scsi_base.c:536 sdstrategy(fffffd806ed107f0) at sdstrategy+0x187 sys/scsi/sd.c:567 spec_strategy(ffff80002e40aaf8) at spec_strategy+0x79 sys/kern/spec_vnops.c:451 VOP_STRATEGY(fffffd807efb3510,fffffd806ed107f0) at VOP_STRATEGY+0x9f sys/kern/vfs_vops.c:628 bwrite(fffffd806ed107f0) at bwrite+0x1f1 sys/kern/vfs_bio.c:760 ffs_update(fffffd807e755780,1) at ffs_update+0x281 sys/ufs/ffs/ffs_inode.c:113 ffs_truncate(fffffd807e755780,0,0,ffffffffffffffff) at ffs_truncate+0xce7 ufs_inactive(ffff80002e40ae88) at ufs_inactive+0x152 sys/ufs/ufs/ufs_inode.c:84 VOP_INACTIVE(fffffd8072464130,ffff8000211e5960) at VOP_INACTIVE+0xc5 sys/kern/vfs_vops.c:489 vput(fffffd8072464130) at vput+0xad sys/kern/vfs_subr.c:779 vn_close(fffffd8072464130,2,ffffffffffffffff,ffff8000211e5960) at vn_close+0x82 sys/kern/vfs_vnops.c:294 acct_shutdown() at acct_shutdown+0x6c sys/kern/kern_acct.c:359 vfs_shutdown(ffff8000211e5960) at vfs_shutdown+0x1a sys/kern/vfs_subr.c:1779 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(ffffffff82c3dff0,ffff8000212378a0,50) 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: 0x73d610e3a630, count: 198 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_iopool_run(ffff8000000a3048) at scsi_iopool_run+0x95 scsi_iopool_get sys/scsi/scsi_base.c:258 [inline] scsi_iopool_run(ffff8000000a3048) at scsi_iopool_run+0x95 sys/scsi/scsi_base.c:422 scsi_xsh_runqueue(ffff80000002c500) at scsi_xsh_runqueue+0x203 sys/scsi/scsi_base.c:598 scsi_xsh_add(ffff80000019f1e0) at scsi_xsh_add+0xcd sys/scsi/scsi_base.c:536 sdstrategy(fffffd806ed107f0) at sdstrategy+0x187 sys/scsi/sd.c:567 spec_strategy(ffff80002e40aaf8) at spec_strategy+0x79 sys/kern/spec_vnops.c:451 VOP_STRATEGY(fffffd807efb3510,fffffd806ed107f0) at VOP_STRATEGY+0x9f sys/kern/vfs_vops.c:628 bwrite(fffffd806ed107f0) at bwrite+0x1f1 sys/kern/vfs_bio.c:760 ffs_update(fffffd807e755780,1) at ffs_update+0x281 sys/ufs/ffs/ffs_inode.c:113 ffs_truncate(fffffd807e755780,0,0,ffffffffffffffff) at ffs_truncate+0xce7 ufs_inactive(ffff80002e40ae88) at ufs_inactive+0x152 sys/ufs/ufs/ufs_inode.c:84 VOP_INACTIVE(fffffd8072464130,ffff8000211e5960) at VOP_INACTIVE+0xc5 sys/kern/vfs_vops.c:489 vput(fffffd8072464130) at vput+0xad sys/kern/vfs_subr.c:779 vn_close(fffffd8072464130,2,ffffffffffffffff,ffff8000211e5960) at vn_close+0x82 sys/kern/vfs_vnops.c:294 acct_shutdown() at acct_shutdown+0x6c sys/kern/kern_acct.c:359 vfs_shutdown(ffff8000211e5960) at vfs_shutdown+0x1a sys/kern/vfs_subr.c:1779 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(ffffffff82c3dff0,ffff8000212378a0,50) 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: 0x73d610e3a630, count: 183 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_iopool_run(ffff8000000a3048) at scsi_iopool_run+0x95 scsi_iopool_get sys/scsi/scsi_base.c:258 [inline] scsi_iopool_run(ffff8000000a3048) at scsi_iopool_run+0x95 sys/scsi/scsi_base.c:422 scsi_xsh_runqueue(ffff80000002c500) at scsi_xsh_runqueue+0x203 sys/scsi/scsi_base.c:598 scsi_xsh_add(ffff80000019f1e0) at scsi_xsh_add+0xcd sys/scsi/scsi_base.c:536 sdstrategy(fffffd806ed107f0) at sdstrategy+0x187 sys/scsi/sd.c:567 spec_strategy(ffff80002e40aaf8) at spec_strategy+0x79 sys/kern/spec_vnops.c:451 VOP_STRATEGY(fffffd807efb3510,fffffd806ed107f0) at VOP_STRATEGY+0x9f sys/kern/vfs_vops.c:628 bwrite(fffffd806ed107f0) at bwrite+0x1f1 sys/kern/vfs_bio.c:760 ffs_update(fffffd807e755780,1) at ffs_update+0x281 sys/ufs/ffs/ffs_inode.c:113 ffs_truncate(fffffd807e755780,0,0,ffffffffffffffff) at ffs_truncate+0xce7 ufs_inactive(ffff80002e40ae88) at ufs_inactive+0x152 sys/ufs/ufs/ufs_inode.c:84 VOP_INACTIVE(fffffd8072464130,ffff8000211e5960) at VOP_INACTIVE+0xc5 sys/kern/vfs_vops.c:489 vput(fffffd8072464130) at vput+0xad sys/kern/vfs_subr.c:779 vn_close(fffffd8072464130,2,ffffffffffffffff,ffff8000211e5960) at vn_close+0x82 sys/kern/vfs_vnops.c:294 acct_shutdown() at acct_shutdown+0x6c sys/kern/kern_acct.c:359 vfs_shutdown(ffff8000211e5960) at vfs_shutdown+0x1a sys/kern/vfs_subr.c:1779 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(ffffffff82c3dff0,ffff8000212378a0,50) 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: 0x73d610e3a630, count: 168 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_iopool_run(ffff8000000a3048) at scsi_iopool_run+0x95 scsi_iopool_get sys/scsi/scsi_base.c:258 [inline] scsi_iopool_run(ffff8000000a3048) at scsi_iopool_run+0x95 sys/scsi/scsi_base.c:422 scsi_xsh_runqueue(ffff80000002c500) at scsi_xsh_runqueue+0x203 sys/scsi/scsi_base.c:598 scsi_xsh_add(ffff80000019f1e0) at scsi_xsh_add+0xcd sys/scsi/scsi_base.c:536 sdstrategy(fffffd806ed107f0) at sdstrategy+0x187 sys/scsi/sd.c:567 spec_strategy(ffff80002e40aaf8) at spec_strategy+0x79 sys/kern/spec_vnops.c:451 VOP_STRATEGY(fffffd807efb3510,fffffd806ed107f0) at VOP_STRATEGY+0x9f sys/kern/vfs_vops.c:628 bwrite(fffffd806ed107f0) at bwrite+0x1f1 sys/kern/vfs_bio.c:760 ffs_update(fffffd807e755780,1) at ffs_update+0x281 sys/ufs/ffs/ffs_inode.c:113 ffs_truncate(fffffd807e755780,0,0,ffffffffffffffff) at ffs_truncate+0xce7 ufs_inactive(ffff80002e40ae88) at ufs_inactive+0x152 sys/ufs/ufs/ufs_inode.c:84 VOP_INACTIVE(fffffd8072464130,ffff8000211e5960) at VOP_INACTIVE+0xc5 sys/kern/vfs_vops.c:489 vput(fffffd8072464130) at vput+0xad sys/kern/vfs_subr.c:779 vn_close(fffffd8072464130,2,ffffffffffffffff,ffff8000211e5960) at vn_close+0x82 sys/kern/vfs_vnops.c:294 acct_shutdown() at acct_shutdown+0x6c sys/kern/kern_acct.c:359 vfs_shutdown(ffff8000211e5960) at vfs_shutdown+0x1a sys/kern/vfs_subr.c:1779 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(ffffffff82c3dff0,ffff8000212378a0,50) 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: 0x73d610e3a630, count: 153 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 scsi_iopool_run(ffff8000000a3048) at scsi_iopool_run+0x95 scsi_iopool_get sys/scsi/scsi_base.c:258 [inline] scsi_iopool_run(ffff8000000a3048) at scsi_iopool_run+0x95 sys/scsi/scsi_base.c:422 scsi_xsh_runqueue(ffff80000002c500) at scsi_xsh_runqueue+0x203 sys/scsi/scsi_base.c:598 scsi_xsh_add(ffff80000019f1e0) at scsi_xsh_add+0xcd sys/scsi/scsi_base.c:536 sdstrategy(fffffd806ed107f0) at sdstrategy+0x187 sys/scsi/sd.c:567 spec_strategy(ffff80002e40aaf8) at spec_strategy+0x79 sys/kern/spec_vnops.c:451 VOP_STRATEGY(fffffd807efb3510,fffffd806ed107f0) at VOP_STRATEGY+0x9f sys/kern/vfs_vops.c:628 bwrite(fffffd806ed107f0) at bwrite+0x1f1 sys/kern/vfs_bio.c:760 ffs_update(fffffd807e755780,1) at ffs_update+0x281 sys/ufs/ffs/ffs_inode.c:113 ffs_truncate(fffffd807e755780,0,0,ffffffffffffffff) at ffs_truncate+0xce7 ufs_inactive(ffff80002e40ae88) at ufs_inactive+0x152 sys/ufs/ufs/ufs_inode.c:84 VOP_INACTIVE(fffffd8072464130,ffff8000211e5960) at VOP_INACTIVE+0xc5 sys/kern/vfs_vops.c:489 vput(fffffd8072464130) at vput+0xad sys/kern/vfs_subr.c:779 vn_close(fffffd8072464130,2,ffffffffffffffff,ffff8000211e5960) at vn_close+0x82 sys/kern/vfs_vnops.c:294 acct_shutdown() at acct_shutdown+0x6c sys/kern/kern_acct.c:359 vfs_shutdown(ffff8000211e5960) at vfs_shutdown+0x1a sys/kern/vfs_subr.c:1779 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(ffffffff82c3dff0,ffff8000212378a0,50) 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: 0x73d610e3a630, count: 138 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 ffffffff81c6c96f cs 8 rflags 10286 cr2 ffff80002e407ff8 cpl d rsp ffff80002e408000 gsbase 0xffffffff82c3dff0 kgsbase 0x0 panic: trap type 13, code=0, pc=ffffffff81c6c96f 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 5539092a-1476-82b6-0a34-88b96a0f4c53 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