panic: curcpu->ci_proc_pmap didn't point to previous pmap Starting stack trace... panic(ffffffff829f7a4d) at panic+0x16f sys/kern/subr_prf.c:229 switch_restored() at switch_restored+0x3f sched_idle(ffffffff82c7fff0) at sched_idle+0x1a2 sys/kern/kern_sched.c:169 end trace frame: 0x0, count: 254 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(ffffffff82959e1e) at panic+0x16f sys/kern/subr_prf.c:229 __assert(ffffffff82913737,ffffffff82885187,3f,ffffffff828fb8e0) 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+0x31 sys/uvm/uvm_pager.c:155 uvm_pagermapin(ffff80002a1058b8,2,0) at uvm_pagermapin+0xb1 sys/uvm/uvm_pager.c:278 uvn_io(fffffd806d9830c0,ffff80002a1058b8,2,31,1) at uvn_io+0x172 sys/uvm/uvm_vnode.c:1204 uvn_put(fffffd806d9830c0,ffff80002a1058b8,2,31) at uvn_put+0xd4 sys/uvm/uvm_vnode.c:926 uvm_pager_put(fffffd806d9830c0,fffffd80072d4960,ffff80002a105950,ffff80002a105988,31,0,31656797700a3eff) at uvm_pager_put+0x145 sys/uvm/uvm_pager.c:545 uvn_flush(fffffd806d9830c0,0,0,31) at uvn_flush+0x513 sys/uvm/uvm_vnode.c:725 uvm_vnp_sync(ffff8000006cec00) at uvm_vnp_sync+0x16e sys/uvm/uvm_vnode.c:1540 sys_sync(ffff8000fffff1f0,0,0) at sys_sync+0x9b sys/kern/vfs_syscalls.c:536 vfs_syncwait(ffff8000fffff1f0,1) at vfs_syncwait+0x3b vfs_shutdown(ffff8000fffff1f0) at vfs_shutdown+0x61 sys/kern/vfs_subr.c:1791 boot(100) at boot+0xe9 sys/arch/amd64/amd64/machdep.c:900 reboot(100) at reboot+0x84 panic(ffffffff829f7a4d) at panic+0x18f sys/kern/subr_prf.c:231 switch_restored() at switch_restored+0x3f sched_idle(ffffffff82c7fff0) at sched_idle+0x1a2 sys/kern/kern_sched.c:169 end trace frame: 0x0, count: 239 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(ffffffff82959e1e) at panic+0x16f sys/kern/subr_prf.c:229 __assert(ffffffff82913737,ffffffff82885187,3f,ffffffff828fb8e0) 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,103) at scsi_xs_get+0x135 scsi_iopool_get sys/scsi/scsi_base.c:259 [inline] scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 sys/scsi/scsi_base.c:655 sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sd_flush sys/scsi/sd.c:1867 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 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+0x17c sys/arch/amd64/amd64/machdep.c:919 reboot(104) at reboot+0x84 panic(ffffffff82959e1e) at panic+0x18f sys/kern/subr_prf.c:231 __assert(ffffffff82913737,ffffffff82885187,3f,ffffffff828fb8e0) 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+0x31 sys/uvm/uvm_pager.c:155 uvm_pagermapin(ffff80002a1058b8,2,0) at uvm_pagermapin+0xb1 sys/uvm/uvm_pager.c:278 uvn_io(fffffd806d9830c0,ffff80002a1058b8,2,31,1) at uvn_io+0x172 sys/uvm/uvm_vnode.c:1204 uvn_put(fffffd806d9830c0,ffff80002a1058b8,2,31) at uvn_put+0xd4 sys/uvm/uvm_vnode.c:926 uvm_pager_put(fffffd806d9830c0,fffffd80072d4960,ffff80002a105950,ffff80002a105988,31,0,31656797700a3eff) at uvm_pager_put+0x145 sys/uvm/uvm_pager.c:545 uvn_flush(fffffd806d9830c0,0,0,31) at uvn_flush+0x513 sys/uvm/uvm_vnode.c:725 uvm_vnp_sync(ffff8000006cec00) at uvm_vnp_sync+0x16e sys/uvm/uvm_vnode.c:1540 sys_sync(ffff8000fffff1f0,0,0) at sys_sync+0x9b sys/kern/vfs_syscalls.c:536 vfs_syncwait(ffff8000fffff1f0,1) at vfs_syncwait+0x3b vfs_shutdown(ffff8000fffff1f0) at vfs_shutdown+0x61 sys/kern/vfs_subr.c:1791 boot(100) at boot+0xe9 sys/arch/amd64/amd64/machdep.c:900 reboot(100) at reboot+0x84 panic(ffffffff829f7a4d) at panic+0x18f sys/kern/subr_prf.c:231 switch_restored() at switch_restored+0x3f sched_idle(ffffffff82c7fff0) at sched_idle+0x1a2 sys/kern/kern_sched.c:169 end trace frame: 0x0, count: 224 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(ffffffff82959e1e) at panic+0x16f sys/kern/subr_prf.c:229 __assert(ffffffff82913737,ffffffff82885187,3f,ffffffff828fb8e0) 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,103) at scsi_xs_get+0x135 scsi_iopool_get sys/scsi/scsi_base.c:259 [inline] scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 sys/scsi/scsi_base.c:655 sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sd_flush sys/scsi/sd.c:1867 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 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+0x17c sys/arch/amd64/amd64/machdep.c:919 reboot(104) at reboot+0x84 panic(ffffffff82959e1e) at panic+0x18f sys/kern/subr_prf.c:231 __assert(ffffffff82913737,ffffffff82885187,3f,ffffffff828fb8e0) 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,103) at scsi_xs_get+0x135 scsi_iopool_get sys/scsi/scsi_base.c:259 [inline] scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 sys/scsi/scsi_base.c:655 sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sd_flush sys/scsi/sd.c:1867 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 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+0x17c sys/arch/amd64/amd64/machdep.c:919 reboot(104) at reboot+0x84 panic(ffffffff82959e1e) at panic+0x18f sys/kern/subr_prf.c:231 __assert(ffffffff82913737,ffffffff82885187,3f,ffffffff828fb8e0) 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+0x31 sys/uvm/uvm_pager.c:155 uvm_pagermapin(ffff80002a1058b8,2,0) at uvm_pagermapin+0xb1 sys/uvm/uvm_pager.c:278 uvn_io(fffffd806d9830c0,ffff80002a1058b8,2,31,1) at uvn_io+0x172 sys/uvm/uvm_vnode.c:1204 uvn_put(fffffd806d9830c0,ffff80002a1058b8,2,31) at uvn_put+0xd4 sys/uvm/uvm_vnode.c:926 uvm_pager_put(fffffd806d9830c0,fffffd80072d4960,ffff80002a105950,ffff80002a105988,31,0,31656797700a3eff) at uvm_pager_put+0x145 sys/uvm/uvm_pager.c:545 uvn_flush(fffffd806d9830c0,0,0,31) at uvn_flush+0x513 sys/uvm/uvm_vnode.c:725 uvm_vnp_sync(ffff8000006cec00) at uvm_vnp_sync+0x16e sys/uvm/uvm_vnode.c:1540 sys_sync(ffff8000fffff1f0,0,0) at sys_sync+0x9b sys/kern/vfs_syscalls.c:536 vfs_syncwait(ffff8000fffff1f0,1) at vfs_syncwait+0x3b vfs_shutdown(ffff8000fffff1f0) at vfs_shutdown+0x61 sys/kern/vfs_subr.c:1791 boot(100) at boot+0xe9 sys/arch/amd64/amd64/machdep.c:900 reboot(100) at reboot+0x84 panic(ffffffff829f7a4d) at panic+0x18f sys/kern/subr_prf.c:231 switch_restored() at switch_restored+0x3f sched_idle(ffffffff82c7fff0) at sched_idle+0x1a2 sys/kern/kern_sched.c:169 end trace frame: 0x0, count: 209 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(ffffffff82959e1e) at panic+0x16f sys/kern/subr_prf.c:229 __assert(ffffffff82913737,ffffffff82885187,3f,ffffffff828fb8e0) 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,103) at scsi_xs_get+0x135 scsi_iopool_get sys/scsi/scsi_base.c:259 [inline] scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 sys/scsi/scsi_base.c:655 sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sd_flush sys/scsi/sd.c:1867 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 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+0x17c sys/arch/amd64/amd64/machdep.c:919 reboot(104) at reboot+0x84 panic(ffffffff82959e1e) at panic+0x18f sys/kern/subr_prf.c:231 __assert(ffffffff82913737,ffffffff82885187,3f,ffffffff828fb8e0) 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,103) at scsi_xs_get+0x135 scsi_iopool_get sys/scsi/scsi_base.c:259 [inline] scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 sys/scsi/scsi_base.c:655 sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sd_flush sys/scsi/sd.c:1867 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 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+0x17c sys/arch/amd64/amd64/machdep.c:919 reboot(104) at reboot+0x84 panic(ffffffff82959e1e) at panic+0x18f sys/kern/subr_prf.c:231 __assert(ffffffff82913737,ffffffff82885187,3f,ffffffff828fb8e0) 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,103) at scsi_xs_get+0x135 scsi_iopool_get sys/scsi/scsi_base.c:259 [inline] scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 sys/scsi/scsi_base.c:655 sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sd_flush sys/scsi/sd.c:1867 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 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+0x17c sys/arch/amd64/amd64/machdep.c:919 reboot(104) at reboot+0x84 panic(ffffffff82959e1e) at panic+0x18f sys/kern/subr_prf.c:231 __assert(ffffffff82913737,ffffffff82885187,3f,ffffffff828fb8e0) 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+0x31 sys/uvm/uvm_pager.c:155 uvm_pagermapin(ffff80002a1058b8,2,0) at uvm_pagermapin+0xb1 sys/uvm/uvm_pager.c:278 uvn_io(fffffd806d9830c0,ffff80002a1058b8,2,31,1) at uvn_io+0x172 sys/uvm/uvm_vnode.c:1204 uvn_put(fffffd806d9830c0,ffff80002a1058b8,2,31) at uvn_put+0xd4 sys/uvm/uvm_vnode.c:926 uvm_pager_put(fffffd806d9830c0,fffffd80072d4960,ffff80002a105950,ffff80002a105988,31,0,31656797700a3eff) at uvm_pager_put+0x145 sys/uvm/uvm_pager.c:545 uvn_flush(fffffd806d9830c0,0,0,31) at uvn_flush+0x513 sys/uvm/uvm_vnode.c:725 uvm_vnp_sync(ffff8000006cec00) at uvm_vnp_sync+0x16e sys/uvm/uvm_vnode.c:1540 sys_sync(ffff8000fffff1f0,0,0) at sys_sync+0x9b sys/kern/vfs_syscalls.c:536 vfs_syncwait(ffff8000fffff1f0,1) at vfs_syncwait+0x3b vfs_shutdown(ffff8000fffff1f0) at vfs_shutdown+0x61 sys/kern/vfs_subr.c:1791 boot(100) at boot+0xe9 sys/arch/amd64/amd64/machdep.c:900 reboot(100) at reboot+0x84 panic(ffffffff829f7a4d) at panic+0x18f sys/kern/subr_prf.c:231 switch_restored() at switch_restored+0x3f sched_idle(ffffffff82c7fff0) at sched_idle+0x1a2 sys/kern/kern_sched.c:169 end trace frame: 0x0, count: 194 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(ffffffff82959e1e) at panic+0x16f sys/kern/subr_prf.c:229 __assert(ffffffff82913737,ffffffff82885187,3f,ffffffff828fb8e0) 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,103) at scsi_xs_get+0x135 scsi_iopool_get sys/scsi/scsi_base.c:259 [inline] scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 sys/scsi/scsi_base.c:655 sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sd_flush sys/scsi/sd.c:1867 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 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+0x17c sys/arch/amd64/amd64/machdep.c:919 reboot(104) at reboot+0x84 panic(ffffffff82959e1e) at panic+0x18f sys/kern/subr_prf.c:231 __assert(ffffffff82913737,ffffffff82885187,3f,ffffffff828fb8e0) 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,103) at scsi_xs_get+0x135 scsi_iopool_get sys/scsi/scsi_base.c:259 [inline] scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 sys/scsi/scsi_base.c:655 sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sd_flush sys/scsi/sd.c:1867 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 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+0x17c sys/arch/amd64/amd64/machdep.c:919 reboot(104) at reboot+0x84 panic(ffffffff82959e1e) at panic+0x18f sys/kern/subr_prf.c:231 __assert(ffffffff82913737,ffffffff82885187,3f,ffffffff828fb8e0) 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,103) at scsi_xs_get+0x135 scsi_iopool_get sys/scsi/scsi_base.c:259 [inline] scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 sys/scsi/scsi_base.c:655 sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sd_flush sys/scsi/sd.c:1867 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 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+0x17c sys/arch/amd64/amd64/machdep.c:919 reboot(104) at reboot+0x84 panic(ffffffff82959e1e) at panic+0x18f sys/kern/subr_prf.c:231 __assert(ffffffff82913737,ffffffff82885187,3f,ffffffff828fb8e0) 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,103) at scsi_xs_get+0x135 scsi_iopool_get sys/scsi/scsi_base.c:259 [inline] scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 sys/scsi/scsi_base.c:655 sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sd_flush sys/scsi/sd.c:1867 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 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+0x17c sys/arch/amd64/amd64/machdep.c:919 reboot(104) at reboot+0x84 panic(ffffffff82959e1e) at panic+0x18f sys/kern/subr_prf.c:231 __assert(ffffffff82913737,ffffffff82885187,3f,ffffffff828fb8e0) 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+0x31 sys/uvm/uvm_pager.c:155 uvm_pagermapin(ffff80002a1058b8,2,0) at uvm_pagermapin+0xb1 sys/uvm/uvm_pager.c:278 uvn_io(fffffd806d9830c0,ffff80002a1058b8,2,31,1) at uvn_io+0x172 sys/uvm/uvm_vnode.c:1204 uvn_put(fffffd806d9830c0,ffff80002a1058b8,2,31) at uvn_put+0xd4 sys/uvm/uvm_vnode.c:926 uvm_pager_put(fffffd806d9830c0,fffffd80072d4960,ffff80002a105950,ffff80002a105988,31,0,31656797700a3eff) at uvm_pager_put+0x145 sys/uvm/uvm_pager.c:545 uvn_flush(fffffd806d9830c0,0,0,31) at uvn_flush+0x513 sys/uvm/uvm_vnode.c:725 uvm_vnp_sync(ffff8000006cec00) at uvm_vnp_sync+0x16e sys/uvm/uvm_vnode.c:1540 sys_sync(ffff8000fffff1f0,0,0) at sys_sync+0x9b sys/kern/vfs_syscalls.c:536 vfs_syncwait(ffff8000fffff1f0,1) at vfs_syncwait+0x3b vfs_shutdown(ffff8000fffff1f0) at vfs_shutdown+0x61 sys/kern/vfs_subr.c:1791 boot(100) at boot+0xe9 sys/arch/amd64/amd64/machdep.c:900 reboot(100) at reboot+0x84 panic(ffffffff829f7a4d) at panic+0x18f sys/kern/subr_prf.c:231 switch_restored() at switch_restored+0x3f sched_idle(ffffffff82c7fff0) at sched_idle+0x1a2 sys/kern/kern_sched.c:169 end trace frame: 0x0, count: 179 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(ffffffff82959e1e) at panic+0x16f sys/kern/subr_prf.c:229 __assert(ffffffff82913737,ffffffff82885187,3f,ffffffff828fb8e0) 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,103) at scsi_xs_get+0x135 scsi_iopool_get sys/scsi/scsi_base.c:259 [inline] scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 sys/scsi/scsi_base.c:655 sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sd_flush sys/scsi/sd.c:1867 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 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+0x17c sys/arch/amd64/amd64/machdep.c:919 reboot(104) at reboot+0x84 panic(ffffffff82959e1e) at panic+0x18f sys/kern/subr_prf.c:231 __assert(ffffffff82913737,ffffffff82885187,3f,ffffffff828fb8e0) 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,103) at scsi_xs_get+0x135 scsi_iopool_get sys/scsi/scsi_base.c:259 [inline] scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 sys/scsi/scsi_base.c:655 sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sd_flush sys/scsi/sd.c:1867 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 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+0x17c sys/arch/amd64/amd64/machdep.c:919 reboot(104) at reboot+0x84 panic(ffffffff82959e1e) at panic+0x18f sys/kern/subr_prf.c:231 __assert(ffffffff82913737,ffffffff82885187,3f,ffffffff828fb8e0) 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,103) at scsi_xs_get+0x135 scsi_iopool_get sys/scsi/scsi_base.c:259 [inline] scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 sys/scsi/scsi_base.c:655 sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sd_flush sys/scsi/sd.c:1867 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 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+0x17c sys/arch/amd64/amd64/machdep.c:919 reboot(104) at reboot+0x84 panic(ffffffff82959e1e) at panic+0x18f sys/kern/subr_prf.c:231 __assert(ffffffff82913737,ffffffff82885187,3f,ffffffff828fb8e0) 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,103) at scsi_xs_get+0x135 scsi_iopool_get sys/scsi/scsi_base.c:259 [inline] scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 sys/scsi/scsi_base.c:655 sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sd_flush sys/scsi/sd.c:1867 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 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+0x17c sys/arch/amd64/amd64/machdep.c:919 reboot(104) at reboot+0x84 panic(ffffffff82959e1e) at panic+0x18f sys/kern/subr_prf.c:231 __assert(ffffffff82913737,ffffffff82885187,3f,ffffffff828fb8e0) 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,103) at scsi_xs_get+0x135 scsi_iopool_get sys/scsi/scsi_base.c:259 [inline] scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 sys/scsi/scsi_base.c:655 sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sd_flush sys/scsi/sd.c:1867 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 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+0x17c sys/arch/amd64/amd64/machdep.c:919 reboot(104) at reboot+0x84 panic(ffffffff82959e1e) at panic+0x18f sys/kern/subr_prf.c:231 __assert(ffffffff82913737,ffffffff82885187,3f,ffffffff828fb8e0) 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+0x31 sys/uvm/uvm_pager.c:155 uvm_pagermapin(ffff80002a1058b8,2,0) at uvm_pagermapin+0xb1 sys/uvm/uvm_pager.c:278 uvn_io(fffffd806d9830c0,ffff80002a1058b8,2,31,1) at uvn_io+0x172 sys/uvm/uvm_vnode.c:1204 uvn_put(fffffd806d9830c0,ffff80002a1058b8,2,31) at uvn_put+0xd4 sys/uvm/uvm_vnode.c:926 uvm_pager_put(fffffd806d9830c0,fffffd80072d4960,ffff80002a105950,ffff80002a105988,31,0,31656797700a3eff) at uvm_pager_put+0x145 sys/uvm/uvm_pager.c:545 uvn_flush(fffffd806d9830c0,0,0,31) at uvn_flush+0x513 sys/uvm/uvm_vnode.c:725 uvm_vnp_sync(ffff8000006cec00) at uvm_vnp_sync+0x16e sys/uvm/uvm_vnode.c:1540 sys_sync(ffff8000fffff1f0,0,0) at sys_sync+0x9b sys/kern/vfs_syscalls.c:536 vfs_syncwait(ffff8000fffff1f0,1) at vfs_syncwait+0x3b vfs_shutdown(ffff8000fffff1f0) at vfs_shutdown+0x61 sys/kern/vfs_subr.c:1791 boot(100) at boot+0xe9 sys/arch/amd64/amd64/machdep.c:900 reboot(100) at reboot+0x84 panic(ffffffff829f7a4d) at panic+0x18f sys/kern/subr_prf.c:231 switch_restored() at switch_restored+0x3f sched_idle(ffffffff82c7fff0) at sched_idle+0x1a2 sys/kern/kern_sched.c:169 end trace frame: 0x0, count: 164 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(ffffffff82959e1e) at panic+0x16f sys/kern/subr_prf.c:229 __assert(ffffffff82913737,ffffffff82885187,3f,ffffffff828fb8e0) 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,103) at scsi_xs_get+0x135 scsi_iopool_get sys/scsi/scsi_base.c:259 [inline] scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 sys/scsi/scsi_base.c:655 sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sd_flush sys/scsi/sd.c:1867 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 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+0x17c sys/arch/amd64/amd64/machdep.c:919 reboot(104) at reboot+0x84 panic(ffffffff82959e1e) at panic+0x18f sys/kern/subr_prf.c:231 __assert(ffffffff82913737,ffffffff82885187,3f,ffffffff828fb8e0) 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,103) at scsi_xs_get+0x135 scsi_iopool_get sys/scsi/scsi_base.c:259 [inline] scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 sys/scsi/scsi_base.c:655 sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sd_flush sys/scsi/sd.c:1867 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 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+0x17c sys/arch/amd64/amd64/machdep.c:919 reboot(104) at reboot+0x84 panic(ffffffff82959e1e) at panic+0x18f sys/kern/subr_prf.c:231 __assert(ffffffff82913737,ffffffff82885187,3f,ffffffff828fb8e0) 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,103) at scsi_xs_get+0x135 scsi_iopool_get sys/scsi/scsi_base.c:259 [inline] scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 sys/scsi/scsi_base.c:655 sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sd_flush sys/scsi/sd.c:1867 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 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+0x17c sys/arch/amd64/amd64/machdep.c:919 reboot(104) at reboot+0x84 panic(ffffffff82959e1e) at panic+0x18f sys/kern/subr_prf.c:231 __assert(ffffffff82913737,ffffffff82885187,3f,ffffffff828fb8e0) 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,103) at scsi_xs_get+0x135 scsi_iopool_get sys/scsi/scsi_base.c:259 [inline] scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 sys/scsi/scsi_base.c:655 sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sd_flush sys/scsi/sd.c:1867 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 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+0x17c sys/arch/amd64/amd64/machdep.c:919 reboot(104) at reboot+0x84 panic(ffffffff82959e1e) at panic+0x18f sys/kern/subr_prf.c:231 __assert(ffffffff82913737,ffffffff82885187,3f,ffffffff828fb8e0) 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,103) at scsi_xs_get+0x135 scsi_iopool_get sys/scsi/scsi_base.c:259 [inline] scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 sys/scsi/scsi_base.c:655 sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sd_flush sys/scsi/sd.c:1867 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 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+0x17c sys/arch/amd64/amd64/machdep.c:919 reboot(104) at reboot+0x84 panic(ffffffff82959e1e) at panic+0x18f sys/kern/subr_prf.c:231 __assert(ffffffff82913737,ffffffff82885187,3f,ffffffff828fb8e0) 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,103) at scsi_xs_get+0x135 scsi_iopool_get sys/scsi/scsi_base.c:259 [inline] scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 sys/scsi/scsi_base.c:655 sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sd_flush sys/scsi/sd.c:1867 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 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+0x17c sys/arch/amd64/amd64/machdep.c:919 reboot(104) at reboot+0x84 panic(ffffffff82959e1e) at panic+0x18f sys/kern/subr_prf.c:231 __assert(ffffffff82913737,ffffffff82885187,3f,ffffffff828fb8e0) 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+0x31 sys/uvm/uvm_pager.c:155 uvm_pagermapin(ffff80002a1058b8,2,0) at uvm_pagermapin+0xb1 sys/uvm/uvm_pager.c:278 uvn_io(fffffd806d9830c0,ffff80002a1058b8,2,31,1) at uvn_io+0x172 sys/uvm/uvm_vnode.c:1204 uvn_put(fffffd806d9830c0,ffff80002a1058b8,2,31) at uvn_put+0xd4 sys/uvm/uvm_vnode.c:926 uvm_pager_put(fffffd806d9830c0,fffffd80072d4960,ffff80002a105950,ffff80002a105988,31,0,31656797700a3eff) at uvm_pager_put+0x145 sys/uvm/uvm_pager.c:545 uvn_flush(fffffd806d9830c0,0,0,31) at uvn_flush+0x513 sys/uvm/uvm_vnode.c:725 uvm_vnp_sync(ffff8000006cec00) at uvm_vnp_sync+0x16e sys/uvm/uvm_vnode.c:1540 sys_sync(ffff8000fffff1f0,0,0) at sys_sync+0x9b sys/kern/vfs_syscalls.c:536 vfs_syncwait(ffff8000fffff1f0,1) at vfs_syncwait+0x3b vfs_shutdown(ffff8000fffff1f0) at vfs_shutdown+0x61 sys/kern/vfs_subr.c:1791 boot(100) at boot+0xe9 sys/arch/amd64/amd64/machdep.c:900 reboot(100) at reboot+0x84 panic(ffffffff829f7a4d) at panic+0x18f sys/kern/subr_prf.c:231 switch_restored() at switch_restored+0x3f sched_idle(ffffffff82c7fff0) at sched_idle+0x1a2 sys/kern/kern_sched.c:169 end trace frame: 0x0, count: 149 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(ffffffff82959e1e) at panic+0x16f sys/kern/subr_prf.c:229 __assert(ffffffff82913737,ffffffff82885187,3f,ffffffff828fb8e0) 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,103) at scsi_xs_get+0x135 scsi_iopool_get sys/scsi/scsi_base.c:259 [inline] scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 sys/scsi/scsi_base.c:655 sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sd_flush sys/scsi/sd.c:1867 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 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+0x17c sys/arch/amd64/amd64/machdep.c:919 reboot(104) at reboot+0x84 panic(ffffffff82959e1e) at panic+0x18f sys/kern/subr_prf.c:231 __assert(ffffffff82913737,ffffffff82885187,3f,ffffffff828fb8e0) 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,103) at scsi_xs_get+0x135 scsi_iopool_get sys/scsi/scsi_base.c:259 [inline] scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 sys/scsi/scsi_base.c:655 sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sd_flush sys/scsi/sd.c:1867 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 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+0x17c sys/arch/amd64/amd64/machdep.c:919 reboot(104) at reboot+0x84 panic(ffffffff82959e1e) at panic+0x18f sys/kern/subr_prf.c:231 __assert(ffffffff82913737,ffffffff82885187,3f,ffffffff828fb8e0) 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,103) at scsi_xs_get+0x135 scsi_iopool_get sys/scsi/scsi_base.c:259 [inline] scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 sys/scsi/scsi_base.c:655 sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sd_flush sys/scsi/sd.c:1867 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 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+0x17c sys/arch/amd64/amd64/machdep.c:919 reboot(104) at reboot+0x84 panic(ffffffff82959e1e) at panic+0x18f sys/kern/subr_prf.c:231 __assert(ffffffff82913737,ffffffff82885187,3f,ffffffff828fb8e0) 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,103) at scsi_xs_get+0x135 scsi_iopool_get sys/scsi/scsi_base.c:259 [inline] scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 sys/scsi/scsi_base.c:655 sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sd_flush sys/scsi/sd.c:1867 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 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+0x17c sys/arch/amd64/amd64/machdep.c:919 reboot(104) at reboot+0x84 panic(ffffffff82959e1e) at panic+0x18f sys/kern/subr_prf.c:231 __assert(ffffffff82913737,ffffffff82885187,3f,ffffffff828fb8e0) 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,103) at scsi_xs_get+0x135 scsi_iopool_get sys/scsi/scsi_base.c:259 [inline] scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 sys/scsi/scsi_base.c:655 sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sd_flush sys/scsi/sd.c:1867 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 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+0x17c sys/arch/amd64/amd64/machdep.c:919 reboot(104) at reboot+0x84 panic(ffffffff82959e1e) at panic+0x18f sys/kern/subr_prf.c:231 __assert(ffffffff82913737,ffffffff82885187,3f,ffffffff828fb8e0) 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,103) at scsi_xs_get+0x135 scsi_iopool_get sys/scsi/scsi_base.c:259 [inline] scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 sys/scsi/scsi_base.c:655 sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sd_flush sys/scsi/sd.c:1867 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 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+0x17c sys/arch/amd64/amd64/machdep.c:919 reboot(104) at reboot+0x84 panic(ffffffff82959e1e) at panic+0x18f sys/kern/subr_prf.c:231 __assert(ffffffff82913737,ffffffff82885187,3f,ffffffff828fb8e0) 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,103) at scsi_xs_get+0x135 scsi_iopool_get sys/scsi/scsi_base.c:259 [inline] scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 sys/scsi/scsi_base.c:655 sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sd_flush sys/scsi/sd.c:1867 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 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+0x17c sys/arch/amd64/amd64/machdep.c:919 reboot(104) at reboot+0x84 panic(ffffffff82959e1e) at panic+0x18f sys/kern/subr_prf.c:231 __assert(ffffffff82913737,ffffffff82885187,3f,ffffffff828fb8e0) 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+0x31 sys/uvm/uvm_pager.c:155 uvm_pagermapin(ffff80002a1058b8,2,0) at uvm_pagermapin+0xb1 sys/uvm/uvm_pager.c:278 uvn_io(fffffd806d9830c0,ffff80002a1058b8,2,31,1) at uvn_io+0x172 sys/uvm/uvm_vnode.c:1204 uvn_put(fffffd806d9830c0,ffff80002a1058b8,2,31) at uvn_put+0xd4 sys/uvm/uvm_vnode.c:926 uvm_pager_put(fffffd806d9830c0,fffffd80072d4960,ffff80002a105950,ffff80002a105988,31,0,31656797700a3eff) at uvm_pager_put+0x145 sys/uvm/uvm_pager.c:545 uvn_flush(fffffd806d9830c0,0,0,31) at uvn_flush+0x513 sys/uvm/uvm_vnode.c:725 uvm_vnp_sync(ffff8000006cec00) at uvm_vnp_sync+0x16e sys/uvm/uvm_vnode.c:1540 sys_sync(ffff8000fffff1f0,0,0) at sys_sync+0x9b sys/kern/vfs_syscalls.c:536 vfs_syncwait(ffff8000fffff1f0,1) at vfs_syncwait+0x3b vfs_shutdown(ffff8000fffff1f0) at vfs_shutdown+0x61 sys/kern/vfs_subr.c:1791 boot(100) at boot+0xe9 sys/arch/amd64/amd64/machdep.c:900 reboot(100) at reboot+0x84 panic(ffffffff829f7a4d) at panic+0x18f sys/kern/subr_prf.c:231 switch_restored() at switch_restored+0x3f sched_idle(ffffffff82c7fff0) at sched_idle+0x1a2 sys/kern/kern_sched.c:169 end trace frame: 0x0, count: 134 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(ffffffff82959e1e) at panic+0x16f sys/kern/subr_prf.c:229 __assert(ffffffff82913737,ffffffff82885187,3f,ffffffff828fb8e0) 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,103) at scsi_xs_get+0x135 scsi_iopool_get sys/scsi/scsi_base.c:259 [inline] scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 sys/scsi/scsi_base.c:655 sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sd_flush sys/scsi/sd.c:1867 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 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+0x17c sys/arch/amd64/amd64/machdep.c:919 reboot(104) at reboot+0x84 panic(ffffffff82959e1e) at panic+0x18f sys/kern/subr_prf.c:231 __assert(ffffffff82913737,ffffffff82885187,3f,ffffffff828fb8e0) 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,103) at scsi_xs_get+0x135 scsi_iopool_get sys/scsi/scsi_base.c:259 [inline] scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 sys/scsi/scsi_base.c:655 sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sd_flush sys/scsi/sd.c:1867 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 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+0x17c sys/arch/amd64/amd64/machdep.c:919 reboot(104) at reboot+0x84 panic(ffffffff82959e1e) at panic+0x18f sys/kern/subr_prf.c:231 __assert(ffffffff82913737,ffffffff82885187,3f,ffffffff828fb8e0) 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,103) at scsi_xs_get+0x135 scsi_iopool_get sys/scsi/scsi_base.c:259 [inline] scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 sys/scsi/scsi_base.c:655 sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sd_flush sys/scsi/sd.c:1867 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 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+0x17c sys/arch/amd64/amd64/machdep.c:919 reboot(104) at reboot+0x84 panic(ffffffff82959e1e) at panic+0x18f sys/kern/subr_prf.c:231 __assert(ffffffff82913737,ffffffff82885187,3f,ffffffff828fb8e0) 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,103) at scsi_xs_get+0x135 scsi_iopool_get sys/scsi/scsi_base.c:259 [inline] scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 sys/scsi/scsi_base.c:655 sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sd_flush sys/scsi/sd.c:1867 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 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+0x17c sys/arch/amd64/amd64/machdep.c:919 reboot(104) at reboot+0x84 panic(ffffffff82959e1e) at panic+0x18f sys/kern/subr_prf.c:231 __assert(ffffffff82913737,ffffffff82885187,3f,ffffffff828fb8e0) 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,103) at scsi_xs_get+0x135 scsi_iopool_get sys/scsi/scsi_base.c:259 [inline] scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 sys/scsi/scsi_base.c:655 sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sd_flush sys/scsi/sd.c:1867 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 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+0x17c sys/arch/amd64/amd64/machdep.c:919 reboot(104) at reboot+0x84 panic(ffffffff82959e1e) at panic+0x18f sys/kern/subr_prf.c:231 __assert(ffffffff82913737,ffffffff82885187,3f,ffffffff828fb8e0) 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,103) at scsi_xs_get+0x135 scsi_iopool_get sys/scsi/scsi_base.c:259 [inline] scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 sys/scsi/scsi_base.c:655 sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sd_flush sys/scsi/sd.c:1867 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 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+0x17c sys/arch/amd64/amd64/machdep.c:919 reboot(104) at reboot+0x84 panic(ffffffff82959e1e) at panic+0x18f sys/kern/subr_prf.c:231 __assert(ffffffff82913737,ffffffff82885187,3f,ffffffff828fb8e0) 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,103) at scsi_xs_get+0x135 scsi_iopool_get sys/scsi/scsi_base.c:259 [inline] scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 sys/scsi/scsi_base.c:655 sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sd_flush sys/scsi/sd.c:1867 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 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+0x17c sys/arch/amd64/amd64/machdep.c:919 reboot(104) at reboot+0x84 panic(ffffffff82959e1e) at panic+0x18f sys/kern/subr_prf.c:231 __assert(ffffffff82913737,ffffffff82885187,3f,ffffffff828fb8e0) 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,103) at scsi_xs_get+0x135 scsi_iopool_get sys/scsi/scsi_base.c:259 [inline] scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 sys/scsi/scsi_base.c:655 sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sd_flush sys/scsi/sd.c:1867 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 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+0x17c sys/arch/amd64/amd64/machdep.c:919 reboot(104) at reboot+0x84 panic(ffffffff82959e1e) at panic+0x18f sys/kern/subr_prf.c:231 __assert(ffffffff82913737,ffffffff82885187,3f,ffffffff828fb8e0) 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+0x31 sys/uvm/uvm_pager.c:155 uvm_pagermapin(ffff80002a1058b8,2,0) at uvm_pagermapin+0xb1 sys/uvm/uvm_pager.c:278 uvn_io(fffffd806d9830c0,ffff80002a1058b8,2,31,1) at uvn_io+0x172 sys/uvm/uvm_vnode.c:1204 uvn_put(fffffd806d9830c0,ffff80002a1058b8,2,31) at uvn_put+0xd4 sys/uvm/uvm_vnode.c:926 uvm_pager_put(fffffd806d9830c0,fffffd80072d4960,ffff80002a105950,ffff80002a105988,31,0,31656797700a3eff) at uvm_pager_put+0x145 sys/uvm/uvm_pager.c:545 uvn_flush(fffffd806d9830c0,0,0,31) at uvn_flush+0x513 sys/uvm/uvm_vnode.c:725 uvm_vnp_sync(ffff8000006cec00) at uvm_vnp_sync+0x16e sys/uvm/uvm_vnode.c:1540 sys_sync(ffff8000fffff1f0,0,0) at sys_sync+0x9b sys/kern/vfs_syscalls.c:536 vfs_syncwait(ffff8000fffff1f0,1) at vfs_syncwait+0x3b vfs_shutdown(ffff8000fffff1f0) at vfs_shutdown+0x61 sys/kern/vfs_subr.c:1791 boot(100) at boot+0xe9 sys/arch/amd64/amd64/machdep.c:900 reboot(100) at reboot+0x84 panic(ffffffff829f7a4d) at panic+0x18f sys/kern/subr_prf.c:231 switch_restored() at switch_restored+0x3f sched_idle(ffffffff82c7fff0) at sched_idle+0x1a2 sys/kern/kern_sched.c:169 end trace frame: 0x0, count: 119 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(ffffffff82959e1e) at panic+0x16f sys/kern/subr_prf.c:229 __assert(ffffffff82913737,ffffffff82885187,3f,ffffffff828fb8e0) 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,103) at scsi_xs_get+0x135 scsi_iopool_get sys/scsi/scsi_base.c:259 [inline] scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 sys/scsi/scsi_base.c:655 sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sd_flush sys/scsi/sd.c:1867 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 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+0x17c sys/arch/amd64/amd64/machdep.c:919 reboot(104) at reboot+0x84 panic(ffffffff82959e1e) at panic+0x18f sys/kern/subr_prf.c:231 __assert(ffffffff82913737,ffffffff82885187,3f,ffffffff828fb8e0) 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,103) at scsi_xs_get+0x135 scsi_iopool_get sys/scsi/scsi_base.c:259 [inline] scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 sys/scsi/scsi_base.c:655 sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sd_flush sys/scsi/sd.c:1867 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 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+0x17c sys/arch/amd64/amd64/machdep.c:919 reboot(104) at reboot+0x84 panic(ffffffff82959e1e) at panic+0x18f sys/kern/subr_prf.c:231 __assert(ffffffff82913737,ffffffff82885187,3f,ffffffff828fb8e0) 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,103) at scsi_xs_get+0x135 scsi_iopool_get sys/scsi/scsi_base.c:259 [inline] scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 sys/scsi/scsi_base.c:655 sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sd_flush sys/scsi/sd.c:1867 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 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+0x17c sys/arch/amd64/amd64/machdep.c:919 reboot(104) at reboot+0x84 panic(ffffffff82959e1e) at panic+0x18f sys/kern/subr_prf.c:231 __assert(ffffffff82913737,ffffffff82885187,3f,ffffffff828fb8e0) 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,103) at scsi_xs_get+0x135 scsi_iopool_get sys/scsi/scsi_base.c:259 [inline] scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 sys/scsi/scsi_base.c:655 sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sd_flush sys/scsi/sd.c:1867 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 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+0x17c sys/arch/amd64/amd64/machdep.c:919 reboot(104) at reboot+0x84 panic(ffffffff82959e1e) at panic+0x18f sys/kern/subr_prf.c:231 __assert(ffffffff82913737,ffffffff82885187,3f,ffffffff828fb8e0) 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,103) at scsi_xs_get+0x135 scsi_iopool_get sys/scsi/scsi_base.c:259 [inline] scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 sys/scsi/scsi_base.c:655 sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sd_flush sys/scsi/sd.c:1867 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 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+0x17c sys/arch/amd64/amd64/machdep.c:919 reboot(104) at reboot+0x84 panic(ffffffff82959e1e) at panic+0x18f sys/kern/subr_prf.c:231 __assert(ffffffff82913737,ffffffff82885187,3f,ffffffff828fb8e0) 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,103) at scsi_xs_get+0x135 scsi_iopool_get sys/scsi/scsi_base.c:259 [inline] scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 sys/scsi/scsi_base.c:655 sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sd_flush sys/scsi/sd.c:1867 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 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+0x17c sys/arch/amd64/amd64/machdep.c:919 reboot(104) at reboot+0x84 panic(ffffffff82959e1e) at panic+0x18f sys/kern/subr_prf.c:231 __assert(ffffffff82913737,ffffffff82885187,3f,ffffffff828fb8e0) 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,103) at scsi_xs_get+0x135 scsi_iopool_get sys/scsi/scsi_base.c:259 [inline] scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 sys/scsi/scsi_base.c:655 sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sd_flush sys/scsi/sd.c:1867 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 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+0x17c sys/arch/amd64/amd64/machdep.c:919 reboot(104) at reboot+0x84 panic(ffffffff82959e1e) at panic+0x18f sys/kern/subr_prf.c:231 __assert(ffffffff82913737,ffffffff82885187,3f,ffffffff828fb8e0) 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,103) at scsi_xs_get+0x135 scsi_iopool_get sys/scsi/scsi_base.c:259 [inline] scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 sys/scsi/scsi_base.c:655 sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sd_flush sys/scsi/sd.c:1867 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 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+0x17c sys/arch/amd64/amd64/machdep.c:919 reboot(104) at reboot+0x84 panic(ffffffff82959e1e) at panic+0x18f sys/kern/subr_prf.c:231 __assert(ffffffff82913737,ffffffff82885187,3f,ffffffff828fb8e0) 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,103) at scsi_xs_get+0x135 scsi_iopool_get sys/scsi/scsi_base.c:259 [inline] scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 sys/scsi/scsi_base.c:655 sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sd_flush sys/scsi/sd.c:1867 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 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+0x17c sys/arch/amd64/amd64/machdep.c:919 reboot(104) at reboot+0x84 panic(ffffffff82959e1e) at panic+0x18f sys/kern/subr_prf.c:231 __assert(ffffffff82913737,ffffffff82885187,3f,ffffffff828fb8e0) 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+0x31 sys/uvm/uvm_pager.c:155 uvm_pagermapin(ffff80002a1058b8,2,0) at uvm_pagermapin+0xb1 sys/uvm/uvm_pager.c:278 uvn_io(fffffd806d9830c0,ffff80002a1058b8,2,31,1) at uvn_io+0x172 sys/uvm/uvm_vnode.c:1204 uvn_put(fffffd806d9830c0,ffff80002a1058b8,2,31) at uvn_put+0xd4 sys/uvm/uvm_vnode.c:926 uvm_pager_put(fffffd806d9830c0,fffffd80072d4960,ffff80002a105950,ffff80002a105988,31,0,31656797700a3eff) at uvm_pager_put+0x145 sys/uvm/uvm_pager.c:545 uvn_flush(fffffd806d9830c0,0,0,31) at uvn_flush+0x513 sys/uvm/uvm_vnode.c:725 uvm_vnp_sync(ffff8000006cec00) at uvm_vnp_sync+0x16e sys/uvm/uvm_vnode.c:1540 sys_sync(ffff8000fffff1f0,0,0) at sys_sync+0x9b sys/kern/vfs_syscalls.c:536 vfs_syncwait(ffff8000fffff1f0,1) at vfs_syncwait+0x3b vfs_shutdown(ffff8000fffff1f0) at vfs_shutdown+0x61 sys/kern/vfs_subr.c:1791 boot(100) at boot+0xe9 sys/arch/amd64/amd64/machdep.c:900 reboot(100) at reboot+0x84 panic(ffffffff829f7a4d) at panic+0x18f sys/kern/subr_prf.c:231 switch_restored() at switch_restored+0x3f sched_idle(ffffffff82c7fff0) at sched_idle+0x1a2 sys/kern/kern_sched.c:169 end trace frame: 0x0, count: 104 End of stack trace. fatal double fault in supervisor mode trap type 13 code 0 rip ffffffff81032292 cs 8 rflags 10092 cr2 ffff80002a101fb8 cpl d rsp ffff80002a101fc8 gsbase 0xffffffff82c7fff0 kgsbase 0x0 panic: trap type 13, code=0, pc=ffffffff81032292 Starting stack trace... panic(ffffffff82854005) at panic+0x16f sys/kern/subr_prf.c:229 kerntrap(ffffffff82c7f730) at kerntrap+0x1d7 sys/arch/amd64/amd64/trap.c:327 Xcalltrap_specstk_untramp() at Xcalltrap_specstk_untramp+0xf Bad frame pointer: 0xffff80002a102038 end trace frame: 0xffff80002a102038, count: 254 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(ffffffff82959e1e) at panic+0x16f sys/kern/subr_prf.c:229 __assert(ffffffff82913737,ffffffff82885187,3f,ffffffff828fb8e0) 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,103) at scsi_xs_get+0x135 scsi_iopool_get sys/scsi/scsi_base.c:259 [inline] scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 sys/scsi/scsi_base.c:655 sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sd_flush sys/scsi/sd.c:1867 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 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+0x17c sys/arch/amd64/amd64/machdep.c:919 reboot(104) at reboot+0x84 panic(ffffffff82854005) at panic+0x18f sys/kern/subr_prf.c:231 kerntrap(ffffffff82c7f730) at kerntrap+0x1d7 sys/arch/amd64/amd64/trap.c:327 Xcalltrap_specstk_untramp() at Xcalltrap_specstk_untramp+0xf Bad frame pointer: 0xffff80002a102038 end trace frame: 0xffff80002a102038, count: 239 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(ffffffff82959e1e) at panic+0x16f sys/kern/subr_prf.c:229 __assert(ffffffff82913737,ffffffff82885187,3f,ffffffff828fb8e0) 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,103) at scsi_xs_get+0x135 scsi_iopool_get sys/scsi/scsi_base.c:259 [inline] scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 sys/scsi/scsi_base.c:655 sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sd_flush sys/scsi/sd.c:1867 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 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+0x17c sys/arch/amd64/amd64/machdep.c:919 reboot(104) at reboot+0x84 panic(ffffffff82959e1e) at panic+0x18f sys/kern/subr_prf.c:231 __assert(ffffffff82913737,ffffffff82885187,3f,ffffffff828fb8e0) 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,103) at scsi_xs_get+0x135 scsi_iopool_get sys/scsi/scsi_base.c:259 [inline] scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 sys/scsi/scsi_base.c:655 sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sd_flush sys/scsi/sd.c:1867 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 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+0x17c sys/arch/amd64/amd64/machdep.c:919 reboot(104) at reboot+0x84 panic(ffffffff82854005) at panic+0x18f sys/kern/subr_prf.c:231 kerntrap(ffffffff82c7f730) at kerntrap+0x1d7 sys/arch/amd64/amd64/trap.c:327 Xcalltrap_specstk_untramp() at Xcalltrap_specstk_untramp+0xf Bad frame pointer: 0xffff80002a102038 end trace frame: 0xffff80002a102038, count: 224 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(ffffffff82959e1e) at panic+0x16f sys/kern/subr_prf.c:229 __assert(ffffffff82913737,ffffffff82885187,3f,ffffffff828fb8e0) 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,103) at scsi_xs_get+0x135 scsi_iopool_get sys/scsi/scsi_base.c:259 [inline] scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 sys/scsi/scsi_base.c:655 sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sd_flush sys/scsi/sd.c:1867 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 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+0x17c sys/arch/amd64/amd64/machdep.c:919 reboot(104) at reboot+0x84 panic(ffffffff82959e1e) at panic+0x18f sys/kern/subr_prf.c:231 __assert(ffffffff82913737,ffffffff82885187,3f,ffffffff828fb8e0) 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,103) at scsi_xs_get+0x135 scsi_iopool_get sys/scsi/scsi_base.c:259 [inline] scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 sys/scsi/scsi_base.c:655 sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sd_flush sys/scsi/sd.c:1867 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 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+0x17c sys/arch/amd64/amd64/machdep.c:919 reboot(104) at reboot+0x84 panic(ffffffff82959e1e) at panic+0x18f sys/kern/subr_prf.c:231 __assert(ffffffff82913737,ffffffff82885187,3f,ffffffff828fb8e0) 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,103) at scsi_xs_get+0x135 scsi_iopool_get sys/scsi/scsi_base.c:259 [inline] scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 sys/scsi/scsi_base.c:655 sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sd_flush sys/scsi/sd.c:1867 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 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+0x17c sys/arch/amd64/amd64/machdep.c:919 reboot(104) at reboot+0x84 panic(ffffffff82854005) at panic+0x18f sys/kern/subr_prf.c:231 kerntrap(ffffffff82c7f730) at kerntrap+0x1d7 sys/arch/amd64/amd64/trap.c:327 Xcalltrap_specstk_untramp() at Xcalltrap_specstk_untramp+0xf Bad frame pointer: 0xffff80002a102038 end trace frame: 0xffff80002a102038, count: 209 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(ffffffff82959e1e) at panic+0x16f sys/kern/subr_prf.c:229 __assert(ffffffff82913737,ffffffff82885187,3f,ffffffff828fb8e0) 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,103) at scsi_xs_get+0x135 scsi_iopool_get sys/scsi/scsi_base.c:259 [inline] scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 sys/scsi/scsi_base.c:655 sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sd_flush sys/scsi/sd.c:1867 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 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+0x17c sys/arch/amd64/amd64/machdep.c:919 reboot(104) at reboot+0x84 panic(ffffffff82959e1e) at panic+0x18f sys/kern/subr_prf.c:231 __assert(ffffffff82913737,ffffffff82885187,3f,ffffffff828fb8e0) 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,103) at scsi_xs_get+0x135 scsi_iopool_get sys/scsi/scsi_base.c:259 [inline] scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 sys/scsi/scsi_base.c:655 sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sd_flush sys/scsi/sd.c:1867 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 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+0x17c sys/arch/amd64/amd64/machdep.c:919 reboot(104) at reboot+0x84 panic(ffffffff82959e1e) at panic+0x18f sys/kern/subr_prf.c:231 __assert(ffffffff82913737,ffffffff82885187,3f,ffffffff828fb8e0) 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,103) at scsi_xs_get+0x135 scsi_iopool_get sys/scsi/scsi_base.c:259 [inline] scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 sys/scsi/scsi_base.c:655 sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sd_flush sys/scsi/sd.c:1867 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 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+0x17c sys/arch/amd64/amd64/machdep.c:919 reboot(104) at reboot+0x84 panic(ffffffff82959e1e) at panic+0x18f sys/kern/subr_prf.c:231 __assert(ffffffff82913737,ffffffff82885187,3f,ffffffff828fb8e0) 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,103) at scsi_xs_get+0x135 scsi_iopool_get sys/scsi/scsi_base.c:259 [inline] scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 sys/scsi/scsi_base.c:655 sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sd_flush sys/scsi/sd.c:1867 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 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+0x17c sys/arch/amd64/amd64/machdep.c:919 reboot(104) at reboot+0x84 panic(ffffffff82854005) at panic+0x18f sys/kern/subr_prf.c:231 kerntrap(ffffffff82c7f730) at kerntrap+0x1d7 sys/arch/amd64/amd64/trap.c:327 Xcalltrap_specstk_untramp() at Xcalltrap_specstk_untramp+0xf Bad frame pointer: 0xffff80002a102038 end trace frame: 0xffff80002a102038, count: 194 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(ffffffff82959e1e) at panic+0x16f sys/kern/subr_prf.c:229 __assert(ffffffff82913737,ffffffff82885187,3f,ffffffff828fb8e0) 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,103) at scsi_xs_get+0x135 scsi_iopool_get sys/scsi/scsi_base.c:259 [inline] scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 sys/scsi/scsi_base.c:655 sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sd_flush sys/scsi/sd.c:1867 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 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+0x17c sys/arch/amd64/amd64/machdep.c:919 reboot(104) at reboot+0x84 panic(ffffffff82959e1e) at panic+0x18f sys/kern/subr_prf.c:231 __assert(ffffffff82913737,ffffffff82885187,3f,ffffffff828fb8e0) 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,103) at scsi_xs_get+0x135 scsi_iopool_get sys/scsi/scsi_base.c:259 [inline] scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 sys/scsi/scsi_base.c:655 sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sd_flush sys/scsi/sd.c:1867 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 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+0x17c sys/arch/amd64/amd64/machdep.c:919 reboot(104) at reboot+0x84 panic(ffffffff82959e1e) at panic+0x18f sys/kern/subr_prf.c:231 __assert(ffffffff82913737,ffffffff82885187,3f,ffffffff828fb8e0) 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,103) at scsi_xs_get+0x135 scsi_iopool_get sys/scsi/scsi_base.c:259 [inline] scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 sys/scsi/scsi_base.c:655 sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sd_flush sys/scsi/sd.c:1867 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 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+0x17c sys/arch/amd64/amd64/machdep.c:919 reboot(104) at reboot+0x84 panic(ffffffff82959e1e) at panic+0x18f sys/kern/subr_prf.c:231 __assert(ffffffff82913737,ffffffff82885187,3f,ffffffff828fb8e0) 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,103) at scsi_xs_get+0x135 scsi_iopool_get sys/scsi/scsi_base.c:259 [inline] scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 sys/scsi/scsi_base.c:655 sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sd_flush sys/scsi/sd.c:1867 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 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+0x17c sys/arch/amd64/amd64/machdep.c:919 reboot(104) at reboot+0x84 panic(ffffffff82959e1e) at panic+0x18f sys/kern/subr_prf.c:231 __assert(ffffffff82913737,ffffffff82885187,3f,ffffffff828fb8e0) 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,103) at scsi_xs_get+0x135 scsi_iopool_get sys/scsi/scsi_base.c:259 [inline] scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 sys/scsi/scsi_base.c:655 sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sd_flush sys/scsi/sd.c:1867 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 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+0x17c sys/arch/amd64/amd64/machdep.c:919 reboot(104) at reboot+0x84 panic(ffffffff82854005) at panic+0x18f sys/kern/subr_prf.c:231 kerntrap(ffffffff82c7f730) at kerntrap+0x1d7 sys/arch/amd64/amd64/trap.c:327 Xcalltrap_specstk_untramp() at Xcalltrap_specstk_untramp+0xf Bad frame pointer: 0xffff80002a102038 end trace frame: 0xffff80002a102038, count: 179 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(ffffffff82959e1e) at panic+0x16f sys/kern/subr_prf.c:229 __assert(ffffffff82913737,ffffffff82885187,3f,ffffffff828fb8e0) 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,103) at scsi_xs_get+0x135 scsi_iopool_get sys/scsi/scsi_base.c:259 [inline] scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 sys/scsi/scsi_base.c:655 sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sd_flush sys/scsi/sd.c:1867 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 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+0x17c sys/arch/amd64/amd64/machdep.c:919 reboot(104) at reboot+0x84 panic(ffffffff82959e1e) at panic+0x18f sys/kern/subr_prf.c:231 __assert(ffffffff82913737,ffffffff82885187,3f,ffffffff828fb8e0) 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,103) at scsi_xs_get+0x135 scsi_iopool_get sys/scsi/scsi_base.c:259 [inline] scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 sys/scsi/scsi_base.c:655 sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sd_flush sys/scsi/sd.c:1867 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 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+0x17c sys/arch/amd64/amd64/machdep.c:919 reboot(104) at reboot+0x84 panic(ffffffff82959e1e) at panic+0x18f sys/kern/subr_prf.c:231 __assert(ffffffff82913737,ffffffff82885187,3f,ffffffff828fb8e0) 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,103) at scsi_xs_get+0x135 scsi_iopool_get sys/scsi/scsi_base.c:259 [inline] scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 sys/scsi/scsi_base.c:655 sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sd_flush sys/scsi/sd.c:1867 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 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+0x17c sys/arch/amd64/amd64/machdep.c:919 reboot(104) at reboot+0x84 panic(ffffffff82959e1e) at panic+0x18f sys/kern/subr_prf.c:231 __assert(ffffffff82913737,ffffffff82885187,3f,ffffffff828fb8e0) 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,103) at scsi_xs_get+0x135 scsi_iopool_get sys/scsi/scsi_base.c:259 [inline] scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 sys/scsi/scsi_base.c:655 sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sd_flush sys/scsi/sd.c:1867 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 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+0x17c sys/arch/amd64/amd64/machdep.c:919 reboot(104) at reboot+0x84 panic(ffffffff82959e1e) at panic+0x18f sys/kern/subr_prf.c:231 __assert(ffffffff82913737,ffffffff82885187,3f,ffffffff828fb8e0) 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,103) at scsi_xs_get+0x135 scsi_iopool_get sys/scsi/scsi_base.c:259 [inline] scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 sys/scsi/scsi_base.c:655 sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sd_flush sys/scsi/sd.c:1867 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 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+0x17c sys/arch/amd64/amd64/machdep.c:919 reboot(104) at reboot+0x84 panic(ffffffff82959e1e) at panic+0x18f sys/kern/subr_prf.c:231 __assert(ffffffff82913737,ffffffff82885187,3f,ffffffff828fb8e0) 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,103) at scsi_xs_get+0x135 scsi_iopool_get sys/scsi/scsi_base.c:259 [inline] scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 sys/scsi/scsi_base.c:655 sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sd_flush sys/scsi/sd.c:1867 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 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+0x17c sys/arch/amd64/amd64/machdep.c:919 reboot(104) at reboot+0x84 panic(ffffffff82854005) at panic+0x18f sys/kern/subr_prf.c:231 kerntrap(ffffffff82c7f730) at kerntrap+0x1d7 sys/arch/amd64/amd64/trap.c:327 Xcalltrap_specstk_untramp() at Xcalltrap_specstk_untramp+0xf Bad frame pointer: 0xffff80002a102038 end trace frame: 0xffff80002a102038, count: 164 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(ffffffff82959e1e) at panic+0x16f sys/kern/subr_prf.c:229 __assert(ffffffff82913737,ffffffff82885187,3f,ffffffff828fb8e0) 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,103) at scsi_xs_get+0x135 scsi_iopool_get sys/scsi/scsi_base.c:259 [inline] scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 sys/scsi/scsi_base.c:655 sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sd_flush sys/scsi/sd.c:1867 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 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+0x17c sys/arch/amd64/amd64/machdep.c:919 reboot(104) at reboot+0x84 panic(ffffffff82959e1e) at panic+0x18f sys/kern/subr_prf.c:231 __assert(ffffffff82913737,ffffffff82885187,3f,ffffffff828fb8e0) 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,103) at scsi_xs_get+0x135 scsi_iopool_get sys/scsi/scsi_base.c:259 [inline] scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 sys/scsi/scsi_base.c:655 sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sd_flush sys/scsi/sd.c:1867 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 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+0x17c sys/arch/amd64/amd64/machdep.c:919 reboot(104) at reboot+0x84 panic(ffffffff82959e1e) at panic+0x18f sys/kern/subr_prf.c:231 __assert(ffffffff82913737,ffffffff82885187,3f,ffffffff828fb8e0) 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,103) at scsi_xs_get+0x135 scsi_iopool_get sys/scsi/scsi_base.c:259 [inline] scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 sys/scsi/scsi_base.c:655 sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sd_flush sys/scsi/sd.c:1867 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 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+0x17c sys/arch/amd64/amd64/machdep.c:919 reboot(104) at reboot+0x84 panic(ffffffff82959e1e) at panic+0x18f sys/kern/subr_prf.c:231 __assert(ffffffff82913737,ffffffff82885187,3f,ffffffff828fb8e0) 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,103) at scsi_xs_get+0x135 scsi_iopool_get sys/scsi/scsi_base.c:259 [inline] scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 sys/scsi/scsi_base.c:655 sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sd_flush sys/scsi/sd.c:1867 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 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+0x17c sys/arch/amd64/amd64/machdep.c:919 reboot(104) at reboot+0x84 panic(ffffffff82959e1e) at panic+0x18f sys/kern/subr_prf.c:231 __assert(ffffffff82913737,ffffffff82885187,3f,ffffffff828fb8e0) 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,103) at scsi_xs_get+0x135 scsi_iopool_get sys/scsi/scsi_base.c:259 [inline] scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 sys/scsi/scsi_base.c:655 sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sd_flush sys/scsi/sd.c:1867 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 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+0x17c sys/arch/amd64/amd64/machdep.c:919 reboot(104) at reboot+0x84 panic(ffffffff82959e1e) at panic+0x18f sys/kern/subr_prf.c:231 __assert(ffffffff82913737,ffffffff82885187,3f,ffffffff828fb8e0) 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,103) at scsi_xs_get+0x135 scsi_iopool_get sys/scsi/scsi_base.c:259 [inline] scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 sys/scsi/scsi_base.c:655 sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sd_flush sys/scsi/sd.c:1867 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 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+0x17c sys/arch/amd64/amd64/machdep.c:919 reboot(104) at reboot+0x84 panic(ffffffff82959e1e) at panic+0x18f sys/kern/subr_prf.c:231 __assert(ffffffff82913737,ffffffff82885187,3f,ffffffff828fb8e0) 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,103) at scsi_xs_get+0x135 scsi_iopool_get sys/scsi/scsi_base.c:259 [inline] scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 sys/scsi/scsi_base.c:655 sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sd_flush sys/scsi/sd.c:1867 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 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+0x17c sys/arch/amd64/amd64/machdep.c:919 reboot(104) at reboot+0x84 panic(ffffffff82854005) at panic+0x18f sys/kern/subr_prf.c:231 kerntrap(ffffffff82c7f730) at kerntrap+0x1d7 sys/arch/amd64/amd64/trap.c:327 Xcalltrap_specstk_untramp() at Xcalltrap_specstk_untramp+0xf Bad frame pointer: 0xffff80002a102038 end trace frame: 0xffff80002a102038, count: 149 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(ffffffff82959e1e) at panic+0x16f sys/kern/subr_prf.c:229 __assert(ffffffff82913737,ffffffff82885187,3f,ffffffff828fb8e0) 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,103) at scsi_xs_get+0x135 scsi_iopool_get sys/scsi/scsi_base.c:259 [inline] scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 sys/scsi/scsi_base.c:655 sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sd_flush sys/scsi/sd.c:1867 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 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+0x17c sys/arch/amd64/amd64/machdep.c:919 reboot(104) at reboot+0x84 panic(ffffffff82959e1e) at panic+0x18f sys/kern/subr_prf.c:231 __assert(ffffffff82913737,ffffffff82885187,3f,ffffffff828fb8e0) 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,103) at scsi_xs_get+0x135 scsi_iopool_get sys/scsi/scsi_base.c:259 [inline] scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 sys/scsi/scsi_base.c:655 sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sd_flush sys/scsi/sd.c:1867 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 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+0x17c sys/arch/amd64/amd64/machdep.c:919 reboot(104) at reboot+0x84 panic(ffffffff82959e1e) at panic+0x18f sys/kern/subr_prf.c:231 __assert(ffffffff82913737,ffffffff82885187,3f,ffffffff828fb8e0) 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,103) at scsi_xs_get+0x135 scsi_iopool_get sys/scsi/scsi_base.c:259 [inline] scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 sys/scsi/scsi_base.c:655 sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sd_flush sys/scsi/sd.c:1867 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 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+0x17c sys/arch/amd64/amd64/machdep.c:919 reboot(104) at reboot+0x84 panic(ffffffff82959e1e) at panic+0x18f sys/kern/subr_prf.c:231 __assert(ffffffff82913737,ffffffff82885187,3f,ffffffff828fb8e0) 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,103) at scsi_xs_get+0x135 scsi_iopool_get sys/scsi/scsi_base.c:259 [inline] scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 sys/scsi/scsi_base.c:655 sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sd_flush sys/scsi/sd.c:1867 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 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+0x17c sys/arch/amd64/amd64/machdep.c:919 reboot(104) at reboot+0x84 panic(ffffffff82959e1e) at panic+0x18f sys/kern/subr_prf.c:231 __assert(ffffffff82913737,ffffffff82885187,3f,ffffffff828fb8e0) 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,103) at scsi_xs_get+0x135 scsi_iopool_get sys/scsi/scsi_base.c:259 [inline] scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 sys/scsi/scsi_base.c:655 sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sd_flush sys/scsi/sd.c:1867 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 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+0x17c sys/arch/amd64/amd64/machdep.c:919 reboot(104) at reboot+0x84 panic(ffffffff82959e1e) at panic+0x18f sys/kern/subr_prf.c:231 __assert(ffffffff82913737,ffffffff82885187,3f,ffffffff828fb8e0) 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,103) at scsi_xs_get+0x135 scsi_iopool_get sys/scsi/scsi_base.c:259 [inline] scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 sys/scsi/scsi_base.c:655 sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sd_flush sys/scsi/sd.c:1867 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 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+0x17c sys/arch/amd64/amd64/machdep.c:919 reboot(104) at reboot+0x84 panic(ffffffff82959e1e) at panic+0x18f sys/kern/subr_prf.c:231 __assert(ffffffff82913737,ffffffff82885187,3f,ffffffff828fb8e0) 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,103) at scsi_xs_get+0x135 scsi_iopool_get sys/scsi/scsi_base.c:259 [inline] scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 sys/scsi/scsi_base.c:655 sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sd_flush sys/scsi/sd.c:1867 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 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+0x17c sys/arch/amd64/amd64/machdep.c:919 reboot(104) at reboot+0x84 panic(ffffffff82959e1e) at panic+0x18f sys/kern/subr_prf.c:231 __assert(ffffffff82913737,ffffffff82885187,3f,ffffffff828fb8e0) 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,103) at scsi_xs_get+0x135 scsi_iopool_get sys/scsi/scsi_base.c:259 [inline] scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 sys/scsi/scsi_base.c:655 sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sd_flush sys/scsi/sd.c:1867 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 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+0x17c sys/arch/amd64/amd64/machdep.c:919 reboot(104) at reboot+0x84 panic(ffffffff82854005) at panic+0x18f sys/kern/subr_prf.c:231 kerntrap(ffffffff82c7f730) at kerntrap+0x1d7 sys/arch/amd64/amd64/trap.c:327 Xcalltrap_specstk_untramp() at Xcalltrap_specstk_untramp+0xf Bad frame pointer: 0xffff80002a102038 end trace frame: 0xffff80002a102038, count: 134 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(ffffffff82959e1e) at panic+0x16f sys/kern/subr_prf.c:229 __assert(ffffffff82913737,ffffffff82885187,3f,ffffffff828fb8e0) 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,103) at scsi_xs_get+0x135 scsi_iopool_get sys/scsi/scsi_base.c:259 [inline] scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 sys/scsi/scsi_base.c:655 sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sd_flush sys/scsi/sd.c:1867 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 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+0x17c sys/arch/amd64/amd64/machdep.c:919 reboot(104) at reboot+0x84 panic(ffffffff82959e1e) at panic+0x18f sys/kern/subr_prf.c:231 __assert(ffffffff82913737,ffffffff82885187,3f,ffffffff828fb8e0) 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,103) at scsi_xs_get+0x135 scsi_iopool_get sys/scsi/scsi_base.c:259 [inline] scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 sys/scsi/scsi_base.c:655 sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sd_flush sys/scsi/sd.c:1867 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 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+0x17c sys/arch/amd64/amd64/machdep.c:919 reboot(104) at reboot+0x84 panic(ffffffff82959e1e) at panic+0x18f sys/kern/subr_prf.c:231 __assert(ffffffff82913737,ffffffff82885187,3f,ffffffff828fb8e0) 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,103) at scsi_xs_get+0x135 scsi_iopool_get sys/scsi/scsi_base.c:259 [inline] scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 sys/scsi/scsi_base.c:655 sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sd_flush sys/scsi/sd.c:1867 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 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+0x17c sys/arch/amd64/amd64/machdep.c:919 reboot(104) at reboot+0x84 panic(ffffffff82959e1e) at panic+0x18f sys/kern/subr_prf.c:231 __assert(ffffffff82913737,ffffffff82885187,3f,ffffffff828fb8e0) 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,103) at scsi_xs_get+0x135 scsi_iopool_get sys/scsi/scsi_base.c:259 [inline] scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 sys/scsi/scsi_base.c:655 sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sd_flush sys/scsi/sd.c:1867 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 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+0x17c sys/arch/amd64/amd64/machdep.c:919 reboot(104) at reboot+0x84 panic(ffffffff82959e1e) at panic+0x18f sys/kern/subr_prf.c:231 __assert(ffffffff82913737,ffffffff82885187,3f,ffffffff828fb8e0) 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,103) at scsi_xs_get+0x135 scsi_iopool_get sys/scsi/scsi_base.c:259 [inline] scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 sys/scsi/scsi_base.c:655 sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sd_flush sys/scsi/sd.c:1867 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 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+0x17c sys/arch/amd64/amd64/machdep.c:919 reboot(104) at reboot+0x84 panic(ffffffff82959e1e) at panic+0x18f sys/kern/subr_prf.c:231 __assert(ffffffff82913737,ffffffff82885187,3f,ffffffff828fb8e0) 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,103) at scsi_xs_get+0x135 scsi_iopool_get sys/scsi/scsi_base.c:259 [inline] scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 sys/scsi/scsi_base.c:655 sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sd_flush sys/scsi/sd.c:1867 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 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+0x17c sys/arch/amd64/amd64/machdep.c:919 reboot(104) at reboot+0x84 panic(ffffffff82959e1e) at panic+0x18f sys/kern/subr_prf.c:231 __assert(ffffffff82913737,ffffffff82885187,3f,ffffffff828fb8e0) 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,103) at scsi_xs_get+0x135 scsi_iopool_get sys/scsi/scsi_base.c:259 [inline] scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 sys/scsi/scsi_base.c:655 sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sd_flush sys/scsi/sd.c:1867 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 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+0x17c sys/arch/amd64/amd64/machdep.c:919 reboot(104) at reboot+0x84 panic(ffffffff82959e1e) at panic+0x18f sys/kern/subr_prf.c:231 __assert(ffffffff82913737,ffffffff82885187,3f,ffffffff828fb8e0) 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,103) at scsi_xs_get+0x135 scsi_iopool_get sys/scsi/scsi_base.c:259 [inline] scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 sys/scsi/scsi_base.c:655 sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sd_flush sys/scsi/sd.c:1867 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 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+0x17c sys/arch/amd64/amd64/machdep.c:919 reboot(104) at reboot+0x84 panic(ffffffff82959e1e) at panic+0x18f sys/kern/subr_prf.c:231 __assert(ffffffff82913737,ffffffff82885187,3f,ffffffff828fb8e0) 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,103) at scsi_xs_get+0x135 scsi_iopool_get sys/scsi/scsi_base.c:259 [inline] scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 sys/scsi/scsi_base.c:655 sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sd_flush sys/scsi/sd.c:1867 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 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+0x17c sys/arch/amd64/amd64/machdep.c:919 reboot(104) at reboot+0x84 panic(ffffffff82854005) at panic+0x18f sys/kern/subr_prf.c:231 kerntrap(ffffffff82c7f730) at kerntrap+0x1d7 sys/arch/amd64/amd64/trap.c:327 Xcalltrap_specstk_untramp() at Xcalltrap_specstk_untramp+0xf Bad frame pointer: 0xffff80002a102038 end trace frame: 0xffff80002a102038, count: 119 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(ffffffff82959e1e) at panic+0x16f sys/kern/subr_prf.c:229 __assert(ffffffff82913737,ffffffff82885187,3f,ffffffff828fb8e0) 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,103) at scsi_xs_get+0x135 scsi_iopool_get sys/scsi/scsi_base.c:259 [inline] scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 sys/scsi/scsi_base.c:655 sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sd_flush sys/scsi/sd.c:1867 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 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+0x17c sys/arch/amd64/amd64/machdep.c:919 reboot(104) at reboot+0x84 panic(ffffffff82959e1e) at panic+0x18f sys/kern/subr_prf.c:231 __assert(ffffffff82913737,ffffffff82885187,3f,ffffffff828fb8e0) 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,103) at scsi_xs_get+0x135 scsi_iopool_get sys/scsi/scsi_base.c:259 [inline] scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 sys/scsi/scsi_base.c:655 sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sd_flush sys/scsi/sd.c:1867 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 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+0x17c sys/arch/amd64/amd64/machdep.c:919 reboot(104) at reboot+0x84 panic(ffffffff82959e1e) at panic+0x18f sys/kern/subr_prf.c:231 __assert(ffffffff82913737,ffffffff82885187,3f,ffffffff828fb8e0) 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,103) at scsi_xs_get+0x135 scsi_iopool_get sys/scsi/scsi_base.c:259 [inline] scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 sys/scsi/scsi_base.c:655 sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sd_flush sys/scsi/sd.c:1867 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 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+0x17c sys/arch/amd64/amd64/machdep.c:919 reboot(104) at reboot+0x84 panic(ffffffff82959e1e) at panic+0x18f sys/kern/subr_prf.c:231 __assert(ffffffff82913737,ffffffff82885187,3f,ffffffff828fb8e0) 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,103) at scsi_xs_get+0x135 scsi_iopool_get sys/scsi/scsi_base.c:259 [inline] scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 sys/scsi/scsi_base.c:655 sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sd_flush sys/scsi/sd.c:1867 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 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+0x17c sys/arch/amd64/amd64/machdep.c:919 reboot(104) at reboot+0x84 panic(ffffffff82959e1e) at panic+0x18f sys/kern/subr_prf.c:231 __assert(ffffffff82913737,ffffffff82885187,3f,ffffffff828fb8e0) 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,103) at scsi_xs_get+0x135 scsi_iopool_get sys/scsi/scsi_base.c:259 [inline] scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 sys/scsi/scsi_base.c:655 sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sd_flush sys/scsi/sd.c:1867 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 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+0x17c sys/arch/amd64/amd64/machdep.c:919 reboot(104) at reboot+0x84 panic(ffffffff82959e1e) at panic+0x18f sys/kern/subr_prf.c:231 __assert(ffffffff82913737,ffffffff82885187,3f,ffffffff828fb8e0) 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,103) at scsi_xs_get+0x135 scsi_iopool_get sys/scsi/scsi_base.c:259 [inline] scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 sys/scsi/scsi_base.c:655 sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sd_flush sys/scsi/sd.c:1867 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 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+0x17c sys/arch/amd64/amd64/machdep.c:919 reboot(104) at reboot+0x84 panic(ffffffff82959e1e) at panic+0x18f sys/kern/subr_prf.c:231 __assert(ffffffff82913737,ffffffff82885187,3f,ffffffff828fb8e0) 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,103) at scsi_xs_get+0x135 scsi_iopool_get sys/scsi/scsi_base.c:259 [inline] scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 sys/scsi/scsi_base.c:655 sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sd_flush sys/scsi/sd.c:1867 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 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+0x17c sys/arch/amd64/amd64/machdep.c:919 reboot(104) at reboot+0x84 panic(ffffffff82959e1e) at panic+0x18f sys/kern/subr_prf.c:231 __assert(ffffffff82913737,ffffffff82885187,3f,ffffffff828fb8e0) 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,103) at scsi_xs_get+0x135 scsi_iopool_get sys/scsi/scsi_base.c:259 [inline] scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 sys/scsi/scsi_base.c:655 sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sd_flush sys/scsi/sd.c:1867 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 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+0x17c sys/arch/amd64/amd64/machdep.c:919 reboot(104) at reboot+0x84 panic(ffffffff82959e1e) at panic+0x18f sys/kern/subr_prf.c:231 __assert(ffffffff82913737,ffffffff82885187,3f,ffffffff828fb8e0) 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,103) at scsi_xs_get+0x135 scsi_iopool_get sys/scsi/scsi_base.c:259 [inline] scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 sys/scsi/scsi_base.c:655 sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sd_flush sys/scsi/sd.c:1867 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 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+0x17c sys/arch/amd64/amd64/machdep.c:919 reboot(104) at reboot+0x84 panic(ffffffff82959e1e) at panic+0x18f sys/kern/subr_prf.c:231 __assert(ffffffff82913737,ffffffff82885187,3f,ffffffff828fb8e0) 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,103) at scsi_xs_get+0x135 scsi_iopool_get sys/scsi/scsi_base.c:259 [inline] scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 sys/scsi/scsi_base.c:655 sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sd_flush sys/scsi/sd.c:1867 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 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+0x17c sys/arch/amd64/amd64/machdep.c:919 reboot(104) at reboot+0x84 panic(ffffffff82854005) at panic+0x18f sys/kern/subr_prf.c:231 kerntrap(ffffffff82c7f730) at kerntrap+0x1d7 sys/arch/amd64/amd64/trap.c:327 Xcalltrap_specstk_untramp() at Xcalltrap_specstk_untramp+0xf Bad frame pointer: 0xffff80002a102038 end trace frame: 0xffff80002a102038, count: 104 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(ffffffff82959e1e) at panic+0x16f sys/kern/subr_prf.c:229 __assert(ffffffff82913737,ffffffff82885187,3f,ffffffff828fb8e0) 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,103) at scsi_xs_get+0x135 scsi_iopool_get sys/scsi/scsi_base.c:259 [inline] scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 sys/scsi/scsi_base.c:655 sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sd_flush sys/scsi/sd.c:1867 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 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+0x17c sys/arch/amd64/amd64/machdep.c:919 reboot(104) at reboot+0x84 panic(ffffffff82959e1e) at panic+0x18f sys/kern/subr_prf.c:231 __assert(ffffffff82913737,ffffffff82885187,3f,ffffffff828fb8e0) 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,103) at scsi_xs_get+0x135 scsi_iopool_get sys/scsi/scsi_base.c:259 [inline] scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 sys/scsi/scsi_base.c:655 sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sd_flush sys/scsi/sd.c:1867 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 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+0x17c sys/arch/amd64/amd64/machdep.c:919 reboot(104) at reboot+0x84 panic(ffffffff82959e1e) at panic+0x18f sys/kern/subr_prf.c:231 __assert(ffffffff82913737,ffffffff82885187,3f,ffffffff828fb8e0) 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,103) at scsi_xs_get+0x135 scsi_iopool_get sys/scsi/scsi_base.c:259 [inline] scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 sys/scsi/scsi_base.c:655 sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sd_flush sys/scsi/sd.c:1867 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 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+0x17c sys/arch/amd64/amd64/machdep.c:919 reboot(104) at reboot+0x84 panic(ffffffff82959e1e) at panic+0x18f sys/kern/subr_prf.c:231 __assert(ffffffff82913737,ffffffff82885187,3f,ffffffff828fb8e0) 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,103) at scsi_xs_get+0x135 scsi_iopool_get sys/scsi/scsi_base.c:259 [inline] scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 sys/scsi/scsi_base.c:655 sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sd_flush sys/scsi/sd.c:1867 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 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+0x17c sys/arch/amd64/amd64/machdep.c:919 reboot(104) at reboot+0x84 panic(ffffffff82959e1e) at panic+0x18f sys/kern/subr_prf.c:231 __assert(ffffffff82913737,ffffffff82885187,3f,ffffffff828fb8e0) 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,103) at scsi_xs_get+0x135 scsi_iopool_get sys/scsi/scsi_base.c:259 [inline] scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 sys/scsi/scsi_base.c:655 sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sd_flush sys/scsi/sd.c:1867 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 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+0x17c sys/arch/amd64/amd64/machdep.c:919 reboot(104) at reboot+0x84 panic(ffffffff82959e1e) at panic+0x18f sys/kern/subr_prf.c:231 __assert(ffffffff82913737,ffffffff82885187,3f,ffffffff828fb8e0) 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,103) at scsi_xs_get+0x135 scsi_iopool_get sys/scsi/scsi_base.c:259 [inline] scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 sys/scsi/scsi_base.c:655 sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sd_flush sys/scsi/sd.c:1867 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 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+0x17c sys/arch/amd64/amd64/machdep.c:919 reboot(104) at reboot+0x84 panic(ffffffff82959e1e) at panic+0x18f sys/kern/subr_prf.c:231 __assert(ffffffff82913737,ffffffff82885187,3f,ffffffff828fb8e0) 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,103) at scsi_xs_get+0x135 scsi_iopool_get sys/scsi/scsi_base.c:259 [inline] scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 sys/scsi/scsi_base.c:655 sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sd_flush sys/scsi/sd.c:1867 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 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+0x17c sys/arch/amd64/amd64/machdep.c:919 reboot(104) at reboot+0x84 panic(ffffffff82959e1e) at panic+0x18f sys/kern/subr_prf.c:231 __assert(ffffffff82913737,ffffffff82885187,3f,ffffffff828fb8e0) 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,103) at scsi_xs_get+0x135 scsi_iopool_get sys/scsi/scsi_base.c:259 [inline] scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 sys/scsi/scsi_base.c:655 sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sd_flush sys/scsi/sd.c:1867 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 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+0x17c sys/arch/amd64/amd64/machdep.c:919 reboot(104) at reboot+0x84 panic(ffffffff82959e1e) at panic+0x18f sys/kern/subr_prf.c:231 __assert(ffffffff82913737,ffffffff82885187,3f,ffffffff828fb8e0) 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,103) at scsi_xs_get+0x135 scsi_iopool_get sys/scsi/scsi_base.c:259 [inline] scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 sys/scsi/scsi_base.c:655 sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sd_flush sys/scsi/sd.c:1867 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 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+0x17c sys/arch/amd64/amd64/machdep.c:919 reboot(104) at reboot+0x84 panic(ffffffff82959e1e) at panic+0x18f sys/kern/subr_prf.c:231 __assert(ffffffff82913737,ffffffff82885187,3f,ffffffff828fb8e0) 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,103) at scsi_xs_get+0x135 scsi_iopool_get sys/scsi/scsi_base.c:259 [inline] scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 sys/scsi/scsi_base.c:655 sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sd_flush sys/scsi/sd.c:1867 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 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+0x17c sys/arch/amd64/amd64/machdep.c:919 reboot(104) at reboot+0x84 panic(ffffffff82959e1e) at panic+0x18f sys/kern/subr_prf.c:231 __assert(ffffffff82913737,ffffffff82885187,3f,ffffffff828fb8e0) 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,103) at scsi_xs_get+0x135 scsi_iopool_get sys/scsi/scsi_base.c:259 [inline] scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 sys/scsi/scsi_base.c:655 sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sd_flush sys/scsi/sd.c:1867 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 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+0x17c sys/arch/amd64/amd64/machdep.c:919 reboot(104) at reboot+0x84 panic(ffffffff82854005) at panic+0x18f sys/kern/subr_prf.c:231 kerntrap(ffffffff82c7f730) at kerntrap+0x1d7 sys/arch/amd64/amd64/trap.c:327 Xcalltrap_specstk_untramp() at Xcalltrap_specstk_untramp+0xf Bad frame pointer: 0xffff80002a102038 end trace frame: 0xffff80002a102038, count: 89 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(ffffffff82959e1e) at panic+0x16f sys/kern/subr_prf.c:229 __assert(ffffffff82913737,ffffffff82885187,3f,ffffffff828fb8e0) 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,103) at scsi_xs_get+0x135 scsi_iopool_get sys/scsi/scsi_base.c:259 [inline] scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 sys/scsi/scsi_base.c:655 sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sd_flush sys/scsi/sd.c:1867 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 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+0x17c sys/arch/amd64/amd64/machdep.c:919 reboot(104) at reboot+0x84 panic(ffffffff82959e1e) at panic+0x18f sys/kern/subr_prf.c:231 __assert(ffffffff82913737,ffffffff82885187,3f,ffffffff828fb8e0) 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,103) at scsi_xs_get+0x135 scsi_iopool_get sys/scsi/scsi_base.c:259 [inline] scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 sys/scsi/scsi_base.c:655 sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sd_flush sys/scsi/sd.c:1867 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 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+0x17c sys/arch/amd64/amd64/machdep.c:919 reboot(104) at reboot+0x84 panic(ffffffff82959e1e) at panic+0x18f sys/kern/subr_prf.c:231 __assert(ffffffff82913737,ffffffff82885187,3f,ffffffff828fb8e0) 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,103) at scsi_xs_get+0x135 scsi_iopool_get sys/scsi/scsi_base.c:259 [inline] scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 sys/scsi/scsi_base.c:655 sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sd_flush sys/scsi/sd.c:1867 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 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+0x17c sys/arch/amd64/amd64/machdep.c:919 reboot(104) at reboot+0x84 panic(ffffffff82959e1e) at panic+0x18f sys/kern/subr_prf.c:231 __assert(ffffffff82913737,ffffffff82885187,3f,ffffffff828fb8e0) 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,103) at scsi_xs_get+0x135 scsi_iopool_get sys/scsi/scsi_base.c:259 [inline] scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 sys/scsi/scsi_base.c:655 sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sd_flush sys/scsi/sd.c:1867 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 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+0x17c sys/arch/amd64/amd64/machdep.c:919 reboot(104) at reboot+0x84 panic(ffffffff82959e1e) at panic+0x18f sys/kern/subr_prf.c:231 __assert(ffffffff82913737,ffffffff82885187,3f,ffffffff828fb8e0) 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,103) at scsi_xs_get+0x135 scsi_iopool_get sys/scsi/scsi_base.c:259 [inline] scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 sys/scsi/scsi_base.c:655 sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sd_flush sys/scsi/sd.c:1867 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 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+0x17c sys/arch/amd64/amd64/machdep.c:919 reboot(104) at reboot+0x84 panic(ffffffff82959e1e) at panic+0x18f sys/kern/subr_prf.c:231 __assert(ffffffff82913737,ffffffff82885187,3f,ffffffff828fb8e0) 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,103) at scsi_xs_get+0x135 scsi_iopool_get sys/scsi/scsi_base.c:259 [inline] scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 sys/scsi/scsi_base.c:655 sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sd_flush sys/scsi/sd.c:1867 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 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+0x17c sys/arch/amd64/amd64/machdep.c:919 reboot(104) at reboot+0x84 panic(ffffffff82959e1e) at panic+0x18f sys/kern/subr_prf.c:231 __assert(ffffffff82913737,ffffffff82885187,3f,ffffffff828fb8e0) 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,103) at scsi_xs_get+0x135 scsi_iopool_get sys/scsi/scsi_base.c:259 [inline] scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 sys/scsi/scsi_base.c:655 sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sd_flush sys/scsi/sd.c:1867 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 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+0x17c sys/arch/amd64/amd64/machdep.c:919 reboot(104) at reboot+0x84 panic(ffffffff82959e1e) at panic+0x18f sys/kern/subr_prf.c:231 __assert(ffffffff82913737,ffffffff82885187,3f,ffffffff828fb8e0) 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,103) at scsi_xs_get+0x135 scsi_iopool_get sys/scsi/scsi_base.c:259 [inline] scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 sys/scsi/scsi_base.c:655 sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sd_flush sys/scsi/sd.c:1867 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 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+0x17c sys/arch/amd64/amd64/machdep.c:919 reboot(104) at reboot+0x84 panic(ffffffff82959e1e) at panic+0x18f sys/kern/subr_prf.c:231 __assert(ffffffff82913737,ffffffff82885187,3f,ffffffff828fb8e0) 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,103) at scsi_xs_get+0x135 scsi_iopool_get sys/scsi/scsi_base.c:259 [inline] scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 sys/scsi/scsi_base.c:655 sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sd_flush sys/scsi/sd.c:1867 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 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+0x17c sys/arch/amd64/amd64/machdep.c:919 reboot(104) at reboot+0x84 panic(ffffffff82959e1e) at panic+0x18f sys/kern/subr_prf.c:231 __assert(ffffffff82913737,ffffffff82885187,3f,ffffffff828fb8e0) 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,103) at scsi_xs_get+0x135 scsi_iopool_get sys/scsi/scsi_base.c:259 [inline] scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 sys/scsi/scsi_base.c:655 sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sd_flush sys/scsi/sd.c:1867 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 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+0x17c sys/arch/amd64/amd64/machdep.c:919 reboot(104) at reboot+0x84 panic(ffffffff82959e1e) at panic+0x18f sys/kern/subr_prf.c:231 __assert(ffffffff82913737,ffffffff82885187,3f,ffffffff828fb8e0) 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,103) at scsi_xs_get+0x135 scsi_iopool_get sys/scsi/scsi_base.c:259 [inline] scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 sys/scsi/scsi_base.c:655 sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sd_flush sys/scsi/sd.c:1867 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 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+0x17c sys/arch/amd64/amd64/machdep.c:919 reboot(104) at reboot+0x84 panic(ffffffff82959e1e) at panic+0x18f sys/kern/subr_prf.c:231 __assert(ffffffff82913737,ffffffff82885187,3f,ffffffff828fb8e0) 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,103) at scsi_xs_get+0x135 scsi_iopool_get sys/scsi/scsi_base.c:259 [inline] scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 sys/scsi/scsi_base.c:655 sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sd_flush sys/scsi/sd.c:1867 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 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+0x17c sys/arch/amd64/amd64/machdep.c:919 reboot(104) at reboot+0x84 panic(ffffffff82854005) at panic+0x18f sys/kern/subr_prf.c:231 kerntrap(ffffffff82c7f730) at kerntrap+0x1d7 sys/arch/amd64/amd64/trap.c:327 Xcalltrap_specstk_untramp() at Xcalltrap_specstk_untramp+0xf Bad frame pointer: 0xffff80002a102038 end trace frame: 0xffff80002a102038, count: 74 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(ffffffff82959e1e) at panic+0x16f sys/kern/subr_prf.c:229 __assert(ffffffff82913737,ffffffff82885187,3f,ffffffff828fb8e0) 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,103) at scsi_xs_get+0x135 scsi_iopool_get sys/scsi/scsi_base.c:259 [inline] scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 sys/scsi/scsi_base.c:655 sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sd_flush sys/scsi/sd.c:1867 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 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+0x17c sys/arch/amd64/amd64/machdep.c:919 reboot(104) at reboot+0x84 panic(ffffffff82959e1e) at panic+0x18f sys/kern/subr_prf.c:231 __assert(ffffffff82913737,ffffffff82885187,3f,ffffffff828fb8e0) 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,103) at scsi_xs_get+0x135 scsi_iopool_get sys/scsi/scsi_base.c:259 [inline] scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 sys/scsi/scsi_base.c:655 sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sd_flush sys/scsi/sd.c:1867 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 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+0x17c sys/arch/amd64/amd64/machdep.c:919 reboot(104) at reboot+0x84 panic(ffffffff82959e1e) at panic+0x18f sys/kern/subr_prf.c:231 __assert(ffffffff82913737,ffffffff82885187,3f,ffffffff828fb8e0) 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,103) at scsi_xs_get+0x135 scsi_iopool_get sys/scsi/scsi_base.c:259 [inline] scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 sys/scsi/scsi_base.c:655 sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sd_flush sys/scsi/sd.c:1867 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 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+0x17c sys/arch/amd64/amd64/machdep.c:919 reboot(104) at reboot+0x84 panic(ffffffff82959e1e) at panic+0x18f sys/kern/subr_prf.c:231 __assert(ffffffff82913737,ffffffff82885187,3f,ffffffff828fb8e0) 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,103) at scsi_xs_get+0x135 scsi_iopool_get sys/scsi/scsi_base.c:259 [inline] scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 sys/scsi/scsi_base.c:655 sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sd_flush sys/scsi/sd.c:1867 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 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+0x17c sys/arch/amd64/amd64/machdep.c:919 reboot(104) at reboot+0x84 panic(ffffffff82959e1e) at panic+0x18f sys/kern/subr_prf.c:231 __assert(ffffffff82913737,ffffffff82885187,3f,ffffffff828fb8e0) 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,103) at scsi_xs_get+0x135 scsi_iopool_get sys/scsi/scsi_base.c:259 [inline] scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 sys/scsi/scsi_base.c:655 sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sd_flush sys/scsi/sd.c:1867 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 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+0x17c sys/arch/amd64/amd64/machdep.c:919 reboot(104) at reboot+0x84 panic(ffffffff82959e1e) at panic+0x18f sys/kern/subr_prf.c:231 __assert(ffffffff82913737,ffffffff82885187,3f,ffffffff828fb8e0) 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,103) at scsi_xs_get+0x135 scsi_iopool_get sys/scsi/scsi_base.c:259 [inline] scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 sys/scsi/scsi_base.c:655 sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sd_flush sys/scsi/sd.c:1867 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 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+0x17c sys/arch/amd64/amd64/machdep.c:919 reboot(104) at reboot+0x84 panic(ffffffff82959e1e) at panic+0x18f sys/kern/subr_prf.c:231 __assert(ffffffff82913737,ffffffff82885187,3f,ffffffff828fb8e0) 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,103) at scsi_xs_get+0x135 scsi_iopool_get sys/scsi/scsi_base.c:259 [inline] scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 sys/scsi/scsi_base.c:655 sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sd_flush sys/scsi/sd.c:1867 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 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+0x17c sys/arch/amd64/amd64/machdep.c:919 reboot(104) at reboot+0x84 panic(ffffffff82959e1e) at panic+0x18f sys/kern/subr_prf.c:231 __assert(ffffffff82913737,ffffffff82885187,3f,ffffffff828fb8e0) 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,103) at scsi_xs_get+0x135 scsi_iopool_get sys/scsi/scsi_base.c:259 [inline] scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 sys/scsi/scsi_base.c:655 sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sd_flush sys/scsi/sd.c:1867 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 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+0x17c sys/arch/amd64/amd64/machdep.c:919 reboot(104) at reboot+0x84 panic(ffffffff82959e1e) at panic+0x18f sys/kern/subr_prf.c:231 __assert(ffffffff82913737,ffffffff82885187,3f,ffffffff828fb8e0) 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,103) at scsi_xs_get+0x135 scsi_iopool_get sys/scsi/scsi_base.c:259 [inline] scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 sys/scsi/scsi_base.c:655 sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sd_flush sys/scsi/sd.c:1867 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 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+0x17c sys/arch/amd64/amd64/machdep.c:919 reboot(104) at reboot+0x84 panic(ffffffff82959e1e) at panic+0x18f sys/kern/subr_prf.c:231 __assert(ffffffff82913737,ffffffff82885187,3f,ffffffff828fb8e0) 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,103) at scsi_xs_get+0x135 scsi_iopool_get sys/scsi/scsi_base.c:259 [inline] scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 sys/scsi/scsi_base.c:655 sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sd_flush sys/scsi/sd.c:1867 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 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+0x17c sys/arch/amd64/amd64/machdep.c:919 reboot(104) at reboot+0x84 panic(ffffffff82959e1e) at panic+0x18f sys/kern/subr_prf.c:231 __assert(ffffffff82913737,ffffffff82885187,3f,ffffffff828fb8e0) 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,103) at scsi_xs_get+0x135 scsi_iopool_get sys/scsi/scsi_base.c:259 [inline] scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 sys/scsi/scsi_base.c:655 sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sd_flush sys/scsi/sd.c:1867 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 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+0x17c sys/arch/amd64/amd64/machdep.c:919 reboot(104) at reboot+0x84 panic(ffffffff82959e1e) at panic+0x18f sys/kern/subr_prf.c:231 __assert(ffffffff82913737,ffffffff82885187,3f,ffffffff828fb8e0) 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,103) at scsi_xs_get+0x135 scsi_iopool_get sys/scsi/scsi_base.c:259 [inline] scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 sys/scsi/scsi_base.c:655 sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sd_flush sys/scsi/sd.c:1867 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 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+0x17c sys/arch/amd64/amd64/machdep.c:919 reboot(104) at reboot+0x84 panic(ffffffff82959e1e) at panic+0x18f sys/kern/subr_prf.c:231 __assert(ffffffff82913737,ffffffff82885187,3f,ffffffff828fb8e0) 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,103) at scsi_xs_get+0x135 scsi_iopool_get sys/scsi/scsi_base.c:259 [inline] scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 sys/scsi/scsi_base.c:655 sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sd_flush sys/scsi/sd.c:1867 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 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+0x17c sys/arch/amd64/amd64/machdep.c:919 reboot(104) at reboot+0x84 panic(ffffffff82854005) at panic+0x18f sys/kern/subr_prf.c:231 kerntrap(ffffffff82c7f730) at kerntrap+0x1d7 sys/arch/amd64/amd64/trap.c:327 Xcalltrap_specstk_untramp() at Xcalltrap_specstk_untramp+0xf Bad frame pointer: 0xffff80002a102038 end trace frame: 0xffff80002a102038, count: 59 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(ffffffff82959e1e) at panic+0x16f sys/kern/subr_prf.c:229 __assert(ffffffff82913737,ffffffff82885187,3f,ffffffff828fb8e0) 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,103) at scsi_xs_get+0x135 scsi_iopool_get sys/scsi/scsi_base.c:259 [inline] scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 sys/scsi/scsi_base.c:655 sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sd_flush sys/scsi/sd.c:1867 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 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+0x17c sys/arch/amd64/amd64/machdep.c:919 reboot(104) at reboot+0x84 panic(ffffffff82959e1e) at panic+0x18f sys/kern/subr_prf.c:231 __assert(ffffffff82913737,ffffffff82885187,3f,ffffffff828fb8e0) 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,103) at scsi_xs_get+0x135 scsi_iopool_get sys/scsi/scsi_base.c:259 [inline] scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 sys/scsi/scsi_base.c:655 sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sd_flush sys/scsi/sd.c:1867 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 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+0x17c sys/arch/amd64/amd64/machdep.c:919 reboot(104) at reboot+0x84 panic(ffffffff82959e1e) at panic+0x18f sys/kern/subr_prf.c:231 __assert(ffffffff82913737,ffffffff82885187,3f,ffffffff828fb8e0) 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,103) at scsi_xs_get+0x135 scsi_iopool_get sys/scsi/scsi_base.c:259 [inline] scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 sys/scsi/scsi_base.c:655 sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sd_flush sys/scsi/sd.c:1867 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 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+0x17c sys/arch/amd64/amd64/machdep.c:919 reboot(104) at reboot+0x84 panic(ffffffff82959e1e) at panic+0x18f sys/kern/subr_prf.c:231 __assert(ffffffff82913737,ffffffff82885187,3f,ffffffff828fb8e0) 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,103) at scsi_xs_get+0x135 scsi_iopool_get sys/scsi/scsi_base.c:259 [inline] scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 sys/scsi/scsi_base.c:655 sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sd_flush sys/scsi/sd.c:1867 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 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+0x17c sys/arch/amd64/amd64/machdep.c:919 reboot(104) at reboot+0x84 panic(ffffffff82959e1e) at panic+0x18f sys/kern/subr_prf.c:231 __assert(ffffffff82913737,ffffffff82885187,3f,ffffffff828fb8e0) 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,103) at scsi_xs_get+0x135 scsi_iopool_get sys/scsi/scsi_base.c:259 [inline] scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 sys/scsi/scsi_base.c:655 sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sd_flush sys/scsi/sd.c:1867 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 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+0x17c sys/arch/amd64/amd64/machdep.c:919 reboot(104) at reboot+0x84 panic(ffffffff82959e1e) at panic+0x18f sys/kern/subr_prf.c:231 __assert(ffffffff82913737,ffffffff82885187,3f,ffffffff828fb8e0) 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,103) at scsi_xs_get+0x135 scsi_iopool_get sys/scsi/scsi_base.c:259 [inline] scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 sys/scsi/scsi_base.c:655 sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sd_flush sys/scsi/sd.c:1867 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 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+0x17c sys/arch/amd64/amd64/machdep.c:919 reboot(104) at reboot+0x84 panic(ffffffff82959e1e) at panic+0x18f sys/kern/subr_prf.c:231 __assert(ffffffff82913737,ffffffff82885187,3f,ffffffff828fb8e0) 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,103) at scsi_xs_get+0x135 scsi_iopool_get sys/scsi/scsi_base.c:259 [inline] scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 sys/scsi/scsi_base.c:655 sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sd_flush sys/scsi/sd.c:1867 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 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+0x17c sys/arch/amd64/amd64/machdep.c:919 reboot(104) at reboot+0x84 panic(ffffffff82959e1e) at panic+0x18f sys/kern/subr_prf.c:231 __assert(ffffffff82913737,ffffffff82885187,3f,ffffffff828fb8e0) 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,103) at scsi_xs_get+0x135 scsi_iopool_get sys/scsi/scsi_base.c:259 [inline] scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 sys/scsi/scsi_base.c:655 sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sd_flush sys/scsi/sd.c:1867 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 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+0x17c sys/arch/amd64/amd64/machdep.c:919 reboot(104) at reboot+0x84 panic(ffffffff82959e1e) at panic+0x18f sys/kern/subr_prf.c:231 __assert(ffffffff82913737,ffffffff82885187,3f,ffffffff828fb8e0) 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,103) at scsi_xs_get+0x135 scsi_iopool_get sys/scsi/scsi_base.c:259 [inline] scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 sys/scsi/scsi_base.c:655 sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sd_flush sys/scsi/sd.c:1867 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 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+0x17c sys/arch/amd64/amd64/machdep.c:919 reboot(104) at reboot+0x84 panic(ffffffff82959e1e) at panic+0x18f sys/kern/subr_prf.c:231 __assert(ffffffff82913737,ffffffff82885187,3f,ffffffff828fb8e0) 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,103) at scsi_xs_get+0x135 scsi_iopool_get sys/scsi/scsi_base.c:259 [inline] scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 sys/scsi/scsi_base.c:655 sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sd_flush sys/scsi/sd.c:1867 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 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+0x17c sys/arch/amd64/amd64/machdep.c:919 reboot(104) at reboot+0x84 panic(ffffffff82959e1e) at panic+0x18f sys/kern/subr_prf.c:231 __assert(ffffffff82913737,ffffffff82885187,3f,ffffffff828fb8e0) 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,103) at scsi_xs_get+0x135 scsi_iopool_get sys/scsi/scsi_base.c:259 [inline] scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 sys/scsi/scsi_base.c:655 sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sd_flush sys/scsi/sd.c:1867 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 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+0x17c sys/arch/amd64/amd64/machdep.c:919 reboot(104) at reboot+0x84 panic(ffffffff82959e1e) at panic+0x18f sys/kern/subr_prf.c:231 __assert(ffffffff82913737,ffffffff82885187,3f,ffffffff828fb8e0) 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,103) at scsi_xs_get+0x135 scsi_iopool_get sys/scsi/scsi_base.c:259 [inline] scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 sys/scsi/scsi_base.c:655 sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sd_flush sys/scsi/sd.c:1867 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 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+0x17c sys/arch/amd64/amd64/machdep.c:919 reboot(104) at reboot+0x84 panic(ffffffff82959e1e) at panic+0x18f sys/kern/subr_prf.c:231 __assert(ffffffff82913737,ffffffff82885187,3f,ffffffff828fb8e0) 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,103) at scsi_xs_get+0x135 scsi_iopool_get sys/scsi/scsi_base.c:259 [inline] scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 sys/scsi/scsi_base.c:655 sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sd_flush sys/scsi/sd.c:1867 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 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+0x17c sys/arch/amd64/amd64/machdep.c:919 reboot(104) at reboot+0x84 panic(ffffffff82959e1e) at panic+0x18f sys/kern/subr_prf.c:231 __assert(ffffffff82913737,ffffffff82885187,3f,ffffffff828fb8e0) 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,103) at scsi_xs_get+0x135 scsi_iopool_get sys/scsi/scsi_base.c:259 [inline] scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 sys/scsi/scsi_base.c:655 sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sd_flush sys/scsi/sd.c:1867 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 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+0x17c sys/arch/amd64/amd64/machdep.c:919 reboot(104) at reboot+0x84 panic(ffffffff82854005) at panic+0x18f sys/kern/subr_prf.c:231 kerntrap(ffffffff82c7f730) at kerntrap+0x1d7 sys/arch/amd64/amd64/trap.c:327 Xcalltrap_specstk_untramp() at Xcalltrap_specstk_untramp+0xf Bad frame pointer: 0xffff80002a102038 end trace frame: 0xffff80002a102038, count: 44 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(ffffffff82959e1e) at panic+0x16f sys/kern/subr_prf.c:229 __assert(ffffffff82913737,ffffffff82885187,3f,ffffffff828fb8e0) 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,103) at scsi_xs_get+0x135 scsi_iopool_get sys/scsi/scsi_base.c:259 [inline] scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 sys/scsi/scsi_base.c:655 sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sd_flush sys/scsi/sd.c:1867 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 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+0x17c sys/arch/amd64/amd64/machdep.c:919 reboot(104) at reboot+0x84 panic(ffffffff82959e1e) at panic+0x18f sys/kern/subr_prf.c:231 __assert(ffffffff82913737,ffffffff82885187,3f,ffffffff828fb8e0) 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,103) at scsi_xs_get+0x135 scsi_iopool_get sys/scsi/scsi_base.c:259 [inline] scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 sys/scsi/scsi_base.c:655 sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sd_flush sys/scsi/sd.c:1867 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 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+0x17c sys/arch/amd64/amd64/machdep.c:919 reboot(104) at reboot+0x84 panic(ffffffff82959e1e) at panic+0x18f sys/kern/subr_prf.c:231 __assert(ffffffff82913737,ffffffff82885187,3f,ffffffff828fb8e0) 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,103) at scsi_xs_get+0x135 scsi_iopool_get sys/scsi/scsi_base.c:259 [inline] scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 sys/scsi/scsi_base.c:655 sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sd_flush sys/scsi/sd.c:1867 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 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+0x17c sys/arch/amd64/amd64/machdep.c:919 reboot(104) at reboot+0x84 panic(ffffffff82959e1e) at panic+0x18f sys/kern/subr_prf.c:231 __assert(ffffffff82913737,ffffffff82885187,3f,ffffffff828fb8e0) 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,103) at scsi_xs_get+0x135 scsi_iopool_get sys/scsi/scsi_base.c:259 [inline] scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 sys/scsi/scsi_base.c:655 sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sd_flush sys/scsi/sd.c:1867 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 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+0x17c sys/arch/amd64/amd64/machdep.c:919 reboot(104) at reboot+0x84 panic(ffffffff82959e1e) at panic+0x18f sys/kern/subr_prf.c:231 __assert(ffffffff82913737,ffffffff82885187,3f,ffffffff828fb8e0) 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,103) at scsi_xs_get+0x135 scsi_iopool_get sys/scsi/scsi_base.c:259 [inline] scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 sys/scsi/scsi_base.c:655 sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sd_flush sys/scsi/sd.c:1867 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 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+0x17c sys/arch/amd64/amd64/machdep.c:919 reboot(104) at reboot+0x84 panic(ffffffff82959e1e) at panic+0x18f sys/kern/subr_prf.c:231 __assert(ffffffff82913737,ffffffff82885187,3f,ffffffff828fb8e0) 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,103) at scsi_xs_get+0x135 scsi_iopool_get sys/scsi/scsi_base.c:259 [inline] scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 sys/scsi/scsi_base.c:655 sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sd_flush sys/scsi/sd.c:1867 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 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+0x17c sys/arch/amd64/amd64/machdep.c:919 reboot(104) at reboot+0x84 panic(ffffffff82959e1e) at panic+0x18f sys/kern/subr_prf.c:231 __assert(ffffffff82913737,ffffffff82885187,3f,ffffffff828fb8e0) 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,103) at scsi_xs_get+0x135 scsi_iopool_get sys/scsi/scsi_base.c:259 [inline] scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 sys/scsi/scsi_base.c:655 sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sd_flush sys/scsi/sd.c:1867 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 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+0x17c sys/arch/amd64/amd64/machdep.c:919 reboot(104) at reboot+0x84 panic(ffffffff82959e1e) at panic+0x18f sys/kern/subr_prf.c:231 __assert(ffffffff82913737,ffffffff82885187,3f,ffffffff828fb8e0) 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,103) at scsi_xs_get+0x135 scsi_iopool_get sys/scsi/scsi_base.c:259 [inline] scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 sys/scsi/scsi_base.c:655 sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sd_flush sys/scsi/sd.c:1867 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 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+0x17c sys/arch/amd64/amd64/machdep.c:919 reboot(104) at reboot+0x84 panic(ffffffff82959e1e) at panic+0x18f sys/kern/subr_prf.c:231 __assert(ffffffff82913737,ffffffff82885187,3f,ffffffff828fb8e0) 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,103) at scsi_xs_get+0x135 scsi_iopool_get sys/scsi/scsi_base.c:259 [inline] scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 sys/scsi/scsi_base.c:655 sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sd_flush sys/scsi/sd.c:1867 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 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+0x17c sys/arch/amd64/amd64/machdep.c:919 reboot(104) at reboot+0x84 panic(ffffffff82959e1e) at panic+0x18f sys/kern/subr_prf.c:231 __assert(ffffffff82913737,ffffffff82885187,3f,ffffffff828fb8e0) 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,103) at scsi_xs_get+0x135 scsi_iopool_get sys/scsi/scsi_base.c:259 [inline] scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 sys/scsi/scsi_base.c:655 sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sd_flush sys/scsi/sd.c:1867 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 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+0x17c sys/arch/amd64/amd64/machdep.c:919 reboot(104) at reboot+0x84 panic(ffffffff82959e1e) at panic+0x18f sys/kern/subr_prf.c:231 __assert(ffffffff82913737,ffffffff82885187,3f,ffffffff828fb8e0) 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,103) at scsi_xs_get+0x135 scsi_iopool_get sys/scsi/scsi_base.c:259 [inline] scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 sys/scsi/scsi_base.c:655 sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sd_flush sys/scsi/sd.c:1867 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 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+0x17c sys/arch/amd64/amd64/machdep.c:919 reboot(104) at reboot+0x84 panic(ffffffff82959e1e) at panic+0x18f sys/kern/subr_prf.c:231 __assert(ffffffff82913737,ffffffff82885187,3f,ffffffff828fb8e0) 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,103) at scsi_xs_get+0x135 scsi_iopool_get sys/scsi/scsi_base.c:259 [inline] scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 sys/scsi/scsi_base.c:655 sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sd_flush sys/scsi/sd.c:1867 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 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+0x17c sys/arch/amd64/amd64/machdep.c:919 reboot(104) at reboot+0x84 panic(ffffffff82959e1e) at panic+0x18f sys/kern/subr_prf.c:231 __assert(ffffffff82913737,ffffffff82885187,3f,ffffffff828fb8e0) 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,103) at scsi_xs_get+0x135 scsi_iopool_get sys/scsi/scsi_base.c:259 [inline] scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 sys/scsi/scsi_base.c:655 sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sd_flush sys/scsi/sd.c:1867 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 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+0x17c sys/arch/amd64/amd64/machdep.c:919 reboot(104) at reboot+0x84 panic(ffffffff82959e1e) at panic+0x18f sys/kern/subr_prf.c:231 __assert(ffffffff82913737,ffffffff82885187,3f,ffffffff828fb8e0) 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,103) at scsi_xs_get+0x135 scsi_iopool_get sys/scsi/scsi_base.c:259 [inline] scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 sys/scsi/scsi_base.c:655 sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sd_flush sys/scsi/sd.c:1867 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 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+0x17c sys/arch/amd64/amd64/machdep.c:919 reboot(104) at reboot+0x84 panic(ffffffff82959e1e) at panic+0x18f sys/kern/subr_prf.c:231 __assert(ffffffff82913737,ffffffff82885187,3f,ffffffff828fb8e0) 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,103) at scsi_xs_get+0x135 scsi_iopool_get sys/scsi/scsi_base.c:259 [inline] scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 sys/scsi/scsi_base.c:655 sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sd_flush sys/scsi/sd.c:1867 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 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+0x17c sys/arch/amd64/amd64/machdep.c:919 reboot(104) at reboot+0x84 panic(ffffffff82854005) at panic+0x18f sys/kern/subr_prf.c:231 kerntrap(ffffffff82c7f730) at kerntrap+0x1d7 sys/arch/amd64/amd64/trap.c:327 Xcalltrap_specstk_untramp() at Xcalltrap_specstk_untramp+0xf Bad frame pointer: 0xffff80002a102038 end trace frame: 0xffff80002a102038, count: 29 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(ffffffff82959e1e) at panic+0x16f sys/kern/subr_prf.c:229 __assert(ffffffff82913737,ffffffff82885187,3f,ffffffff828fb8e0) 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,103) at scsi_xs_get+0x135 scsi_iopool_get sys/scsi/scsi_base.c:259 [inline] scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 sys/scsi/scsi_base.c:655 sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sd_flush sys/scsi/sd.c:1867 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 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+0x17c sys/arch/amd64/amd64/machdep.c:919 reboot(104) at reboot+0x84 panic(ffffffff82959e1e) at panic+0x18f sys/kern/subr_prf.c:231 __assert(ffffffff82913737,ffffffff82885187,3f,ffffffff828fb8e0) 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,103) at scsi_xs_get+0x135 scsi_iopool_get sys/scsi/scsi_base.c:259 [inline] scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 sys/scsi/scsi_base.c:655 sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sd_flush sys/scsi/sd.c:1867 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 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+0x17c sys/arch/amd64/amd64/machdep.c:919 reboot(104) at reboot+0x84 panic(ffffffff82959e1e) at panic+0x18f sys/kern/subr_prf.c:231 __assert(ffffffff82913737,ffffffff82885187,3f,ffffffff828fb8e0) 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,103) at scsi_xs_get+0x135 scsi_iopool_get sys/scsi/scsi_base.c:259 [inline] scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 sys/scsi/scsi_base.c:655 sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sd_flush sys/scsi/sd.c:1867 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 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+0x17c sys/arch/amd64/amd64/machdep.c:919 reboot(104) at reboot+0x84 panic(ffffffff82959e1e) at panic+0x18f sys/kern/subr_prf.c:231 __assert(ffffffff82913737,ffffffff82885187,3f,ffffffff828fb8e0) 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,103) at scsi_xs_get+0x135 scsi_iopool_get sys/scsi/scsi_base.c:259 [inline] scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 sys/scsi/scsi_base.c:655 sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sd_flush sys/scsi/sd.c:1867 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 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+0x17c sys/arch/amd64/amd64/machdep.c:919 reboot(104) at reboot+0x84 panic(ffffffff82959e1e) at panic+0x18f sys/kern/subr_prf.c:231 __assert(ffffffff82913737,ffffffff82885187,3f,ffffffff828fb8e0) 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,103) at scsi_xs_get+0x135 scsi_iopool_get sys/scsi/scsi_base.c:259 [inline] scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 sys/scsi/scsi_base.c:655 sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sd_flush sys/scsi/sd.c:1867 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 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+0x17c sys/arch/amd64/amd64/machdep.c:919 reboot(104) at reboot+0x84 panic(ffffffff82959e1e) at panic+0x18f sys/kern/subr_prf.c:231 __assert(ffffffff82913737,ffffffff82885187,3f,ffffffff828fb8e0) 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,103) at scsi_xs_get+0x135 scsi_iopool_get sys/scsi/scsi_base.c:259 [inline] scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 sys/scsi/scsi_base.c:655 sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sd_flush sys/scsi/sd.c:1867 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 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+0x17c sys/arch/amd64/amd64/machdep.c:919 reboot(104) at reboot+0x84 panic(ffffffff82959e1e) at panic+0x18f sys/kern/subr_prf.c:231 __assert(ffffffff82913737,ffffffff82885187,3f,ffffffff828fb8e0) 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,103) at scsi_xs_get+0x135 scsi_iopool_get sys/scsi/scsi_base.c:259 [inline] scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 sys/scsi/scsi_base.c:655 sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sd_flush sys/scsi/sd.c:1867 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 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+0x17c sys/arch/amd64/amd64/machdep.c:919 reboot(104) at reboot+0x84 panic(ffffffff82959e1e) at panic+0x18f sys/kern/subr_prf.c:231 __assert(ffffffff82913737,ffffffff82885187,3f,ffffffff828fb8e0) 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,103) at scsi_xs_get+0x135 scsi_iopool_get sys/scsi/scsi_base.c:259 [inline] scsi_xs_get(ffff80000002c500,103) at scsi_xs_get+0x135 sys/scsi/scsi_base.c:655 sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 sd_flush sys/scsi/sd.c:1867 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1e2 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