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(ffffffff825aa846) at panic+0x16b sys/kern/subr_prf.c:229 __assert(ffffffff826225f2,ffffffff82590a82,3f,ffffffff826588d5) at __assert+0x25 sys/kern/subr_prf.c:157 _kernel_lock() at _kernel_lock+0xb2 sys/kern/kern_lock.c:63 kpageflttrap(ffff80002c947cd0,0) at kpageflttrap+0x287 sys/arch/amd64/amd64/trap.c:247 kerntrap(ffff80002c947cd0) at kerntrap+0xef sys/arch/amd64/amd64/trap.c:332 alltraps_kern_meltdown() at alltraps_kern_meltdown+0x7b end trace frame: 0x0, count: 251 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(ffffffff825aa846) at panic+0x16b sys/kern/subr_prf.c:229 __assert(ffffffff826225f2,ffffffff82590a82,3f,ffffffff826588d5) at __assert+0x25 sys/kern/subr_prf.c:157 _kernel_lock() at _kernel_lock+0xb2 sys/kern/kern_lock.c:63 scsi_iopool_run(ffff8000000a3048) at scsi_iopool_run+0x95 scsi_iopool_get sys/scsi/scsi_base.c:258 [inline] scsi_iopool_run(ffff8000000a3048) at scsi_iopool_run+0x95 sys/scsi/scsi_base.c:422 scsi_xsh_runqueue(ffff80000002c500) at scsi_xsh_runqueue+0x203 sys/scsi/scsi_base.c:598 scsi_xsh_add(ffff80000019f1e0) at scsi_xsh_add+0xc9 sys/scsi/scsi_base.c:536 sdstrategy(fffffd8066a3ec68) at sdstrategy+0x187 sys/scsi/sd.c:567 spec_strategy(ffff80002c9475b8) at spec_strategy+0x75 sys/kern/spec_vnops.c:451 VOP_STRATEGY(fffffd807efb40d8,fffffd8066a3ec68) at VOP_STRATEGY+0x9b sys/kern/vfs_vops.c:628 bwrite(fffffd8066a3ec68) at bwrite+0x1f0 sys/kern/vfs_bio.c:760 ffs_update(fffffd80798e9450,1) at ffs_update+0x27d sys/ufs/ffs/ffs_inode.c:113 ffs_truncate(fffffd80798e9450,0,0,ffffffffffffffff) at ffs_truncate+0xcec ufs_inactive(ffff80002c947948) at ufs_inactive+0x14e sys/ufs/ufs/ufs_inode.c:84 VOP_INACTIVE(fffffd80693ce568,ffff800026412d28) at VOP_INACTIVE+0xc4 sys/kern/vfs_vops.c:489 vput(fffffd80693ce568) at vput+0xac sys/kern/vfs_subr.c:779 vn_close(fffffd80693ce568,2,ffffffffffffffff,ffff800026412d28) at vn_close+0x7e sys/kern/vfs_vnops.c:294 acct_shutdown() at acct_shutdown+0x6b sys/kern/kern_acct.c:359 vfs_shutdown(ffff800026412d28) at vfs_shutdown+0x16 sys/kern/vfs_subr.c:1779 boot(100) at boot+0xc8 sys/arch/amd64/amd64/machdep.c:839 dt_prov_syscall_alloc(100,100,0,0) at dt_prov_syscall_alloc panic(ffffffff825aa846) at panic+0x18b sys/kern/subr_prf.c:231 __assert(ffffffff826225f2,ffffffff82590a82,3f,ffffffff826588d5) at __assert+0x25 sys/kern/subr_prf.c:157 _kernel_lock() at _kernel_lock+0xb2 sys/kern/kern_lock.c:63 kpageflttrap(ffff80002c947cd0,0) at kpageflttrap+0x287 sys/arch/amd64/amd64/trap.c:247 kerntrap(ffff80002c947cd0) at kerntrap+0xef sys/arch/amd64/amd64/trap.c:332 alltraps_kern_meltdown() at alltraps_kern_meltdown+0x7b end trace frame: 0x0, count: 231 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(ffffffff825aa846) at panic+0x16b sys/kern/subr_prf.c:229 __assert(ffffffff826225f2,ffffffff82590a82,3f,ffffffff826588d5) at __assert+0x25 sys/kern/subr_prf.c:157 _kernel_lock() at _kernel_lock+0xb2 sys/kern/kern_lock.c:63 rtfree(fffffd807306cd30) at rtfree+0x6a sys/net/route.c:501 rt_if_track(ffff800000be6000) at rt_if_track+0x13d sys/net/route.c:1716 if_down(ffff800000be6000) at if_down+0x110 if_linkstate sys/net/if.c:1679 [inline] if_down(ffff800000be6000) at if_down+0x110 sys/net/if.c:1625 if_downall() at if_downall+0x7d sys/net/if.c:1606 boot(104) at boot+0x12c sys/arch/amd64/amd64/machdep.c:847 dt_prov_syscall_alloc(104,104,ffffffff82941990,1) at dt_prov_syscall_alloc panic(ffffffff825aa846) at panic+0x18b sys/kern/subr_prf.c:231 __assert(ffffffff826225f2,ffffffff82590a82,3f,ffffffff826588d5) at __assert+0x25 sys/kern/subr_prf.c:157 _kernel_lock() at _kernel_lock+0xb2 sys/kern/kern_lock.c:63 scsi_iopool_run(ffff8000000a3048) at scsi_iopool_run+0x95 scsi_iopool_get sys/scsi/scsi_base.c:258 [inline] scsi_iopool_run(ffff8000000a3048) at scsi_iopool_run+0x95 sys/scsi/scsi_base.c:422 scsi_xsh_runqueue(ffff80000002c500) at scsi_xsh_runqueue+0x203 sys/scsi/scsi_base.c:598 scsi_xsh_add(ffff80000019f1e0) at scsi_xsh_add+0xc9 sys/scsi/scsi_base.c:536 sdstrategy(fffffd8066a3ec68) at sdstrategy+0x187 sys/scsi/sd.c:567 spec_strategy(ffff80002c9475b8) at spec_strategy+0x75 sys/kern/spec_vnops.c:451 VOP_STRATEGY(fffffd807efb40d8,fffffd8066a3ec68) at VOP_STRATEGY+0x9b sys/kern/vfs_vops.c:628 bwrite(fffffd8066a3ec68) at bwrite+0x1f0 sys/kern/vfs_bio.c:760 ffs_update(fffffd80798e9450,1) at ffs_update+0x27d sys/ufs/ffs/ffs_inode.c:113 ffs_truncate(fffffd80798e9450,0,0,ffffffffffffffff) at ffs_truncate+0xcec ufs_inactive(ffff80002c947948) at ufs_inactive+0x14e sys/ufs/ufs/ufs_inode.c:84 VOP_INACTIVE(fffffd80693ce568,ffff800026412d28) at VOP_INACTIVE+0xc4 sys/kern/vfs_vops.c:489 vput(fffffd80693ce568) at vput+0xac sys/kern/vfs_subr.c:779 vn_close(fffffd80693ce568,2,ffffffffffffffff,ffff800026412d28) at vn_close+0x7e sys/kern/vfs_vnops.c:294 acct_shutdown() at acct_shutdown+0x6b sys/kern/kern_acct.c:359 vfs_shutdown(ffff800026412d28) at vfs_shutdown+0x16 sys/kern/vfs_subr.c:1779 boot(100) at boot+0xc8 sys/arch/amd64/amd64/machdep.c:839 dt_prov_syscall_alloc(100,100,0,0) at dt_prov_syscall_alloc panic(ffffffff825aa846) at panic+0x18b sys/kern/subr_prf.c:231 __assert(ffffffff826225f2,ffffffff82590a82,3f,ffffffff826588d5) at __assert+0x25 sys/kern/subr_prf.c:157 _kernel_lock() at _kernel_lock+0xb2 sys/kern/kern_lock.c:63 kpageflttrap(ffff80002c947cd0,0) at kpageflttrap+0x287 sys/arch/amd64/amd64/trap.c:247 kerntrap(ffff80002c947cd0) at kerntrap+0xef sys/arch/amd64/amd64/trap.c:332 alltraps_kern_meltdown() at alltraps_kern_meltdown+0x7b end trace frame: 0x0, count: 222 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(ffffffff825aa846) at panic+0x16b sys/kern/subr_prf.c:229 __assert(ffffffff826225f2,ffffffff82590a82,3f,ffffffff826588d5) at __assert+0x25 sys/kern/subr_prf.c:157 _kernel_lock() at _kernel_lock+0xb2 sys/kern/kern_lock.c:63 scsi_xs_get(ffff80000002c500,3) at scsi_xs_get+0x12d scsi_iopool_get sys/scsi/scsi_base.c:257 [inline] scsi_xs_get(ffff80000002c500,3) at scsi_xs_get+0x12d sys/scsi/scsi_base.c:653 sdactivate(ffff80000019f000,6) at sdactivate+0x1d6 sd_flush sys/scsi/sd.c:1862 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1d6 sys/scsi/sd.c:271 config_suspend(ffff80000019f000,6) at config_suspend+0x4c sys/kern/subr_autoconf.c:831 scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x6b scsi_activate_link sys/scsi/scsiconf.c:410 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x6b scsi_activate_bus sys/scsi/scsiconf.c:360 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x6b 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+0x75 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+0x30e sys/kern/subr_autoconf.c:855 boot(104) at boot+0x17a sys/arch/amd64/amd64/machdep.c:858 dt_prov_syscall_alloc(104,104,ffffffff82941990,1) at dt_prov_syscall_alloc panic(ffffffff825aa846) at panic+0x18b sys/kern/subr_prf.c:231 __assert(ffffffff826225f2,ffffffff82590a82,3f,ffffffff826588d5) at __assert+0x25 sys/kern/subr_prf.c:157 _kernel_lock() at _kernel_lock+0xb2 sys/kern/kern_lock.c:63 rtfree(fffffd807306cd30) at rtfree+0x6a sys/net/route.c:501 rt_if_track(ffff800000be6000) at rt_if_track+0x13d sys/net/route.c:1716 if_down(ffff800000be6000) at if_down+0x110 if_linkstate sys/net/if.c:1679 [inline] if_down(ffff800000be6000) at if_down+0x110 sys/net/if.c:1625 if_downall() at if_downall+0x7d sys/net/if.c:1606 boot(104) at boot+0x12c sys/arch/amd64/amd64/machdep.c:847 dt_prov_syscall_alloc(104,104,ffffffff82941990,1) at dt_prov_syscall_alloc panic(ffffffff825aa846) at panic+0x18b sys/kern/subr_prf.c:231 __assert(ffffffff826225f2,ffffffff82590a82,3f,ffffffff826588d5) at __assert+0x25 sys/kern/subr_prf.c:157 _kernel_lock() at _kernel_lock+0xb2 sys/kern/kern_lock.c:63 scsi_iopool_run(ffff8000000a3048) at scsi_iopool_run+0x95 scsi_iopool_get sys/scsi/scsi_base.c:258 [inline] scsi_iopool_run(ffff8000000a3048) at scsi_iopool_run+0x95 sys/scsi/scsi_base.c:422 scsi_xsh_runqueue(ffff80000002c500) at scsi_xsh_runqueue+0x203 sys/scsi/scsi_base.c:598 scsi_xsh_add(ffff80000019f1e0) at scsi_xsh_add+0xc9 sys/scsi/scsi_base.c:536 sdstrategy(fffffd8066a3ec68) at sdstrategy+0x187 sys/scsi/sd.c:567 spec_strategy(ffff80002c9475b8) at spec_strategy+0x75 sys/kern/spec_vnops.c:451 VOP_STRATEGY(fffffd807efb40d8,fffffd8066a3ec68) at VOP_STRATEGY+0x9b sys/kern/vfs_vops.c:628 bwrite(fffffd8066a3ec68) at bwrite+0x1f0 sys/kern/vfs_bio.c:760 ffs_update(fffffd80798e9450,1) at ffs_update+0x27d sys/ufs/ffs/ffs_inode.c:113 ffs_truncate(fffffd80798e9450,0,0,ffffffffffffffff) at ffs_truncate+0xcec ufs_inactive(ffff80002c947948) at ufs_inactive+0x14e sys/ufs/ufs/ufs_inode.c:84 VOP_INACTIVE(fffffd80693ce568,ffff800026412d28) at VOP_INACTIVE+0xc4 sys/kern/vfs_vops.c:489 vput(fffffd80693ce568) at vput+0xac sys/kern/vfs_subr.c:779 vn_close(fffffd80693ce568,2,ffffffffffffffff,ffff800026412d28) at vn_close+0x7e sys/kern/vfs_vnops.c:294 acct_shutdown() at acct_shutdown+0x6b sys/kern/kern_acct.c:359 vfs_shutdown(ffff800026412d28) at vfs_shutdown+0x16 sys/kern/vfs_subr.c:1779 boot(100) at boot+0xc8 sys/arch/amd64/amd64/machdep.c:839 dt_prov_syscall_alloc(100,100,0,0) at dt_prov_syscall_alloc panic(ffffffff825aa846) at panic+0x18b sys/kern/subr_prf.c:231 __assert(ffffffff826225f2,ffffffff82590a82,3f,ffffffff826588d5) at __assert+0x25 sys/kern/subr_prf.c:157 _kernel_lock() at _kernel_lock+0xb2 sys/kern/kern_lock.c:63 kpageflttrap(ffff80002c947cd0,0) at kpageflttrap+0x287 sys/arch/amd64/amd64/trap.c:247 kerntrap(ffff80002c947cd0) at kerntrap+0xef sys/arch/amd64/amd64/trap.c:332 alltraps_kern_meltdown() at alltraps_kern_meltdown+0x7b end trace frame: 0x0, count: 207 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(ffffffff825aa846) at panic+0x16b sys/kern/subr_prf.c:229 __assert(ffffffff826225f2,ffffffff82590a82,3f,ffffffff826588d5) at __assert+0x25 sys/kern/subr_prf.c:157 _kernel_lock() at _kernel_lock+0xb2 sys/kern/kern_lock.c:63 scsi_xs_get(ffff80000002c500,3) at scsi_xs_get+0x12d scsi_iopool_get sys/scsi/scsi_base.c:257 [inline] scsi_xs_get(ffff80000002c500,3) at scsi_xs_get+0x12d sys/scsi/scsi_base.c:653 sdactivate(ffff80000019f000,6) at sdactivate+0x1d6 sd_flush sys/scsi/sd.c:1862 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1d6 sys/scsi/sd.c:271 config_suspend(ffff80000019f000,6) at config_suspend+0x4c sys/kern/subr_autoconf.c:831 scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x6b scsi_activate_link sys/scsi/scsiconf.c:410 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x6b scsi_activate_bus sys/scsi/scsiconf.c:360 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x6b 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+0x75 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+0x30e sys/kern/subr_autoconf.c:855 boot(104) at boot+0x17a sys/arch/amd64/amd64/machdep.c:858 dt_prov_syscall_alloc(104,104,ffffffff82941990,1) at dt_prov_syscall_alloc panic(ffffffff825aa846) at panic+0x18b sys/kern/subr_prf.c:231 __assert(ffffffff826225f2,ffffffff82590a82,3f,ffffffff826588d5) at __assert+0x25 sys/kern/subr_prf.c:157 _kernel_lock() at _kernel_lock+0xb2 sys/kern/kern_lock.c:63 scsi_xs_get(ffff80000002c500,3) at scsi_xs_get+0x12d scsi_iopool_get sys/scsi/scsi_base.c:257 [inline] scsi_xs_get(ffff80000002c500,3) at scsi_xs_get+0x12d sys/scsi/scsi_base.c:653 sdactivate(ffff80000019f000,6) at sdactivate+0x1d6 sd_flush sys/scsi/sd.c:1862 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1d6 sys/scsi/sd.c:271 config_suspend(ffff80000019f000,6) at config_suspend+0x4c sys/kern/subr_autoconf.c:831 scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x6b scsi_activate_link sys/scsi/scsiconf.c:410 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x6b scsi_activate_bus sys/scsi/scsiconf.c:360 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x6b 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+0x75 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+0x30e sys/kern/subr_autoconf.c:855 boot(104) at boot+0x17a sys/arch/amd64/amd64/machdep.c:858 dt_prov_syscall_alloc(104,104,ffffffff82941990,1) at dt_prov_syscall_alloc panic(ffffffff825aa846) at panic+0x18b sys/kern/subr_prf.c:231 __assert(ffffffff826225f2,ffffffff82590a82,3f,ffffffff826588d5) at __assert+0x25 sys/kern/subr_prf.c:157 _kernel_lock() at _kernel_lock+0xb2 sys/kern/kern_lock.c:63 rtfree(fffffd807306cd30) at rtfree+0x6a sys/net/route.c:501 rt_if_track(ffff800000be6000) at rt_if_track+0x13d sys/net/route.c:1716 if_down(ffff800000be6000) at if_down+0x110 if_linkstate sys/net/if.c:1679 [inline] if_down(ffff800000be6000) at if_down+0x110 sys/net/if.c:1625 if_downall() at if_downall+0x7d sys/net/if.c:1606 boot(104) at boot+0x12c sys/arch/amd64/amd64/machdep.c:847 dt_prov_syscall_alloc(104,104,ffffffff82941990,1) at dt_prov_syscall_alloc panic(ffffffff825aa846) at panic+0x18b sys/kern/subr_prf.c:231 __assert(ffffffff826225f2,ffffffff82590a82,3f,ffffffff826588d5) at __assert+0x25 sys/kern/subr_prf.c:157 _kernel_lock() at _kernel_lock+0xb2 sys/kern/kern_lock.c:63 scsi_iopool_run(ffff8000000a3048) at scsi_iopool_run+0x95 scsi_iopool_get sys/scsi/scsi_base.c:258 [inline] scsi_iopool_run(ffff8000000a3048) at scsi_iopool_run+0x95 sys/scsi/scsi_base.c:422 scsi_xsh_runqueue(ffff80000002c500) at scsi_xsh_runqueue+0x203 sys/scsi/scsi_base.c:598 scsi_xsh_add(ffff80000019f1e0) at scsi_xsh_add+0xc9 sys/scsi/scsi_base.c:536 sdstrategy(fffffd8066a3ec68) at sdstrategy+0x187 sys/scsi/sd.c:567 spec_strategy(ffff80002c9475b8) at spec_strategy+0x75 sys/kern/spec_vnops.c:451 VOP_STRATEGY(fffffd807efb40d8,fffffd8066a3ec68) at VOP_STRATEGY+0x9b sys/kern/vfs_vops.c:628 bwrite(fffffd8066a3ec68) at bwrite+0x1f0 sys/kern/vfs_bio.c:760 ffs_update(fffffd80798e9450,1) at ffs_update+0x27d sys/ufs/ffs/ffs_inode.c:113 ffs_truncate(fffffd80798e9450,0,0,ffffffffffffffff) at ffs_truncate+0xcec ufs_inactive(ffff80002c947948) at ufs_inactive+0x14e sys/ufs/ufs/ufs_inode.c:84 VOP_INACTIVE(fffffd80693ce568,ffff800026412d28) at VOP_INACTIVE+0xc4 sys/kern/vfs_vops.c:489 vput(fffffd80693ce568) at vput+0xac sys/kern/vfs_subr.c:779 vn_close(fffffd80693ce568,2,ffffffffffffffff,ffff800026412d28) at vn_close+0x7e sys/kern/vfs_vnops.c:294 acct_shutdown() at acct_shutdown+0x6b sys/kern/kern_acct.c:359 vfs_shutdown(ffff800026412d28) at vfs_shutdown+0x16 sys/kern/vfs_subr.c:1779 boot(100) at boot+0xc8 sys/arch/amd64/amd64/machdep.c:839 dt_prov_syscall_alloc(100,100,0,0) at dt_prov_syscall_alloc panic(ffffffff825aa846) at panic+0x18b sys/kern/subr_prf.c:231 __assert(ffffffff826225f2,ffffffff82590a82,3f,ffffffff826588d5) at __assert+0x25 sys/kern/subr_prf.c:157 _kernel_lock() at _kernel_lock+0xb2 sys/kern/kern_lock.c:63 kpageflttrap(ffff80002c947cd0,0) at kpageflttrap+0x287 sys/arch/amd64/amd64/trap.c:247 kerntrap(ffff80002c947cd0) at kerntrap+0xef sys/arch/amd64/amd64/trap.c:332 alltraps_kern_meltdown() at alltraps_kern_meltdown+0x7b end trace frame: 0x0, count: 192 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(ffffffff825aa846) at panic+0x16b sys/kern/subr_prf.c:229 __assert(ffffffff826225f2,ffffffff82590a82,3f,ffffffff826588d5) at __assert+0x25 sys/kern/subr_prf.c:157 _kernel_lock() at _kernel_lock+0xb2 sys/kern/kern_lock.c:63 scsi_xs_get(ffff80000002c500,3) at scsi_xs_get+0x12d scsi_iopool_get sys/scsi/scsi_base.c:257 [inline] scsi_xs_get(ffff80000002c500,3) at scsi_xs_get+0x12d sys/scsi/scsi_base.c:653 sdactivate(ffff80000019f000,6) at sdactivate+0x1d6 sd_flush sys/scsi/sd.c:1862 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1d6 sys/scsi/sd.c:271 config_suspend(ffff80000019f000,6) at config_suspend+0x4c sys/kern/subr_autoconf.c:831 scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x6b scsi_activate_link sys/scsi/scsiconf.c:410 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x6b scsi_activate_bus sys/scsi/scsiconf.c:360 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x6b 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+0x75 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+0x30e sys/kern/subr_autoconf.c:855 boot(104) at boot+0x17a sys/arch/amd64/amd64/machdep.c:858 dt_prov_syscall_alloc(104,104,ffffffff82941990,1) at dt_prov_syscall_alloc panic(ffffffff825aa846) at panic+0x18b sys/kern/subr_prf.c:231 __assert(ffffffff826225f2,ffffffff82590a82,3f,ffffffff826588d5) at __assert+0x25 sys/kern/subr_prf.c:157 _kernel_lock() at _kernel_lock+0xb2 sys/kern/kern_lock.c:63 scsi_xs_get(ffff80000002c500,3) at scsi_xs_get+0x12d scsi_iopool_get sys/scsi/scsi_base.c:257 [inline] scsi_xs_get(ffff80000002c500,3) at scsi_xs_get+0x12d sys/scsi/scsi_base.c:653 sdactivate(ffff80000019f000,6) at sdactivate+0x1d6 sd_flush sys/scsi/sd.c:1862 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1d6 sys/scsi/sd.c:271 config_suspend(ffff80000019f000,6) at config_suspend+0x4c sys/kern/subr_autoconf.c:831 scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x6b scsi_activate_link sys/scsi/scsiconf.c:410 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x6b scsi_activate_bus sys/scsi/scsiconf.c:360 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x6b 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+0x75 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+0x30e sys/kern/subr_autoconf.c:855 boot(104) at boot+0x17a sys/arch/amd64/amd64/machdep.c:858 dt_prov_syscall_alloc(104,104,ffffffff82941990,1) at dt_prov_syscall_alloc panic(ffffffff825aa846) at panic+0x18b sys/kern/subr_prf.c:231 __assert(ffffffff826225f2,ffffffff82590a82,3f,ffffffff826588d5) at __assert+0x25 sys/kern/subr_prf.c:157 _kernel_lock() at _kernel_lock+0xb2 sys/kern/kern_lock.c:63 scsi_xs_get(ffff80000002c500,3) at scsi_xs_get+0x12d scsi_iopool_get sys/scsi/scsi_base.c:257 [inline] scsi_xs_get(ffff80000002c500,3) at scsi_xs_get+0x12d sys/scsi/scsi_base.c:653 sdactivate(ffff80000019f000,6) at sdactivate+0x1d6 sd_flush sys/scsi/sd.c:1862 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1d6 sys/scsi/sd.c:271 config_suspend(ffff80000019f000,6) at config_suspend+0x4c sys/kern/subr_autoconf.c:831 scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x6b scsi_activate_link sys/scsi/scsiconf.c:410 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x6b scsi_activate_bus sys/scsi/scsiconf.c:360 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x6b 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+0x75 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+0x30e sys/kern/subr_autoconf.c:855 boot(104) at boot+0x17a sys/arch/amd64/amd64/machdep.c:858 dt_prov_syscall_alloc(104,104,ffffffff82941990,1) at dt_prov_syscall_alloc panic(ffffffff825aa846) at panic+0x18b sys/kern/subr_prf.c:231 __assert(ffffffff826225f2,ffffffff82590a82,3f,ffffffff826588d5) at __assert+0x25 sys/kern/subr_prf.c:157 _kernel_lock() at _kernel_lock+0xb2 sys/kern/kern_lock.c:63 rtfree(fffffd807306cd30) at rtfree+0x6a sys/net/route.c:501 rt_if_track(ffff800000be6000) at rt_if_track+0x13d sys/net/route.c:1716 if_down(ffff800000be6000) at if_down+0x110 if_linkstate sys/net/if.c:1679 [inline] if_down(ffff800000be6000) at if_down+0x110 sys/net/if.c:1625 if_downall() at if_downall+0x7d sys/net/if.c:1606 boot(104) at boot+0x12c sys/arch/amd64/amd64/machdep.c:847 dt_prov_syscall_alloc(104,104,ffffffff82941990,1) at dt_prov_syscall_alloc panic(ffffffff825aa846) at panic+0x18b sys/kern/subr_prf.c:231 __assert(ffffffff826225f2,ffffffff82590a82,3f,ffffffff826588d5) at __assert+0x25 sys/kern/subr_prf.c:157 _kernel_lock() at _kernel_lock+0xb2 sys/kern/kern_lock.c:63 scsi_iopool_run(ffff8000000a3048) at scsi_iopool_run+0x95 scsi_iopool_get sys/scsi/scsi_base.c:258 [inline] scsi_iopool_run(ffff8000000a3048) at scsi_iopool_run+0x95 sys/scsi/scsi_base.c:422 scsi_xsh_runqueue(ffff80000002c500) at scsi_xsh_runqueue+0x203 sys/scsi/scsi_base.c:598 scsi_xsh_add(ffff80000019f1e0) at scsi_xsh_add+0xc9 sys/scsi/scsi_base.c:536 sdstrategy(fffffd8066a3ec68) at sdstrategy+0x187 sys/scsi/sd.c:567 spec_strategy(ffff80002c9475b8) at spec_strategy+0x75 sys/kern/spec_vnops.c:451 VOP_STRATEGY(fffffd807efb40d8,fffffd8066a3ec68) at VOP_STRATEGY+0x9b sys/kern/vfs_vops.c:628 bwrite(fffffd8066a3ec68) at bwrite+0x1f0 sys/kern/vfs_bio.c:760 ffs_update(fffffd80798e9450,1) at ffs_update+0x27d sys/ufs/ffs/ffs_inode.c:113 ffs_truncate(fffffd80798e9450,0,0,ffffffffffffffff) at ffs_truncate+0xcec ufs_inactive(ffff80002c947948) at ufs_inactive+0x14e sys/ufs/ufs/ufs_inode.c:84 VOP_INACTIVE(fffffd80693ce568,ffff800026412d28) at VOP_INACTIVE+0xc4 sys/kern/vfs_vops.c:489 vput(fffffd80693ce568) at vput+0xac sys/kern/vfs_subr.c:779 vn_close(fffffd80693ce568,2,ffffffffffffffff,ffff800026412d28) at vn_close+0x7e sys/kern/vfs_vnops.c:294 acct_shutdown() at acct_shutdown+0x6b sys/kern/kern_acct.c:359 vfs_shutdown(ffff800026412d28) at vfs_shutdown+0x16 sys/kern/vfs_subr.c:1779 boot(100) at boot+0xc8 sys/arch/amd64/amd64/machdep.c:839 dt_prov_syscall_alloc(100,100,0,0) at dt_prov_syscall_alloc panic(ffffffff825aa846) at panic+0x18b sys/kern/subr_prf.c:231 __assert(ffffffff826225f2,ffffffff82590a82,3f,ffffffff826588d5) at __assert+0x25 sys/kern/subr_prf.c:157 _kernel_lock() at _kernel_lock+0xb2 sys/kern/kern_lock.c:63 kpageflttrap(ffff80002c947cd0,0) at kpageflttrap+0x287 sys/arch/amd64/amd64/trap.c:247 kerntrap(ffff80002c947cd0) at kerntrap+0xef sys/arch/amd64/amd64/trap.c:332 alltraps_kern_meltdown() at alltraps_kern_meltdown+0x7b end trace frame: 0x0, count: 177 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(ffffffff825aa846) at panic+0x16b sys/kern/subr_prf.c:229 __assert(ffffffff826225f2,ffffffff82590a82,3f,ffffffff826588d5) at __assert+0x25 sys/kern/subr_prf.c:157 _kernel_lock() at _kernel_lock+0xb2 sys/kern/kern_lock.c:63 scsi_xs_get(ffff80000002c500,3) at scsi_xs_get+0x12d scsi_iopool_get sys/scsi/scsi_base.c:257 [inline] scsi_xs_get(ffff80000002c500,3) at scsi_xs_get+0x12d sys/scsi/scsi_base.c:653 sdactivate(ffff80000019f000,6) at sdactivate+0x1d6 sd_flush sys/scsi/sd.c:1862 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1d6 sys/scsi/sd.c:271 config_suspend(ffff80000019f000,6) at config_suspend+0x4c sys/kern/subr_autoconf.c:831 scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x6b scsi_activate_link sys/scsi/scsiconf.c:410 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x6b scsi_activate_bus sys/scsi/scsiconf.c:360 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x6b 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+0x75 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+0x30e sys/kern/subr_autoconf.c:855 boot(104) at boot+0x17a sys/arch/amd64/amd64/machdep.c:858 dt_prov_syscall_alloc(104,104,ffffffff82941990,1) at dt_prov_syscall_alloc panic(ffffffff825aa846) at panic+0x18b sys/kern/subr_prf.c:231 __assert(ffffffff826225f2,ffffffff82590a82,3f,ffffffff826588d5) at __assert+0x25 sys/kern/subr_prf.c:157 _kernel_lock() at _kernel_lock+0xb2 sys/kern/kern_lock.c:63 scsi_xs_get(ffff80000002c500,3) at scsi_xs_get+0x12d scsi_iopool_get sys/scsi/scsi_base.c:257 [inline] scsi_xs_get(ffff80000002c500,3) at scsi_xs_get+0x12d sys/scsi/scsi_base.c:653 sdactivate(ffff80000019f000,6) at sdactivate+0x1d6 sd_flush sys/scsi/sd.c:1862 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1d6 sys/scsi/sd.c:271 config_suspend(ffff80000019f000,6) at config_suspend+0x4c sys/kern/subr_autoconf.c:831 scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x6b scsi_activate_link sys/scsi/scsiconf.c:410 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x6b scsi_activate_bus sys/scsi/scsiconf.c:360 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x6b 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+0x75 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+0x30e sys/kern/subr_autoconf.c:855 boot(104) at boot+0x17a sys/arch/amd64/amd64/machdep.c:858 dt_prov_syscall_alloc(104,104,ffffffff82941990,1) at dt_prov_syscall_alloc panic(ffffffff825aa846) at panic+0x18b sys/kern/subr_prf.c:231 __assert(ffffffff826225f2,ffffffff82590a82,3f,ffffffff826588d5) at __assert+0x25 sys/kern/subr_prf.c:157 _kernel_lock() at _kernel_lock+0xb2 sys/kern/kern_lock.c:63 scsi_xs_get(ffff80000002c500,3) at scsi_xs_get+0x12d scsi_iopool_get sys/scsi/scsi_base.c:257 [inline] scsi_xs_get(ffff80000002c500,3) at scsi_xs_get+0x12d sys/scsi/scsi_base.c:653 sdactivate(ffff80000019f000,6) at sdactivate+0x1d6 sd_flush sys/scsi/sd.c:1862 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1d6 sys/scsi/sd.c:271 config_suspend(ffff80000019f000,6) at config_suspend+0x4c sys/kern/subr_autoconf.c:831 scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x6b scsi_activate_link sys/scsi/scsiconf.c:410 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x6b scsi_activate_bus sys/scsi/scsiconf.c:360 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x6b 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+0x75 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+0x30e sys/kern/subr_autoconf.c:855 boot(104) at boot+0x17a sys/arch/amd64/amd64/machdep.c:858 dt_prov_syscall_alloc(104,104,ffffffff82941990,1) at dt_prov_syscall_alloc panic(ffffffff825aa846) at panic+0x18b sys/kern/subr_prf.c:231 __assert(ffffffff826225f2,ffffffff82590a82,3f,ffffffff826588d5) at __assert+0x25 sys/kern/subr_prf.c:157 _kernel_lock() at _kernel_lock+0xb2 sys/kern/kern_lock.c:63 scsi_xs_get(ffff80000002c500,3) at scsi_xs_get+0x12d scsi_iopool_get sys/scsi/scsi_base.c:257 [inline] scsi_xs_get(ffff80000002c500,3) at scsi_xs_get+0x12d sys/scsi/scsi_base.c:653 sdactivate(ffff80000019f000,6) at sdactivate+0x1d6 sd_flush sys/scsi/sd.c:1862 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1d6 sys/scsi/sd.c:271 config_suspend(ffff80000019f000,6) at config_suspend+0x4c sys/kern/subr_autoconf.c:831 scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x6b scsi_activate_link sys/scsi/scsiconf.c:410 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x6b scsi_activate_bus sys/scsi/scsiconf.c:360 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x6b 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+0x75 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+0x30e sys/kern/subr_autoconf.c:855 boot(104) at boot+0x17a sys/arch/amd64/amd64/machdep.c:858 dt_prov_syscall_alloc(104,104,ffffffff82941990,1) at dt_prov_syscall_alloc panic(ffffffff825aa846) at panic+0x18b sys/kern/subr_prf.c:231 __assert(ffffffff826225f2,ffffffff82590a82,3f,ffffffff826588d5) at __assert+0x25 sys/kern/subr_prf.c:157 _kernel_lock() at _kernel_lock+0xb2 sys/kern/kern_lock.c:63 rtfree(fffffd807306cd30) at rtfree+0x6a sys/net/route.c:501 rt_if_track(ffff800000be6000) at rt_if_track+0x13d sys/net/route.c:1716 if_down(ffff800000be6000) at if_down+0x110 if_linkstate sys/net/if.c:1679 [inline] if_down(ffff800000be6000) at if_down+0x110 sys/net/if.c:1625 if_downall() at if_downall+0x7d sys/net/if.c:1606 boot(104) at boot+0x12c sys/arch/amd64/amd64/machdep.c:847 dt_prov_syscall_alloc(104,104,ffffffff82941990,1) at dt_prov_syscall_alloc panic(ffffffff825aa846) at panic+0x18b sys/kern/subr_prf.c:231 __assert(ffffffff826225f2,ffffffff82590a82,3f,ffffffff826588d5) at __assert+0x25 sys/kern/subr_prf.c:157 _kernel_lock() at _kernel_lock+0xb2 sys/kern/kern_lock.c:63 scsi_iopool_run(ffff8000000a3048) at scsi_iopool_run+0x95 scsi_iopool_get sys/scsi/scsi_base.c:258 [inline] scsi_iopool_run(ffff8000000a3048) at scsi_iopool_run+0x95 sys/scsi/scsi_base.c:422 scsi_xsh_runqueue(ffff80000002c500) at scsi_xsh_runqueue+0x203 sys/scsi/scsi_base.c:598 scsi_xsh_add(ffff80000019f1e0) at scsi_xsh_add+0xc9 sys/scsi/scsi_base.c:536 sdstrategy(fffffd8066a3ec68) at sdstrategy+0x187 sys/scsi/sd.c:567 spec_strategy(ffff80002c9475b8) at spec_strategy+0x75 sys/kern/spec_vnops.c:451 VOP_STRATEGY(fffffd807efb40d8,fffffd8066a3ec68) at VOP_STRATEGY+0x9b sys/kern/vfs_vops.c:628 bwrite(fffffd8066a3ec68) at bwrite+0x1f0 sys/kern/vfs_bio.c:760 ffs_update(fffffd80798e9450,1) at ffs_update+0x27d sys/ufs/ffs/ffs_inode.c:113 ffs_truncate(fffffd80798e9450,0,0,ffffffffffffffff) at ffs_truncate+0xcec ufs_inactive(ffff80002c947948) at ufs_inactive+0x14e sys/ufs/ufs/ufs_inode.c:84 VOP_INACTIVE(fffffd80693ce568,ffff800026412d28) at VOP_INACTIVE+0xc4 sys/kern/vfs_vops.c:489 vput(fffffd80693ce568) at vput+0xac sys/kern/vfs_subr.c:779 vn_close(fffffd80693ce568,2,ffffffffffffffff,ffff800026412d28) at vn_close+0x7e sys/kern/vfs_vnops.c:294 acct_shutdown() at acct_shutdown+0x6b sys/kern/kern_acct.c:359 vfs_shutdown(ffff800026412d28) at vfs_shutdown+0x16 sys/kern/vfs_subr.c:1779 boot(100) at boot+0xc8 sys/arch/amd64/amd64/machdep.c:839 dt_prov_syscall_alloc(100,100,0,0) at dt_prov_syscall_alloc panic(ffffffff825aa846) at panic+0x18b sys/kern/subr_prf.c:231 __assert(ffffffff826225f2,ffffffff82590a82,3f,ffffffff826588d5) at __assert+0x25 sys/kern/subr_prf.c:157 _kernel_lock() at _kernel_lock+0xb2 sys/kern/kern_lock.c:63 kpageflttrap(ffff80002c947cd0,0) at kpageflttrap+0x287 sys/arch/amd64/amd64/trap.c:247 kerntrap(ffff80002c947cd0) at kerntrap+0xef sys/arch/amd64/amd64/trap.c:332 alltraps_kern_meltdown() at alltraps_kern_meltdown+0x7b end trace frame: 0x0, count: 162 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(ffffffff825aa846) at panic+0x16b sys/kern/subr_prf.c:229 __assert(ffffffff826225f2,ffffffff82590a82,3f,ffffffff826588d5) at __assert+0x25 sys/kern/subr_prf.c:157 _kernel_lock() at _kernel_lock+0xb2 sys/kern/kern_lock.c:63 scsi_xs_get(ffff80000002c500,3) at scsi_xs_get+0x12d scsi_iopool_get sys/scsi/scsi_base.c:257 [inline] scsi_xs_get(ffff80000002c500,3) at scsi_xs_get+0x12d sys/scsi/scsi_base.c:653 sdactivate(ffff80000019f000,6) at sdactivate+0x1d6 sd_flush sys/scsi/sd.c:1862 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1d6 sys/scsi/sd.c:271 config_suspend(ffff80000019f000,6) at config_suspend+0x4c sys/kern/subr_autoconf.c:831 scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x6b scsi_activate_link sys/scsi/scsiconf.c:410 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x6b scsi_activate_bus sys/scsi/scsiconf.c:360 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x6b 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+0x75 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+0x30e sys/kern/subr_autoconf.c:855 boot(104) at boot+0x17a sys/arch/amd64/amd64/machdep.c:858 dt_prov_syscall_alloc(104,104,ffffffff82941990,1) at dt_prov_syscall_alloc panic(ffffffff825aa846) at panic+0x18b sys/kern/subr_prf.c:231 __assert(ffffffff826225f2,ffffffff82590a82,3f,ffffffff826588d5) at __assert+0x25 sys/kern/subr_prf.c:157 _kernel_lock() at _kernel_lock+0xb2 sys/kern/kern_lock.c:63 scsi_xs_get(ffff80000002c500,3) at scsi_xs_get+0x12d scsi_iopool_get sys/scsi/scsi_base.c:257 [inline] scsi_xs_get(ffff80000002c500,3) at scsi_xs_get+0x12d sys/scsi/scsi_base.c:653 sdactivate(ffff80000019f000,6) at sdactivate+0x1d6 sd_flush sys/scsi/sd.c:1862 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1d6 sys/scsi/sd.c:271 config_suspend(ffff80000019f000,6) at config_suspend+0x4c sys/kern/subr_autoconf.c:831 scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x6b scsi_activate_link sys/scsi/scsiconf.c:410 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x6b scsi_activate_bus sys/scsi/scsiconf.c:360 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x6b 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+0x75 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+0x30e sys/kern/subr_autoconf.c:855 boot(104) at boot+0x17a sys/arch/amd64/amd64/machdep.c:858 dt_prov_syscall_alloc(104,104,ffffffff82941990,1) at dt_prov_syscall_alloc panic(ffffffff825aa846) at panic+0x18b sys/kern/subr_prf.c:231 __assert(ffffffff826225f2,ffffffff82590a82,3f,ffffffff826588d5) at __assert+0x25 sys/kern/subr_prf.c:157 _kernel_lock() at _kernel_lock+0xb2 sys/kern/kern_lock.c:63 scsi_xs_get(ffff80000002c500,3) at scsi_xs_get+0x12d scsi_iopool_get sys/scsi/scsi_base.c:257 [inline] scsi_xs_get(ffff80000002c500,3) at scsi_xs_get+0x12d sys/scsi/scsi_base.c:653 sdactivate(ffff80000019f000,6) at sdactivate+0x1d6 sd_flush sys/scsi/sd.c:1862 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1d6 sys/scsi/sd.c:271 config_suspend(ffff80000019f000,6) at config_suspend+0x4c sys/kern/subr_autoconf.c:831 scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x6b scsi_activate_link sys/scsi/scsiconf.c:410 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x6b scsi_activate_bus sys/scsi/scsiconf.c:360 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x6b 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+0x75 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+0x30e sys/kern/subr_autoconf.c:855 boot(104) at boot+0x17a sys/arch/amd64/amd64/machdep.c:858 dt_prov_syscall_alloc(104,104,ffffffff82941990,1) at dt_prov_syscall_alloc panic(ffffffff825aa846) at panic+0x18b sys/kern/subr_prf.c:231 __assert(ffffffff826225f2,ffffffff82590a82,3f,ffffffff826588d5) at __assert+0x25 sys/kern/subr_prf.c:157 _kernel_lock() at _kernel_lock+0xb2 sys/kern/kern_lock.c:63 scsi_xs_get(ffff80000002c500,3) at scsi_xs_get+0x12d scsi_iopool_get sys/scsi/scsi_base.c:257 [inline] scsi_xs_get(ffff80000002c500,3) at scsi_xs_get+0x12d sys/scsi/scsi_base.c:653 sdactivate(ffff80000019f000,6) at sdactivate+0x1d6 sd_flush sys/scsi/sd.c:1862 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1d6 sys/scsi/sd.c:271 config_suspend(ffff80000019f000,6) at config_suspend+0x4c sys/kern/subr_autoconf.c:831 scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x6b scsi_activate_link sys/scsi/scsiconf.c:410 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x6b scsi_activate_bus sys/scsi/scsiconf.c:360 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x6b 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+0x75 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+0x30e sys/kern/subr_autoconf.c:855 boot(104) at boot+0x17a sys/arch/amd64/amd64/machdep.c:858 dt_prov_syscall_alloc(104,104,ffffffff82941990,1) at dt_prov_syscall_alloc panic(ffffffff825aa846) at panic+0x18b sys/kern/subr_prf.c:231 __assert(ffffffff826225f2,ffffffff82590a82,3f,ffffffff826588d5) at __assert+0x25 sys/kern/subr_prf.c:157 _kernel_lock() at _kernel_lock+0xb2 sys/kern/kern_lock.c:63 scsi_xs_get(ffff80000002c500,3) at scsi_xs_get+0x12d scsi_iopool_get sys/scsi/scsi_base.c:257 [inline] scsi_xs_get(ffff80000002c500,3) at scsi_xs_get+0x12d sys/scsi/scsi_base.c:653 sdactivate(ffff80000019f000,6) at sdactivate+0x1d6 sd_flush sys/scsi/sd.c:1862 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1d6 sys/scsi/sd.c:271 config_suspend(ffff80000019f000,6) at config_suspend+0x4c sys/kern/subr_autoconf.c:831 scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x6b scsi_activate_link sys/scsi/scsiconf.c:410 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x6b scsi_activate_bus sys/scsi/scsiconf.c:360 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x6b 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+0x75 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+0x30e sys/kern/subr_autoconf.c:855 boot(104) at boot+0x17a sys/arch/amd64/amd64/machdep.c:858 dt_prov_syscall_alloc(104,104,ffffffff82941990,1) at dt_prov_syscall_alloc panic(ffffffff825aa846) at panic+0x18b sys/kern/subr_prf.c:231 __assert(ffffffff826225f2,ffffffff82590a82,3f,ffffffff826588d5) at __assert+0x25 sys/kern/subr_prf.c:157 _kernel_lock() at _kernel_lock+0xb2 sys/kern/kern_lock.c:63 rtfree(fffffd807306cd30) at rtfree+0x6a sys/net/route.c:501 rt_if_track(ffff800000be6000) at rt_if_track+0x13d sys/net/route.c:1716 if_down(ffff800000be6000) at if_down+0x110 if_linkstate sys/net/if.c:1679 [inline] if_down(ffff800000be6000) at if_down+0x110 sys/net/if.c:1625 if_downall() at if_downall+0x7d sys/net/if.c:1606 boot(104) at boot+0x12c sys/arch/amd64/amd64/machdep.c:847 dt_prov_syscall_alloc(104,104,ffffffff82941990,1) at dt_prov_syscall_alloc panic(ffffffff825aa846) at panic+0x18b sys/kern/subr_prf.c:231 __assert(ffffffff826225f2,ffffffff82590a82,3f,ffffffff826588d5) at __assert+0x25 sys/kern/subr_prf.c:157 _kernel_lock() at _kernel_lock+0xb2 sys/kern/kern_lock.c:63 scsi_iopool_run(ffff8000000a3048) at scsi_iopool_run+0x95 scsi_iopool_get sys/scsi/scsi_base.c:258 [inline] scsi_iopool_run(ffff8000000a3048) at scsi_iopool_run+0x95 sys/scsi/scsi_base.c:422 scsi_xsh_runqueue(ffff80000002c500) at scsi_xsh_runqueue+0x203 sys/scsi/scsi_base.c:598 scsi_xsh_add(ffff80000019f1e0) at scsi_xsh_add+0xc9 sys/scsi/scsi_base.c:536 sdstrategy(fffffd8066a3ec68) at sdstrategy+0x187 sys/scsi/sd.c:567 spec_strategy(ffff80002c9475b8) at spec_strategy+0x75 sys/kern/spec_vnops.c:451 VOP_STRATEGY(fffffd807efb40d8,fffffd8066a3ec68) at VOP_STRATEGY+0x9b sys/kern/vfs_vops.c:628 bwrite(fffffd8066a3ec68) at bwrite+0x1f0 sys/kern/vfs_bio.c:760 ffs_update(fffffd80798e9450,1) at ffs_update+0x27d sys/ufs/ffs/ffs_inode.c:113 ffs_truncate(fffffd80798e9450,0,0,ffffffffffffffff) at ffs_truncate+0xcec ufs_inactive(ffff80002c947948) at ufs_inactive+0x14e sys/ufs/ufs/ufs_inode.c:84 VOP_INACTIVE(fffffd80693ce568,ffff800026412d28) at VOP_INACTIVE+0xc4 sys/kern/vfs_vops.c:489 vput(fffffd80693ce568) at vput+0xac sys/kern/vfs_subr.c:779 vn_close(fffffd80693ce568,2,ffffffffffffffff,ffff800026412d28) at vn_close+0x7e sys/kern/vfs_vnops.c:294 acct_shutdown() at acct_shutdown+0x6b sys/kern/kern_acct.c:359 vfs_shutdown(ffff800026412d28) at vfs_shutdown+0x16 sys/kern/vfs_subr.c:1779 boot(100) at boot+0xc8 sys/arch/amd64/amd64/machdep.c:839 dt_prov_syscall_alloc(100,100,0,0) at dt_prov_syscall_alloc panic(ffffffff825aa846) at panic+0x18b sys/kern/subr_prf.c:231 __assert(ffffffff826225f2,ffffffff82590a82,3f,ffffffff826588d5) at __assert+0x25 sys/kern/subr_prf.c:157 _kernel_lock() at _kernel_lock+0xb2 sys/kern/kern_lock.c:63 kpageflttrap(ffff80002c947cd0,0) at kpageflttrap+0x287 sys/arch/amd64/amd64/trap.c:247 kerntrap(ffff80002c947cd0) at kerntrap+0xef sys/arch/amd64/amd64/trap.c:332 alltraps_kern_meltdown() at alltraps_kern_meltdown+0x7b end trace frame: 0x0, count: 147 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(ffffffff825aa846) at panic+0x16b sys/kern/subr_prf.c:229 __assert(ffffffff826225f2,ffffffff82590a82,3f,ffffffff826588d5) at __assert+0x25 sys/kern/subr_prf.c:157 _kernel_lock() at _kernel_lock+0xb2 sys/kern/kern_lock.c:63 scsi_xs_get(ffff80000002c500,3) at scsi_xs_get+0x12d scsi_iopool_get sys/scsi/scsi_base.c:257 [inline] scsi_xs_get(ffff80000002c500,3) at scsi_xs_get+0x12d sys/scsi/scsi_base.c:653 sdactivate(ffff80000019f000,6) at sdactivate+0x1d6 sd_flush sys/scsi/sd.c:1862 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1d6 sys/scsi/sd.c:271 config_suspend(ffff80000019f000,6) at config_suspend+0x4c sys/kern/subr_autoconf.c:831 scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x6b scsi_activate_link sys/scsi/scsiconf.c:410 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x6b scsi_activate_bus sys/scsi/scsiconf.c:360 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x6b 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+0x75 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+0x30e sys/kern/subr_autoconf.c:855 boot(104) at boot+0x17a sys/arch/amd64/amd64/machdep.c:858 dt_prov_syscall_alloc(104,104,ffffffff82941990,1) at dt_prov_syscall_alloc panic(ffffffff825aa846) at panic+0x18b sys/kern/subr_prf.c:231 __assert(ffffffff826225f2,ffffffff82590a82,3f,ffffffff826588d5) at __assert+0x25 sys/kern/subr_prf.c:157 _kernel_lock() at _kernel_lock+0xb2 sys/kern/kern_lock.c:63 scsi_xs_get(ffff80000002c500,3) at scsi_xs_get+0x12d scsi_iopool_get sys/scsi/scsi_base.c:257 [inline] scsi_xs_get(ffff80000002c500,3) at scsi_xs_get+0x12d sys/scsi/scsi_base.c:653 sdactivate(ffff80000019f000,6) at sdactivate+0x1d6 sd_flush sys/scsi/sd.c:1862 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1d6 sys/scsi/sd.c:271 config_suspend(ffff80000019f000,6) at config_suspend+0x4c sys/kern/subr_autoconf.c:831 scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x6b scsi_activate_link sys/scsi/scsiconf.c:410 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x6b scsi_activate_bus sys/scsi/scsiconf.c:360 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x6b 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+0x75 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+0x30e sys/kern/subr_autoconf.c:855 boot(104) at boot+0x17a sys/arch/amd64/amd64/machdep.c:858 dt_prov_syscall_alloc(104,104,ffffffff82941990,1) at dt_prov_syscall_alloc panic(ffffffff825aa846) at panic+0x18b sys/kern/subr_prf.c:231 __assert(ffffffff826225f2,ffffffff82590a82,3f,ffffffff826588d5) at __assert+0x25 sys/kern/subr_prf.c:157 _kernel_lock() at _kernel_lock+0xb2 sys/kern/kern_lock.c:63 scsi_xs_get(ffff80000002c500,3) at scsi_xs_get+0x12d scsi_iopool_get sys/scsi/scsi_base.c:257 [inline] scsi_xs_get(ffff80000002c500,3) at scsi_xs_get+0x12d sys/scsi/scsi_base.c:653 sdactivate(ffff80000019f000,6) at sdactivate+0x1d6 sd_flush sys/scsi/sd.c:1862 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1d6 sys/scsi/sd.c:271 config_suspend(ffff80000019f000,6) at config_suspend+0x4c sys/kern/subr_autoconf.c:831 scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x6b scsi_activate_link sys/scsi/scsiconf.c:410 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x6b scsi_activate_bus sys/scsi/scsiconf.c:360 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x6b 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+0x75 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+0x30e sys/kern/subr_autoconf.c:855 boot(104) at boot+0x17a sys/arch/amd64/amd64/machdep.c:858 dt_prov_syscall_alloc(104,104,ffffffff82941990,1) at dt_prov_syscall_alloc panic(ffffffff825aa846) at panic+0x18b sys/kern/subr_prf.c:231 __assert(ffffffff826225f2,ffffffff82590a82,3f,ffffffff826588d5) at __assert+0x25 sys/kern/subr_prf.c:157 _kernel_lock() at _kernel_lock+0xb2 sys/kern/kern_lock.c:63 scsi_xs_get(ffff80000002c500,3) at scsi_xs_get+0x12d scsi_iopool_get sys/scsi/scsi_base.c:257 [inline] scsi_xs_get(ffff80000002c500,3) at scsi_xs_get+0x12d sys/scsi/scsi_base.c:653 sdactivate(ffff80000019f000,6) at sdactivate+0x1d6 sd_flush sys/scsi/sd.c:1862 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1d6 sys/scsi/sd.c:271 config_suspend(ffff80000019f000,6) at config_suspend+0x4c sys/kern/subr_autoconf.c:831 scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x6b scsi_activate_link sys/scsi/scsiconf.c:410 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x6b scsi_activate_bus sys/scsi/scsiconf.c:360 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x6b 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+0x75 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+0x30e sys/kern/subr_autoconf.c:855 boot(104) at boot+0x17a sys/arch/amd64/amd64/machdep.c:858 dt_prov_syscall_alloc(104,104,ffffffff82941990,1) at dt_prov_syscall_alloc panic(ffffffff825aa846) at panic+0x18b sys/kern/subr_prf.c:231 __assert(ffffffff826225f2,ffffffff82590a82,3f,ffffffff826588d5) at __assert+0x25 sys/kern/subr_prf.c:157 _kernel_lock() at _kernel_lock+0xb2 sys/kern/kern_lock.c:63 scsi_xs_get(ffff80000002c500,3) at scsi_xs_get+0x12d scsi_iopool_get sys/scsi/scsi_base.c:257 [inline] scsi_xs_get(ffff80000002c500,3) at scsi_xs_get+0x12d sys/scsi/scsi_base.c:653 sdactivate(ffff80000019f000,6) at sdactivate+0x1d6 sd_flush sys/scsi/sd.c:1862 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1d6 sys/scsi/sd.c:271 config_suspend(ffff80000019f000,6) at config_suspend+0x4c sys/kern/subr_autoconf.c:831 scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x6b scsi_activate_link sys/scsi/scsiconf.c:410 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x6b scsi_activate_bus sys/scsi/scsiconf.c:360 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x6b 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+0x75 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+0x30e sys/kern/subr_autoconf.c:855 boot(104) at boot+0x17a sys/arch/amd64/amd64/machdep.c:858 dt_prov_syscall_alloc(104,104,ffffffff82941990,1) at dt_prov_syscall_alloc panic(ffffffff825aa846) at panic+0x18b sys/kern/subr_prf.c:231 __assert(ffffffff826225f2,ffffffff82590a82,3f,ffffffff826588d5) at __assert+0x25 sys/kern/subr_prf.c:157 _kernel_lock() at _kernel_lock+0xb2 sys/kern/kern_lock.c:63 scsi_xs_get(ffff80000002c500,3) at scsi_xs_get+0x12d scsi_iopool_get sys/scsi/scsi_base.c:257 [inline] scsi_xs_get(ffff80000002c500,3) at scsi_xs_get+0x12d sys/scsi/scsi_base.c:653 sdactivate(ffff80000019f000,6) at sdactivate+0x1d6 sd_flush sys/scsi/sd.c:1862 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1d6 sys/scsi/sd.c:271 config_suspend(ffff80000019f000,6) at config_suspend+0x4c sys/kern/subr_autoconf.c:831 scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x6b scsi_activate_link sys/scsi/scsiconf.c:410 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x6b scsi_activate_bus sys/scsi/scsiconf.c:360 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x6b 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+0x75 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+0x30e sys/kern/subr_autoconf.c:855 boot(104) at boot+0x17a sys/arch/amd64/amd64/machdep.c:858 dt_prov_syscall_alloc(104,104,ffffffff82941990,1) at dt_prov_syscall_alloc panic(ffffffff825aa846) at panic+0x18b sys/kern/subr_prf.c:231 __assert(ffffffff826225f2,ffffffff82590a82,3f,ffffffff826588d5) at __assert+0x25 sys/kern/subr_prf.c:157 _kernel_lock() at _kernel_lock+0xb2 sys/kern/kern_lock.c:63 rtfree(fffffd807306cd30) at rtfree+0x6a sys/net/route.c:501 rt_if_track(ffff800000be6000) at rt_if_track+0x13d sys/net/route.c:1716 if_down(ffff800000be6000) at if_down+0x110 if_linkstate sys/net/if.c:1679 [inline] if_down(ffff800000be6000) at if_down+0x110 sys/net/if.c:1625 if_downall() at if_downall+0x7d sys/net/if.c:1606 boot(104) at boot+0x12c sys/arch/amd64/amd64/machdep.c:847 dt_prov_syscall_alloc(104,104,ffffffff82941990,1) at dt_prov_syscall_alloc panic(ffffffff825aa846) at panic+0x18b sys/kern/subr_prf.c:231 __assert(ffffffff826225f2,ffffffff82590a82,3f,ffffffff826588d5) at __assert+0x25 sys/kern/subr_prf.c:157 _kernel_lock() at _kernel_lock+0xb2 sys/kern/kern_lock.c:63 scsi_iopool_run(ffff8000000a3048) at scsi_iopool_run+0x95 scsi_iopool_get sys/scsi/scsi_base.c:258 [inline] scsi_iopool_run(ffff8000000a3048) at scsi_iopool_run+0x95 sys/scsi/scsi_base.c:422 scsi_xsh_runqueue(ffff80000002c500) at scsi_xsh_runqueue+0x203 sys/scsi/scsi_base.c:598 scsi_xsh_add(ffff80000019f1e0) at scsi_xsh_add+0xc9 sys/scsi/scsi_base.c:536 sdstrategy(fffffd8066a3ec68) at sdstrategy+0x187 sys/scsi/sd.c:567 spec_strategy(ffff80002c9475b8) at spec_strategy+0x75 sys/kern/spec_vnops.c:451 VOP_STRATEGY(fffffd807efb40d8,fffffd8066a3ec68) at VOP_STRATEGY+0x9b sys/kern/vfs_vops.c:628 bwrite(fffffd8066a3ec68) at bwrite+0x1f0 sys/kern/vfs_bio.c:760 ffs_update(fffffd80798e9450,1) at ffs_update+0x27d sys/ufs/ffs/ffs_inode.c:113 ffs_truncate(fffffd80798e9450,0,0,ffffffffffffffff) at ffs_truncate+0xcec ufs_inactive(ffff80002c947948) at ufs_inactive+0x14e sys/ufs/ufs/ufs_inode.c:84 VOP_INACTIVE(fffffd80693ce568,ffff800026412d28) at VOP_INACTIVE+0xc4 sys/kern/vfs_vops.c:489 vput(fffffd80693ce568) at vput+0xac sys/kern/vfs_subr.c:779 vn_close(fffffd80693ce568,2,ffffffffffffffff,ffff800026412d28) at vn_close+0x7e sys/kern/vfs_vnops.c:294 acct_shutdown() at acct_shutdown+0x6b sys/kern/kern_acct.c:359 vfs_shutdown(ffff800026412d28) at vfs_shutdown+0x16 sys/kern/vfs_subr.c:1779 boot(100) at boot+0xc8 sys/arch/amd64/amd64/machdep.c:839 dt_prov_syscall_alloc(100,100,0,0) at dt_prov_syscall_alloc panic(ffffffff825aa846) at panic+0x18b sys/kern/subr_prf.c:231 __assert(ffffffff826225f2,ffffffff82590a82,3f,ffffffff826588d5) at __assert+0x25 sys/kern/subr_prf.c:157 _kernel_lock() at _kernel_lock+0xb2 sys/kern/kern_lock.c:63 kpageflttrap(ffff80002c947cd0,0) at kpageflttrap+0x287 sys/arch/amd64/amd64/trap.c:247 kerntrap(ffff80002c947cd0) at kerntrap+0xef sys/arch/amd64/amd64/trap.c:332 alltraps_kern_meltdown() at alltraps_kern_meltdown+0x7b end trace frame: 0x0, count: 132 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(ffffffff825aa846) at panic+0x16b sys/kern/subr_prf.c:229 __assert(ffffffff826225f2,ffffffff82590a82,3f,ffffffff826588d5) at __assert+0x25 sys/kern/subr_prf.c:157 _kernel_lock() at _kernel_lock+0xb2 sys/kern/kern_lock.c:63 scsi_xs_get(ffff80000002c500,3) at scsi_xs_get+0x12d scsi_iopool_get sys/scsi/scsi_base.c:257 [inline] scsi_xs_get(ffff80000002c500,3) at scsi_xs_get+0x12d sys/scsi/scsi_base.c:653 sdactivate(ffff80000019f000,6) at sdactivate+0x1d6 sd_flush sys/scsi/sd.c:1862 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1d6 sys/scsi/sd.c:271 config_suspend(ffff80000019f000,6) at config_suspend+0x4c sys/kern/subr_autoconf.c:831 scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x6b scsi_activate_link sys/scsi/scsiconf.c:410 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x6b scsi_activate_bus sys/scsi/scsiconf.c:360 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x6b 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+0x75 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+0x30e sys/kern/subr_autoconf.c:855 boot(104) at boot+0x17a sys/arch/amd64/amd64/machdep.c:858 dt_prov_syscall_alloc(104,104,ffffffff82941990,1) at dt_prov_syscall_alloc panic(ffffffff825aa846) at panic+0x18b sys/kern/subr_prf.c:231 __assert(ffffffff826225f2,ffffffff82590a82,3f,ffffffff826588d5) at __assert+0x25 sys/kern/subr_prf.c:157 _kernel_lock() at _kernel_lock+0xb2 sys/kern/kern_lock.c:63 scsi_xs_get(ffff80000002c500,3) at scsi_xs_get+0x12d scsi_iopool_get sys/scsi/scsi_base.c:257 [inline] scsi_xs_get(ffff80000002c500,3) at scsi_xs_get+0x12d sys/scsi/scsi_base.c:653 sdactivate(ffff80000019f000,6) at sdactivate+0x1d6 sd_flush sys/scsi/sd.c:1862 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1d6 sys/scsi/sd.c:271 config_suspend(ffff80000019f000,6) at config_suspend+0x4c sys/kern/subr_autoconf.c:831 scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x6b scsi_activate_link sys/scsi/scsiconf.c:410 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x6b scsi_activate_bus sys/scsi/scsiconf.c:360 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x6b 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+0x75 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+0x30e sys/kern/subr_autoconf.c:855 boot(104) at boot+0x17a sys/arch/amd64/amd64/machdep.c:858 dt_prov_syscall_alloc(104,104,ffffffff82941990,1) at dt_prov_syscall_alloc panic(ffffffff825aa846) at panic+0x18b sys/kern/subr_prf.c:231 __assert(ffffffff826225f2,ffffffff82590a82,3f,ffffffff826588d5) at __assert+0x25 sys/kern/subr_prf.c:157 _kernel_lock() at _kernel_lock+0xb2 sys/kern/kern_lock.c:63 scsi_xs_get(ffff80000002c500,3) at scsi_xs_get+0x12d scsi_iopool_get sys/scsi/scsi_base.c:257 [inline] scsi_xs_get(ffff80000002c500,3) at scsi_xs_get+0x12d sys/scsi/scsi_base.c:653 sdactivate(ffff80000019f000,6) at sdactivate+0x1d6 sd_flush sys/scsi/sd.c:1862 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1d6 sys/scsi/sd.c:271 config_suspend(ffff80000019f000,6) at config_suspend+0x4c sys/kern/subr_autoconf.c:831 scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x6b scsi_activate_link sys/scsi/scsiconf.c:410 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x6b scsi_activate_bus sys/scsi/scsiconf.c:360 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x6b 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+0x75 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+0x30e sys/kern/subr_autoconf.c:855 boot(104) at boot+0x17a sys/arch/amd64/amd64/machdep.c:858 dt_prov_syscall_alloc(104,104,ffffffff82941990,1) at dt_prov_syscall_alloc panic(ffffffff825aa846) at panic+0x18b sys/kern/subr_prf.c:231 __assert(ffffffff826225f2,ffffffff82590a82,3f,ffffffff826588d5) at __assert+0x25 sys/kern/subr_prf.c:157 _kernel_lock() at _kernel_lock+0xb2 sys/kern/kern_lock.c:63 scsi_xs_get(ffff80000002c500,3) at scsi_xs_get+0x12d scsi_iopool_get sys/scsi/scsi_base.c:257 [inline] scsi_xs_get(ffff80000002c500,3) at scsi_xs_get+0x12d sys/scsi/scsi_base.c:653 sdactivate(ffff80000019f000,6) at sdactivate+0x1d6 sd_flush sys/scsi/sd.c:1862 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1d6 sys/scsi/sd.c:271 config_suspend(ffff80000019f000,6) at config_suspend+0x4c sys/kern/subr_autoconf.c:831 scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x6b scsi_activate_link sys/scsi/scsiconf.c:410 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x6b scsi_activate_bus sys/scsi/scsiconf.c:360 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x6b 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+0x75 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+0x30e sys/kern/subr_autoconf.c:855 boot(104) at boot+0x17a sys/arch/amd64/amd64/machdep.c:858 dt_prov_syscall_alloc(104,104,ffffffff82941990,1) at dt_prov_syscall_alloc panic(ffffffff825aa846) at panic+0x18b sys/kern/subr_prf.c:231 __assert(ffffffff826225f2,ffffffff82590a82,3f,ffffffff826588d5) at __assert+0x25 sys/kern/subr_prf.c:157 _kernel_lock() at _kernel_lock+0xb2 sys/kern/kern_lock.c:63 scsi_xs_get(ffff80000002c500,3) at scsi_xs_get+0x12d scsi_iopool_get sys/scsi/scsi_base.c:257 [inline] scsi_xs_get(ffff80000002c500,3) at scsi_xs_get+0x12d sys/scsi/scsi_base.c:653 sdactivate(ffff80000019f000,6) at sdactivate+0x1d6 sd_flush sys/scsi/sd.c:1862 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1d6 sys/scsi/sd.c:271 config_suspend(ffff80000019f000,6) at config_suspend+0x4c sys/kern/subr_autoconf.c:831 scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x6b scsi_activate_link sys/scsi/scsiconf.c:410 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x6b scsi_activate_bus sys/scsi/scsiconf.c:360 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x6b 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+0x75 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+0x30e sys/kern/subr_autoconf.c:855 boot(104) at boot+0x17a sys/arch/amd64/amd64/machdep.c:858 dt_prov_syscall_alloc(104,104,ffffffff82941990,1) at dt_prov_syscall_alloc panic(ffffffff825aa846) at panic+0x18b sys/kern/subr_prf.c:231 __assert(ffffffff826225f2,ffffffff82590a82,3f,ffffffff826588d5) at __assert+0x25 sys/kern/subr_prf.c:157 _kernel_lock() at _kernel_lock+0xb2 sys/kern/kern_lock.c:63 scsi_xs_get(ffff80000002c500,3) at scsi_xs_get+0x12d scsi_iopool_get sys/scsi/scsi_base.c:257 [inline] scsi_xs_get(ffff80000002c500,3) at scsi_xs_get+0x12d sys/scsi/scsi_base.c:653 sdactivate(ffff80000019f000,6) at sdactivate+0x1d6 sd_flush sys/scsi/sd.c:1862 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1d6 sys/scsi/sd.c:271 config_suspend(ffff80000019f000,6) at config_suspend+0x4c sys/kern/subr_autoconf.c:831 scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x6b scsi_activate_link sys/scsi/scsiconf.c:410 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x6b scsi_activate_bus sys/scsi/scsiconf.c:360 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x6b 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+0x75 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+0x30e sys/kern/subr_autoconf.c:855 boot(104) at boot+0x17a sys/arch/amd64/amd64/machdep.c:858 dt_prov_syscall_alloc(104,104,ffffffff82941990,1) at dt_prov_syscall_alloc panic(ffffffff825aa846) at panic+0x18b sys/kern/subr_prf.c:231 __assert(ffffffff826225f2,ffffffff82590a82,3f,ffffffff826588d5) at __assert+0x25 sys/kern/subr_prf.c:157 _kernel_lock() at _kernel_lock+0xb2 sys/kern/kern_lock.c:63 scsi_xs_get(ffff80000002c500,3) at scsi_xs_get+0x12d scsi_iopool_get sys/scsi/scsi_base.c:257 [inline] scsi_xs_get(ffff80000002c500,3) at scsi_xs_get+0x12d sys/scsi/scsi_base.c:653 sdactivate(ffff80000019f000,6) at sdactivate+0x1d6 sd_flush sys/scsi/sd.c:1862 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1d6 sys/scsi/sd.c:271 config_suspend(ffff80000019f000,6) at config_suspend+0x4c sys/kern/subr_autoconf.c:831 scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x6b scsi_activate_link sys/scsi/scsiconf.c:410 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x6b scsi_activate_bus sys/scsi/scsiconf.c:360 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x6b 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+0x75 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+0x30e sys/kern/subr_autoconf.c:855 boot(104) at boot+0x17a sys/arch/amd64/amd64/machdep.c:858 dt_prov_syscall_alloc(104,104,ffffffff82941990,1) at dt_prov_syscall_alloc panic(ffffffff825aa846) at panic+0x18b sys/kern/subr_prf.c:231 __assert(ffffffff826225f2,ffffffff82590a82,3f,ffffffff826588d5) at __assert+0x25 sys/kern/subr_prf.c:157 _kernel_lock() at _kernel_lock+0xb2 sys/kern/kern_lock.c:63 rtfree(fffffd807306cd30) at rtfree+0x6a sys/net/route.c:501 rt_if_track(ffff800000be6000) at rt_if_track+0x13d sys/net/route.c:1716 if_down(ffff800000be6000) at if_down+0x110 if_linkstate sys/net/if.c:1679 [inline] if_down(ffff800000be6000) at if_down+0x110 sys/net/if.c:1625 if_downall() at if_downall+0x7d sys/net/if.c:1606 boot(104) at boot+0x12c sys/arch/amd64/amd64/machdep.c:847 dt_prov_syscall_alloc(104,104,ffffffff82941990,1) at dt_prov_syscall_alloc panic(ffffffff825aa846) at panic+0x18b sys/kern/subr_prf.c:231 __assert(ffffffff826225f2,ffffffff82590a82,3f,ffffffff826588d5) at __assert+0x25 sys/kern/subr_prf.c:157 _kernel_lock() at _kernel_lock+0xb2 sys/kern/kern_lock.c:63 scsi_iopool_run(ffff8000000a3048) at scsi_iopool_run+0x95 scsi_iopool_get sys/scsi/scsi_base.c:258 [inline] scsi_iopool_run(ffff8000000a3048) at scsi_iopool_run+0x95 sys/scsi/scsi_base.c:422 scsi_xsh_runqueue(ffff80000002c500) at scsi_xsh_runqueue+0x203 sys/scsi/scsi_base.c:598 scsi_xsh_add(ffff80000019f1e0) at scsi_xsh_add+0xc9 sys/scsi/scsi_base.c:536 sdstrategy(fffffd8066a3ec68) at sdstrategy+0x187 sys/scsi/sd.c:567 spec_strategy(ffff80002c9475b8) at spec_strategy+0x75 sys/kern/spec_vnops.c:451 VOP_STRATEGY(fffffd807efb40d8,fffffd8066a3ec68) at VOP_STRATEGY+0x9b sys/kern/vfs_vops.c:628 bwrite(fffffd8066a3ec68) at bwrite+0x1f0 sys/kern/vfs_bio.c:760 ffs_update(fffffd80798e9450,1) at ffs_update+0x27d sys/ufs/ffs/ffs_inode.c:113 ffs_truncate(fffffd80798e9450,0,0,ffffffffffffffff) at ffs_truncate+0xcec ufs_inactive(ffff80002c947948) at ufs_inactive+0x14e sys/ufs/ufs/ufs_inode.c:84 VOP_INACTIVE(fffffd80693ce568,ffff800026412d28) at VOP_INACTIVE+0xc4 sys/kern/vfs_vops.c:489 vput(fffffd80693ce568) at vput+0xac sys/kern/vfs_subr.c:779 vn_close(fffffd80693ce568,2,ffffffffffffffff,ffff800026412d28) at vn_close+0x7e sys/kern/vfs_vnops.c:294 acct_shutdown() at acct_shutdown+0x6b sys/kern/kern_acct.c:359 vfs_shutdown(ffff800026412d28) at vfs_shutdown+0x16 sys/kern/vfs_subr.c:1779 boot(100) at boot+0xc8 sys/arch/amd64/amd64/machdep.c:839 dt_prov_syscall_alloc(100,100,0,0) at dt_prov_syscall_alloc panic(ffffffff825aa846) at panic+0x18b sys/kern/subr_prf.c:231 __assert(ffffffff826225f2,ffffffff82590a82,3f,ffffffff826588d5) at __assert+0x25 sys/kern/subr_prf.c:157 _kernel_lock() at _kernel_lock+0xb2 sys/kern/kern_lock.c:63 kpageflttrap(ffff80002c947cd0,0) at kpageflttrap+0x287 sys/arch/amd64/amd64/trap.c:247 kerntrap(ffff80002c947cd0) at kerntrap+0xef sys/arch/amd64/amd64/trap.c:332 alltraps_kern_meltdown() at alltraps_kern_meltdown+0x7b end trace frame: 0x0, count: 117 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(ffffffff825aa846) at panic+0x16b sys/kern/subr_prf.c:229 __assert(ffffffff826225f2,ffffffff82590a82,3f,ffffffff826588d5) at __assert+0x25 sys/kern/subr_prf.c:157 _kernel_lock() at _kernel_lock+0xb2 sys/kern/kern_lock.c:63 scsi_xs_get(ffff80000002c500,3) at scsi_xs_get+0x12d scsi_iopool_get sys/scsi/scsi_base.c:257 [inline] scsi_xs_get(ffff80000002c500,3) at scsi_xs_get+0x12d sys/scsi/scsi_base.c:653 sdactivate(ffff80000019f000,6) at sdactivate+0x1d6 sd_flush sys/scsi/sd.c:1862 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1d6 sys/scsi/sd.c:271 config_suspend(ffff80000019f000,6) at config_suspend+0x4c sys/kern/subr_autoconf.c:831 scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x6b scsi_activate_link sys/scsi/scsiconf.c:410 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x6b scsi_activate_bus sys/scsi/scsiconf.c:360 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x6b 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+0x75 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+0x30e sys/kern/subr_autoconf.c:855 boot(104) at boot+0x17a sys/arch/amd64/amd64/machdep.c:858 dt_prov_syscall_alloc(104,104,ffffffff82941990,1) at dt_prov_syscall_alloc panic(ffffffff825aa846) at panic+0x18b sys/kern/subr_prf.c:231 __assert(ffffffff826225f2,ffffffff82590a82,3f,ffffffff826588d5) at __assert+0x25 sys/kern/subr_prf.c:157 _kernel_lock() at _kernel_lock+0xb2 sys/kern/kern_lock.c:63 scsi_xs_get(ffff80000002c500,3) at scsi_xs_get+0x12d scsi_iopool_get sys/scsi/scsi_base.c:257 [inline] scsi_xs_get(ffff80000002c500,3) at scsi_xs_get+0x12d sys/scsi/scsi_base.c:653 sdactivate(ffff80000019f000,6) at sdactivate+0x1d6 sd_flush sys/scsi/sd.c:1862 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1d6 sys/scsi/sd.c:271 config_suspend(ffff80000019f000,6) at config_suspend+0x4c sys/kern/subr_autoconf.c:831 scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x6b scsi_activate_link sys/scsi/scsiconf.c:410 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x6b scsi_activate_bus sys/scsi/scsiconf.c:360 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x6b 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+0x75 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+0x30e sys/kern/subr_autoconf.c:855 boot(104) at boot+0x17a sys/arch/amd64/amd64/machdep.c:858 dt_prov_syscall_alloc(104,104,ffffffff82941990,1) at dt_prov_syscall_alloc panic(ffffffff825aa846) at panic+0x18b sys/kern/subr_prf.c:231 __assert(ffffffff826225f2,ffffffff82590a82,3f,ffffffff826588d5) at __assert+0x25 sys/kern/subr_prf.c:157 _kernel_lock() at _kernel_lock+0xb2 sys/kern/kern_lock.c:63 scsi_xs_get(ffff80000002c500,3) at scsi_xs_get+0x12d scsi_iopool_get sys/scsi/scsi_base.c:257 [inline] scsi_xs_get(ffff80000002c500,3) at scsi_xs_get+0x12d sys/scsi/scsi_base.c:653 sdactivate(ffff80000019f000,6) at sdactivate+0x1d6 sd_flush sys/scsi/sd.c:1862 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1d6 sys/scsi/sd.c:271 config_suspend(ffff80000019f000,6) at config_suspend+0x4c sys/kern/subr_autoconf.c:831 scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x6b scsi_activate_link sys/scsi/scsiconf.c:410 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x6b scsi_activate_bus sys/scsi/scsiconf.c:360 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x6b 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+0x75 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+0x30e sys/kern/subr_autoconf.c:855 boot(104) at boot+0x17a sys/arch/amd64/amd64/machdep.c:858 dt_prov_syscall_alloc(104,104,ffffffff82941990,1) at dt_prov_syscall_alloc panic(ffffffff825aa846) at panic+0x18b sys/kern/subr_prf.c:231 __assert(ffffffff826225f2,ffffffff82590a82,3f,ffffffff826588d5) at __assert+0x25 sys/kern/subr_prf.c:157 _kernel_lock() at _kernel_lock+0xb2 sys/kern/kern_lock.c:63 scsi_xs_get(ffff80000002c500,3) at scsi_xs_get+0x12d scsi_iopool_get sys/scsi/scsi_base.c:257 [inline] scsi_xs_get(ffff80000002c500,3) at scsi_xs_get+0x12d sys/scsi/scsi_base.c:653 sdactivate(ffff80000019f000,6) at sdactivate+0x1d6 sd_flush sys/scsi/sd.c:1862 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1d6 sys/scsi/sd.c:271 config_suspend(ffff80000019f000,6) at config_suspend+0x4c sys/kern/subr_autoconf.c:831 scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x6b scsi_activate_link sys/scsi/scsiconf.c:410 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x6b scsi_activate_bus sys/scsi/scsiconf.c:360 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x6b 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+0x75 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+0x30e sys/kern/subr_autoconf.c:855 boot(104) at boot+0x17a sys/arch/amd64/amd64/machdep.c:858 dt_prov_syscall_alloc(104,104,ffffffff82941990,1) at dt_prov_syscall_alloc panic(ffffffff825aa846) at panic+0x18b sys/kern/subr_prf.c:231 __assert(ffffffff826225f2,ffffffff82590a82,3f,ffffffff826588d5) at __assert+0x25 sys/kern/subr_prf.c:157 _kernel_lock() at _kernel_lock+0xb2 sys/kern/kern_lock.c:63 scsi_xs_get(ffff80000002c500,3) at scsi_xs_get+0x12d scsi_iopool_get sys/scsi/scsi_base.c:257 [inline] scsi_xs_get(ffff80000002c500,3) at scsi_xs_get+0x12d sys/scsi/scsi_base.c:653 sdactivate(ffff80000019f000,6) at sdactivate+0x1d6 sd_flush sys/scsi/sd.c:1862 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1d6 sys/scsi/sd.c:271 config_suspend(ffff80000019f000,6) at config_suspend+0x4c sys/kern/subr_autoconf.c:831 scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x6b scsi_activate_link sys/scsi/scsiconf.c:410 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x6b scsi_activate_bus sys/scsi/scsiconf.c:360 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x6b 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+0x75 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+0x30e sys/kern/subr_autoconf.c:855 boot(104) at boot+0x17a sys/arch/amd64/amd64/machdep.c:858 dt_prov_syscall_alloc(104,104,ffffffff82941990,1) at dt_prov_syscall_alloc panic(ffffffff825aa846) at panic+0x18b sys/kern/subr_prf.c:231 __assert(ffffffff826225f2,ffffffff82590a82,3f,ffffffff826588d5) at __assert+0x25 sys/kern/subr_prf.c:157 _kernel_lock() at _kernel_lock+0xb2 sys/kern/kern_lock.c:63 scsi_xs_get(ffff80000002c500,3) at scsi_xs_get+0x12d scsi_iopool_get sys/scsi/scsi_base.c:257 [inline] scsi_xs_get(ffff80000002c500,3) at scsi_xs_get+0x12d sys/scsi/scsi_base.c:653 sdactivate(ffff80000019f000,6) at sdactivate+0x1d6 sd_flush sys/scsi/sd.c:1862 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1d6 sys/scsi/sd.c:271 config_suspend(ffff80000019f000,6) at config_suspend+0x4c sys/kern/subr_autoconf.c:831 scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x6b scsi_activate_link sys/scsi/scsiconf.c:410 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x6b scsi_activate_bus sys/scsi/scsiconf.c:360 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x6b 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+0x75 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+0x30e sys/kern/subr_autoconf.c:855 boot(104) at boot+0x17a sys/arch/amd64/amd64/machdep.c:858 dt_prov_syscall_alloc(104,104,ffffffff82941990,1) at dt_prov_syscall_alloc panic(ffffffff825aa846) at panic+0x18b sys/kern/subr_prf.c:231 __assert(ffffffff826225f2,ffffffff82590a82,3f,ffffffff826588d5) at __assert+0x25 sys/kern/subr_prf.c:157 _kernel_lock() at _kernel_lock+0xb2 sys/kern/kern_lock.c:63 scsi_xs_get(ffff80000002c500,3) at scsi_xs_get+0x12d scsi_iopool_get sys/scsi/scsi_base.c:257 [inline] scsi_xs_get(ffff80000002c500,3) at scsi_xs_get+0x12d sys/scsi/scsi_base.c:653 sdactivate(ffff80000019f000,6) at sdactivate+0x1d6 sd_flush sys/scsi/sd.c:1862 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1d6 sys/scsi/sd.c:271 config_suspend(ffff80000019f000,6) at config_suspend+0x4c sys/kern/subr_autoconf.c:831 scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x6b scsi_activate_link sys/scsi/scsiconf.c:410 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x6b scsi_activate_bus sys/scsi/scsiconf.c:360 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x6b 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+0x75 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+0x30e sys/kern/subr_autoconf.c:855 boot(104) at boot+0x17a sys/arch/amd64/amd64/machdep.c:858 dt_prov_syscall_alloc(104,104,ffffffff82941990,1) at dt_prov_syscall_alloc panic(ffffffff825aa846) at panic+0x18b sys/kern/subr_prf.c:231 __assert(ffffffff826225f2,ffffffff82590a82,3f,ffffffff826588d5) at __assert+0x25 sys/kern/subr_prf.c:157 _kernel_lock() at _kernel_lock+0xb2 sys/kern/kern_lock.c:63 scsi_xs_get(ffff80000002c500,3) at scsi_xs_get+0x12d scsi_iopool_get sys/scsi/scsi_base.c:257 [inline] scsi_xs_get(ffff80000002c500,3) at scsi_xs_get+0x12d sys/scsi/scsi_base.c:653 sdactivate(ffff80000019f000,6) at sdactivate+0x1d6 sd_flush sys/scsi/sd.c:1862 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1d6 sys/scsi/sd.c:271 config_suspend(ffff80000019f000,6) at config_suspend+0x4c sys/kern/subr_autoconf.c:831 scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x6b scsi_activate_link sys/scsi/scsiconf.c:410 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x6b scsi_activate_bus sys/scsi/scsiconf.c:360 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x6b 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+0x75 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+0x30e sys/kern/subr_autoconf.c:855 boot(104) at boot+0x17a sys/arch/amd64/amd64/machdep.c:858 dt_prov_syscall_alloc(104,104,ffffffff82941990,1) at dt_prov_syscall_alloc panic(ffffffff825aa846) at panic+0x18b sys/kern/subr_prf.c:231 __assert(ffffffff826225f2,ffffffff82590a82,3f,ffffffff826588d5) at __assert+0x25 sys/kern/subr_prf.c:157 _kernel_lock() at _kernel_lock+0xb2 sys/kern/kern_lock.c:63 rtfree(fffffd807306cd30) at rtfree+0x6a sys/net/route.c:501 rt_if_track(ffff800000be6000) at rt_if_track+0x13d sys/net/route.c:1716 if_down(ffff800000be6000) at if_down+0x110 if_linkstate sys/net/if.c:1679 [inline] if_down(ffff800000be6000) at if_down+0x110 sys/net/if.c:1625 if_downall() at if_downall+0x7d sys/net/if.c:1606 boot(104) at boot+0x12c sys/arch/amd64/amd64/machdep.c:847 dt_prov_syscall_alloc(104,104,ffffffff82941990,1) at dt_prov_syscall_alloc panic(ffffffff825aa846) at panic+0x18b sys/kern/subr_prf.c:231 __assert(ffffffff826225f2,ffffffff82590a82,3f,ffffffff826588d5) at __assert+0x25 sys/kern/subr_prf.c:157 _kernel_lock() at _kernel_lock+0xb2 sys/kern/kern_lock.c:63 scsi_iopool_run(ffff8000000a3048) at scsi_iopool_run+0x95 scsi_iopool_get sys/scsi/scsi_base.c:258 [inline] scsi_iopool_run(ffff8000000a3048) at scsi_iopool_run+0x95 sys/scsi/scsi_base.c:422 scsi_xsh_runqueue(ffff80000002c500) at scsi_xsh_runqueue+0x203 sys/scsi/scsi_base.c:598 scsi_xsh_add(ffff80000019f1e0) at scsi_xsh_add+0xc9 sys/scsi/scsi_base.c:536 sdstrategy(fffffd8066a3ec68) at sdstrategy+0x187 sys/scsi/sd.c:567 spec_strategy(ffff80002c9475b8) at spec_strategy+0x75 sys/kern/spec_vnops.c:451 VOP_STRATEGY(fffffd807efb40d8,fffffd8066a3ec68) at VOP_STRATEGY+0x9b sys/kern/vfs_vops.c:628 bwrite(fffffd8066a3ec68) at bwrite+0x1f0 sys/kern/vfs_bio.c:760 ffs_update(fffffd80798e9450,1) at ffs_update+0x27d sys/ufs/ffs/ffs_inode.c:113 ffs_truncate(fffffd80798e9450,0,0,ffffffffffffffff) at ffs_truncate+0xcec ufs_inactive(ffff80002c947948) at ufs_inactive+0x14e sys/ufs/ufs/ufs_inode.c:84 VOP_INACTIVE(fffffd80693ce568,ffff800026412d28) at VOP_INACTIVE+0xc4 sys/kern/vfs_vops.c:489 vput(fffffd80693ce568) at vput+0xac sys/kern/vfs_subr.c:779 vn_close(fffffd80693ce568,2,ffffffffffffffff,ffff800026412d28) at vn_close+0x7e sys/kern/vfs_vnops.c:294 acct_shutdown() at acct_shutdown+0x6b sys/kern/kern_acct.c:359 vfs_shutdown(ffff800026412d28) at vfs_shutdown+0x16 sys/kern/vfs_subr.c:1779 boot(100) at boot+0xc8 sys/arch/amd64/amd64/machdep.c:839 dt_prov_syscall_alloc(100,100,0,0) at dt_prov_syscall_alloc panic(ffffffff825aa846) at panic+0x18b sys/kern/subr_prf.c:231 __assert(ffffffff826225f2,ffffffff82590a82,3f,ffffffff826588d5) at __assert+0x25 sys/kern/subr_prf.c:157 _kernel_lock() at _kernel_lock+0xb2 sys/kern/kern_lock.c:63 kpageflttrap(ffff80002c947cd0,0) at kpageflttrap+0x287 sys/arch/amd64/amd64/trap.c:247 kerntrap(ffff80002c947cd0) at kerntrap+0xef sys/arch/amd64/amd64/trap.c:332 alltraps_kern_meltdown() at alltraps_kern_meltdown+0x7b end trace frame: 0x0, count: 102 End of stack trace. fatal double fault in supervisor mode trap type 13 code 0 rip ffffffff8164f77a cs 8 rflags 10286 cr2 ffff80002c943fb8 cpl d rsp ffff80002c943fc0 gsbase 0xffffffff82940ff0 kgsbase 0x0 panic: trap type 13, code=0, pc=ffffffff8164f77a Starting stack trace... panic(ffffffff825a0637) at panic+0x16b sys/kern/subr_prf.c:229 kerntrap(ffffffff82940730) at kerntrap+0x1c7 sys/arch/amd64/amd64/trap.c:327 Xcalltrap_specstk_untramp() at Xcalltrap_specstk_untramp+0xf Bad frame pointer: 0xffff80002c9440c0 end trace frame: 0xffff80002c9440c0, 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(ffffffff825aa846) at panic+0x16b sys/kern/subr_prf.c:229 __assert(ffffffff826225f2,ffffffff82590a82,3f,ffffffff826588d5) at __assert+0x25 sys/kern/subr_prf.c:157 _kernel_lock() at _kernel_lock+0xb2 sys/kern/kern_lock.c:63 scsi_xs_get(ffff80000002c500,3) at scsi_xs_get+0x12d scsi_iopool_get sys/scsi/scsi_base.c:257 [inline] scsi_xs_get(ffff80000002c500,3) at scsi_xs_get+0x12d sys/scsi/scsi_base.c:653 sdactivate(ffff80000019f000,6) at sdactivate+0x1d6 sd_flush sys/scsi/sd.c:1862 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1d6 sys/scsi/sd.c:271 config_suspend(ffff80000019f000,6) at config_suspend+0x4c sys/kern/subr_autoconf.c:831 scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x6b scsi_activate_link sys/scsi/scsiconf.c:410 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x6b scsi_activate_bus sys/scsi/scsiconf.c:360 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x6b 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+0x75 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+0x30e sys/kern/subr_autoconf.c:855 boot(104) at boot+0x17a sys/arch/amd64/amd64/machdep.c:858 dt_prov_syscall_alloc(104,104,ffffffff82941990,1) at dt_prov_syscall_alloc panic(ffffffff825a0637) at panic+0x18b sys/kern/subr_prf.c:231 kerntrap(ffffffff82940730) at kerntrap+0x1c7 sys/arch/amd64/amd64/trap.c:327 Xcalltrap_specstk_untramp() at Xcalltrap_specstk_untramp+0xf Bad frame pointer: 0xffff80002c9440c0 end trace frame: 0xffff80002c9440c0, 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(ffffffff825aa846) at panic+0x16b sys/kern/subr_prf.c:229 __assert(ffffffff826225f2,ffffffff82590a82,3f,ffffffff826588d5) at __assert+0x25 sys/kern/subr_prf.c:157 _kernel_lock() at _kernel_lock+0xb2 sys/kern/kern_lock.c:63 scsi_xs_get(ffff80000002c500,3) at scsi_xs_get+0x12d scsi_iopool_get sys/scsi/scsi_base.c:257 [inline] scsi_xs_get(ffff80000002c500,3) at scsi_xs_get+0x12d sys/scsi/scsi_base.c:653 sdactivate(ffff80000019f000,6) at sdactivate+0x1d6 sd_flush sys/scsi/sd.c:1862 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1d6 sys/scsi/sd.c:271 config_suspend(ffff80000019f000,6) at config_suspend+0x4c sys/kern/subr_autoconf.c:831 scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x6b scsi_activate_link sys/scsi/scsiconf.c:410 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x6b scsi_activate_bus sys/scsi/scsiconf.c:360 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x6b 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+0x75 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+0x30e sys/kern/subr_autoconf.c:855 boot(104) at boot+0x17a sys/arch/amd64/amd64/machdep.c:858 dt_prov_syscall_alloc(104,104,ffffffff82941990,1) at dt_prov_syscall_alloc panic(ffffffff825aa846) at panic+0x18b sys/kern/subr_prf.c:231 __assert(ffffffff826225f2,ffffffff82590a82,3f,ffffffff826588d5) at __assert+0x25 sys/kern/subr_prf.c:157 _kernel_lock() at _kernel_lock+0xb2 sys/kern/kern_lock.c:63 scsi_xs_get(ffff80000002c500,3) at scsi_xs_get+0x12d scsi_iopool_get sys/scsi/scsi_base.c:257 [inline] scsi_xs_get(ffff80000002c500,3) at scsi_xs_get+0x12d sys/scsi/scsi_base.c:653 sdactivate(ffff80000019f000,6) at sdactivate+0x1d6 sd_flush sys/scsi/sd.c:1862 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1d6 sys/scsi/sd.c:271 config_suspend(ffff80000019f000,6) at config_suspend+0x4c sys/kern/subr_autoconf.c:831 scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x6b scsi_activate_link sys/scsi/scsiconf.c:410 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x6b scsi_activate_bus sys/scsi/scsiconf.c:360 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x6b 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+0x75 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+0x30e sys/kern/subr_autoconf.c:855 boot(104) at boot+0x17a sys/arch/amd64/amd64/machdep.c:858 dt_prov_syscall_alloc(104,104,ffffffff82941990,1) at dt_prov_syscall_alloc panic(ffffffff825a0637) at panic+0x18b sys/kern/subr_prf.c:231 kerntrap(ffffffff82940730) at kerntrap+0x1c7 sys/arch/amd64/amd64/trap.c:327 Xcalltrap_specstk_untramp() at Xcalltrap_specstk_untramp+0xf Bad frame pointer: 0xffff80002c9440c0 end trace frame: 0xffff80002c9440c0, 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(ffffffff825aa846) at panic+0x16b sys/kern/subr_prf.c:229 __assert(ffffffff826225f2,ffffffff82590a82,3f,ffffffff826588d5) at __assert+0x25 sys/kern/subr_prf.c:157 _kernel_lock() at _kernel_lock+0xb2 sys/kern/kern_lock.c:63 scsi_xs_get(ffff80000002c500,3) at scsi_xs_get+0x12d scsi_iopool_get sys/scsi/scsi_base.c:257 [inline] scsi_xs_get(ffff80000002c500,3) at scsi_xs_get+0x12d sys/scsi/scsi_base.c:653 sdactivate(ffff80000019f000,6) at sdactivate+0x1d6 sd_flush sys/scsi/sd.c:1862 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1d6 sys/scsi/sd.c:271 config_suspend(ffff80000019f000,6) at config_suspend+0x4c sys/kern/subr_autoconf.c:831 scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x6b scsi_activate_link sys/scsi/scsiconf.c:410 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x6b scsi_activate_bus sys/scsi/scsiconf.c:360 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x6b 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+0x75 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+0x30e sys/kern/subr_autoconf.c:855 boot(104) at boot+0x17a sys/arch/amd64/amd64/machdep.c:858 dt_prov_syscall_alloc(104,104,ffffffff82941990,1) at dt_prov_syscall_alloc panic(ffffffff825aa846) at panic+0x18b sys/kern/subr_prf.c:231 __assert(ffffffff826225f2,ffffffff82590a82,3f,ffffffff826588d5) at __assert+0x25 sys/kern/subr_prf.c:157 _kernel_lock() at _kernel_lock+0xb2 sys/kern/kern_lock.c:63 scsi_xs_get(ffff80000002c500,3) at scsi_xs_get+0x12d scsi_iopool_get sys/scsi/scsi_base.c:257 [inline] scsi_xs_get(ffff80000002c500,3) at scsi_xs_get+0x12d sys/scsi/scsi_base.c:653 sdactivate(ffff80000019f000,6) at sdactivate+0x1d6 sd_flush sys/scsi/sd.c:1862 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1d6 sys/scsi/sd.c:271 config_suspend(ffff80000019f000,6) at config_suspend+0x4c sys/kern/subr_autoconf.c:831 scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x6b scsi_activate_link sys/scsi/scsiconf.c:410 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x6b scsi_activate_bus sys/scsi/scsiconf.c:360 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x6b 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+0x75 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+0x30e sys/kern/subr_autoconf.c:855 boot(104) at boot+0x17a sys/arch/amd64/amd64/machdep.c:858 dt_prov_syscall_alloc(104,104,ffffffff82941990,1) at dt_prov_syscall_alloc panic(ffffffff825aa846) at panic+0x18b sys/kern/subr_prf.c:231 __assert(ffffffff826225f2,ffffffff82590a82,3f,ffffffff826588d5) at __assert+0x25 sys/kern/subr_prf.c:157 _kernel_lock() at _kernel_lock+0xb2 sys/kern/kern_lock.c:63 scsi_xs_get(ffff80000002c500,3) at scsi_xs_get+0x12d scsi_iopool_get sys/scsi/scsi_base.c:257 [inline] scsi_xs_get(ffff80000002c500,3) at scsi_xs_get+0x12d sys/scsi/scsi_base.c:653 sdactivate(ffff80000019f000,6) at sdactivate+0x1d6 sd_flush sys/scsi/sd.c:1862 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1d6 sys/scsi/sd.c:271 config_suspend(ffff80000019f000,6) at config_suspend+0x4c sys/kern/subr_autoconf.c:831 scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x6b scsi_activate_link sys/scsi/scsiconf.c:410 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x6b scsi_activate_bus sys/scsi/scsiconf.c:360 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x6b 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+0x75 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+0x30e sys/kern/subr_autoconf.c:855 boot(104) at boot+0x17a sys/arch/amd64/amd64/machdep.c:858 dt_prov_syscall_alloc(104,104,ffffffff82941990,1) at dt_prov_syscall_alloc panic(ffffffff825a0637) at panic+0x18b sys/kern/subr_prf.c:231 kerntrap(ffffffff82940730) at kerntrap+0x1c7 sys/arch/amd64/amd64/trap.c:327 Xcalltrap_specstk_untramp() at Xcalltrap_specstk_untramp+0xf Bad frame pointer: 0xffff80002c9440c0 end trace frame: 0xffff80002c9440c0, 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(ffffffff825aa846) at panic+0x16b sys/kern/subr_prf.c:229 __assert(ffffffff826225f2,ffffffff82590a82,3f,ffffffff826588d5) at __assert+0x25 sys/kern/subr_prf.c:157 _kernel_lock() at _kernel_lock+0xb2 sys/kern/kern_lock.c:63 scsi_xs_get(ffff80000002c500,3) at scsi_xs_get+0x12d scsi_iopool_get sys/scsi/scsi_base.c:257 [inline] scsi_xs_get(ffff80000002c500,3) at scsi_xs_get+0x12d sys/scsi/scsi_base.c:653 sdactivate(ffff80000019f000,6) at sdactivate+0x1d6 sd_flush sys/scsi/sd.c:1862 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1d6 sys/scsi/sd.c:271 config_suspend(ffff80000019f000,6) at config_suspend+0x4c sys/kern/subr_autoconf.c:831 scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x6b scsi_activate_link sys/scsi/scsiconf.c:410 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x6b scsi_activate_bus sys/scsi/scsiconf.c:360 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x6b 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+0x75 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+0x30e sys/kern/subr_autoconf.c:855 boot(104) at boot+0x17a sys/arch/amd64/amd64/machdep.c:858 dt_prov_syscall_alloc(104,104,ffffffff82941990,1) at dt_prov_syscall_alloc panic(ffffffff825aa846) at panic+0x18b sys/kern/subr_prf.c:231 __assert(ffffffff826225f2,ffffffff82590a82,3f,ffffffff826588d5) at __assert+0x25 sys/kern/subr_prf.c:157 _kernel_lock() at _kernel_lock+0xb2 sys/kern/kern_lock.c:63 scsi_xs_get(ffff80000002c500,3) at scsi_xs_get+0x12d scsi_iopool_get sys/scsi/scsi_base.c:257 [inline] scsi_xs_get(ffff80000002c500,3) at scsi_xs_get+0x12d sys/scsi/scsi_base.c:653 sdactivate(ffff80000019f000,6) at sdactivate+0x1d6 sd_flush sys/scsi/sd.c:1862 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1d6 sys/scsi/sd.c:271 config_suspend(ffff80000019f000,6) at config_suspend+0x4c sys/kern/subr_autoconf.c:831 scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x6b scsi_activate_link sys/scsi/scsiconf.c:410 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x6b scsi_activate_bus sys/scsi/scsiconf.c:360 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x6b 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+0x75 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+0x30e sys/kern/subr_autoconf.c:855 boot(104) at boot+0x17a sys/arch/amd64/amd64/machdep.c:858 dt_prov_syscall_alloc(104,104,ffffffff82941990,1) at dt_prov_syscall_alloc panic(ffffffff825aa846) at panic+0x18b sys/kern/subr_prf.c:231 __assert(ffffffff826225f2,ffffffff82590a82,3f,ffffffff826588d5) at __assert+0x25 sys/kern/subr_prf.c:157 _kernel_lock() at _kernel_lock+0xb2 sys/kern/kern_lock.c:63 scsi_xs_get(ffff80000002c500,3) at scsi_xs_get+0x12d scsi_iopool_get sys/scsi/scsi_base.c:257 [inline] scsi_xs_get(ffff80000002c500,3) at scsi_xs_get+0x12d sys/scsi/scsi_base.c:653 sdactivate(ffff80000019f000,6) at sdactivate+0x1d6 sd_flush sys/scsi/sd.c:1862 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1d6 sys/scsi/sd.c:271 config_suspend(ffff80000019f000,6) at config_suspend+0x4c sys/kern/subr_autoconf.c:831 scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x6b scsi_activate_link sys/scsi/scsiconf.c:410 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x6b scsi_activate_bus sys/scsi/scsiconf.c:360 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x6b 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+0x75 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+0x30e sys/kern/subr_autoconf.c:855 boot(104) at boot+0x17a sys/arch/amd64/amd64/machdep.c:858 dt_prov_syscall_alloc(104,104,ffffffff82941990,1) at dt_prov_syscall_alloc panic(ffffffff825aa846) at panic+0x18b sys/kern/subr_prf.c:231 __assert(ffffffff826225f2,ffffffff82590a82,3f,ffffffff826588d5) at __assert+0x25 sys/kern/subr_prf.c:157 _kernel_lock() at _kernel_lock+0xb2 sys/kern/kern_lock.c:63 scsi_xs_get(ffff80000002c500,3) at scsi_xs_get+0x12d scsi_iopool_get sys/scsi/scsi_base.c:257 [inline] scsi_xs_get(ffff80000002c500,3) at scsi_xs_get+0x12d sys/scsi/scsi_base.c:653 sdactivate(ffff80000019f000,6) at sdactivate+0x1d6 sd_flush sys/scsi/sd.c:1862 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1d6 sys/scsi/sd.c:271 config_suspend(ffff80000019f000,6) at config_suspend+0x4c sys/kern/subr_autoconf.c:831 scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x6b scsi_activate_link sys/scsi/scsiconf.c:410 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x6b scsi_activate_bus sys/scsi/scsiconf.c:360 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x6b 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+0x75 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+0x30e sys/kern/subr_autoconf.c:855 boot(104) at boot+0x17a sys/arch/amd64/amd64/machdep.c:858 dt_prov_syscall_alloc(104,104,ffffffff82941990,1) at dt_prov_syscall_alloc panic(ffffffff825a0637) at panic+0x18b sys/kern/subr_prf.c:231 kerntrap(ffffffff82940730) at kerntrap+0x1c7 sys/arch/amd64/amd64/trap.c:327 Xcalltrap_specstk_untramp() at Xcalltrap_specstk_untramp+0xf Bad frame pointer: 0xffff80002c9440c0 end trace frame: 0xffff80002c9440c0, 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(ffffffff825aa846) at panic+0x16b sys/kern/subr_prf.c:229 __assert(ffffffff826225f2,ffffffff82590a82,3f,ffffffff826588d5) at __assert+0x25 sys/kern/subr_prf.c:157 _kernel_lock() at _kernel_lock+0xb2 sys/kern/kern_lock.c:63 scsi_xs_get(ffff80000002c500,3) at scsi_xs_get+0x12d scsi_iopool_get sys/scsi/scsi_base.c:257 [inline] scsi_xs_get(ffff80000002c500,3) at scsi_xs_get+0x12d sys/scsi/scsi_base.c:653 sdactivate(ffff80000019f000,6) at sdactivate+0x1d6 sd_flush sys/scsi/sd.c:1862 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1d6 sys/scsi/sd.c:271 config_suspend(ffff80000019f000,6) at config_suspend+0x4c sys/kern/subr_autoconf.c:831 scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x6b scsi_activate_link sys/scsi/scsiconf.c:410 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x6b scsi_activate_bus sys/scsi/scsiconf.c:360 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x6b 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+0x75 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+0x30e sys/kern/subr_autoconf.c:855 boot(104) at boot+0x17a sys/arch/amd64/amd64/machdep.c:858 dt_prov_syscall_alloc(104,104,ffffffff82941990,1) at dt_prov_syscall_alloc panic(ffffffff825aa846) at panic+0x18b sys/kern/subr_prf.c:231 __assert(ffffffff826225f2,ffffffff82590a82,3f,ffffffff826588d5) at __assert+0x25 sys/kern/subr_prf.c:157 _kernel_lock() at _kernel_lock+0xb2 sys/kern/kern_lock.c:63 scsi_xs_get(ffff80000002c500,3) at scsi_xs_get+0x12d scsi_iopool_get sys/scsi/scsi_base.c:257 [inline] scsi_xs_get(ffff80000002c500,3) at scsi_xs_get+0x12d sys/scsi/scsi_base.c:653 sdactivate(ffff80000019f000,6) at sdactivate+0x1d6 sd_flush sys/scsi/sd.c:1862 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1d6 sys/scsi/sd.c:271 config_suspend(ffff80000019f000,6) at config_suspend+0x4c sys/kern/subr_autoconf.c:831 scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x6b scsi_activate_link sys/scsi/scsiconf.c:410 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x6b scsi_activate_bus sys/scsi/scsiconf.c:360 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x6b 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+0x75 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+0x30e sys/kern/subr_autoconf.c:855 boot(104) at boot+0x17a sys/arch/amd64/amd64/machdep.c:858 dt_prov_syscall_alloc(104,104,ffffffff82941990,1) at dt_prov_syscall_alloc panic(ffffffff825aa846) at panic+0x18b sys/kern/subr_prf.c:231 __assert(ffffffff826225f2,ffffffff82590a82,3f,ffffffff826588d5) at __assert+0x25 sys/kern/subr_prf.c:157 _kernel_lock() at _kernel_lock+0xb2 sys/kern/kern_lock.c:63 scsi_xs_get(ffff80000002c500,3) at scsi_xs_get+0x12d scsi_iopool_get sys/scsi/scsi_base.c:257 [inline] scsi_xs_get(ffff80000002c500,3) at scsi_xs_get+0x12d sys/scsi/scsi_base.c:653 sdactivate(ffff80000019f000,6) at sdactivate+0x1d6 sd_flush sys/scsi/sd.c:1862 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1d6 sys/scsi/sd.c:271 config_suspend(ffff80000019f000,6) at config_suspend+0x4c sys/kern/subr_autoconf.c:831 scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x6b scsi_activate_link sys/scsi/scsiconf.c:410 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x6b scsi_activate_bus sys/scsi/scsiconf.c:360 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x6b 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+0x75 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+0x30e sys/kern/subr_autoconf.c:855 boot(104) at boot+0x17a sys/arch/amd64/amd64/machdep.c:858 dt_prov_syscall_alloc(104,104,ffffffff82941990,1) at dt_prov_syscall_alloc panic(ffffffff825aa846) at panic+0x18b sys/kern/subr_prf.c:231 __assert(ffffffff826225f2,ffffffff82590a82,3f,ffffffff826588d5) at __assert+0x25 sys/kern/subr_prf.c:157 _kernel_lock() at _kernel_lock+0xb2 sys/kern/kern_lock.c:63 scsi_xs_get(ffff80000002c500,3) at scsi_xs_get+0x12d scsi_iopool_get sys/scsi/scsi_base.c:257 [inline] scsi_xs_get(ffff80000002c500,3) at scsi_xs_get+0x12d sys/scsi/scsi_base.c:653 sdactivate(ffff80000019f000,6) at sdactivate+0x1d6 sd_flush sys/scsi/sd.c:1862 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1d6 sys/scsi/sd.c:271 config_suspend(ffff80000019f000,6) at config_suspend+0x4c sys/kern/subr_autoconf.c:831 scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x6b scsi_activate_link sys/scsi/scsiconf.c:410 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x6b scsi_activate_bus sys/scsi/scsiconf.c:360 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x6b 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+0x75 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+0x30e sys/kern/subr_autoconf.c:855 boot(104) at boot+0x17a sys/arch/amd64/amd64/machdep.c:858 dt_prov_syscall_alloc(104,104,ffffffff82941990,1) at dt_prov_syscall_alloc panic(ffffffff825aa846) at panic+0x18b sys/kern/subr_prf.c:231 __assert(ffffffff826225f2,ffffffff82590a82,3f,ffffffff826588d5) at __assert+0x25 sys/kern/subr_prf.c:157 _kernel_lock() at _kernel_lock+0xb2 sys/kern/kern_lock.c:63 scsi_xs_get(ffff80000002c500,3) at scsi_xs_get+0x12d scsi_iopool_get sys/scsi/scsi_base.c:257 [inline] scsi_xs_get(ffff80000002c500,3) at scsi_xs_get+0x12d sys/scsi/scsi_base.c:653 sdactivate(ffff80000019f000,6) at sdactivate+0x1d6 sd_flush sys/scsi/sd.c:1862 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1d6 sys/scsi/sd.c:271 config_suspend(ffff80000019f000,6) at config_suspend+0x4c sys/kern/subr_autoconf.c:831 scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x6b scsi_activate_link sys/scsi/scsiconf.c:410 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x6b scsi_activate_bus sys/scsi/scsiconf.c:360 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x6b 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+0x75 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+0x30e sys/kern/subr_autoconf.c:855 boot(104) at boot+0x17a sys/arch/amd64/amd64/machdep.c:858 dt_prov_syscall_alloc(104,104,ffffffff82941990,1) at dt_prov_syscall_alloc panic(ffffffff825a0637) at panic+0x18b sys/kern/subr_prf.c:231 kerntrap(ffffffff82940730) at kerntrap+0x1c7 sys/arch/amd64/amd64/trap.c:327 Xcalltrap_specstk_untramp() at Xcalltrap_specstk_untramp+0xf Bad frame pointer: 0xffff80002c9440c0 end trace frame: 0xffff80002c9440c0, 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(ffffffff825aa846) at panic+0x16b sys/kern/subr_prf.c:229 __assert(ffffffff826225f2,ffffffff82590a82,3f,ffffffff826588d5) at __assert+0x25 sys/kern/subr_prf.c:157 _kernel_lock() at _kernel_lock+0xb2 sys/kern/kern_lock.c:63 scsi_xs_get(ffff80000002c500,3) at scsi_xs_get+0x12d scsi_iopool_get sys/scsi/scsi_base.c:257 [inline] scsi_xs_get(ffff80000002c500,3) at scsi_xs_get+0x12d sys/scsi/scsi_base.c:653 sdactivate(ffff80000019f000,6) at sdactivate+0x1d6 sd_flush sys/scsi/sd.c:1862 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1d6 sys/scsi/sd.c:271 config_suspend(ffff80000019f000,6) at config_suspend+0x4c sys/kern/subr_autoconf.c:831 scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x6b scsi_activate_link sys/scsi/scsiconf.c:410 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x6b scsi_activate_bus sys/scsi/scsiconf.c:360 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x6b 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+0x75 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+0x30e sys/kern/subr_autoconf.c:855 boot(104) at boot+0x17a sys/arch/amd64/amd64/machdep.c:858 dt_prov_syscall_alloc(104,104,ffffffff82941990,1) at dt_prov_syscall_alloc panic(ffffffff825aa846) at panic+0x18b sys/kern/subr_prf.c:231 __assert(ffffffff826225f2,ffffffff82590a82,3f,ffffffff826588d5) at __assert+0x25 sys/kern/subr_prf.c:157 _kernel_lock() at _kernel_lock+0xb2 sys/kern/kern_lock.c:63 scsi_xs_get(ffff80000002c500,3) at scsi_xs_get+0x12d scsi_iopool_get sys/scsi/scsi_base.c:257 [inline] scsi_xs_get(ffff80000002c500,3) at scsi_xs_get+0x12d sys/scsi/scsi_base.c:653 sdactivate(ffff80000019f000,6) at sdactivate+0x1d6 sd_flush sys/scsi/sd.c:1862 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1d6 sys/scsi/sd.c:271 config_suspend(ffff80000019f000,6) at config_suspend+0x4c sys/kern/subr_autoconf.c:831 scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x6b scsi_activate_link sys/scsi/scsiconf.c:410 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x6b scsi_activate_bus sys/scsi/scsiconf.c:360 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x6b 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+0x75 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+0x30e sys/kern/subr_autoconf.c:855 boot(104) at boot+0x17a sys/arch/amd64/amd64/machdep.c:858 dt_prov_syscall_alloc(104,104,ffffffff82941990,1) at dt_prov_syscall_alloc panic(ffffffff825aa846) at panic+0x18b sys/kern/subr_prf.c:231 __assert(ffffffff826225f2,ffffffff82590a82,3f,ffffffff826588d5) at __assert+0x25 sys/kern/subr_prf.c:157 _kernel_lock() at _kernel_lock+0xb2 sys/kern/kern_lock.c:63 scsi_xs_get(ffff80000002c500,3) at scsi_xs_get+0x12d scsi_iopool_get sys/scsi/scsi_base.c:257 [inline] scsi_xs_get(ffff80000002c500,3) at scsi_xs_get+0x12d sys/scsi/scsi_base.c:653 sdactivate(ffff80000019f000,6) at sdactivate+0x1d6 sd_flush sys/scsi/sd.c:1862 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1d6 sys/scsi/sd.c:271 config_suspend(ffff80000019f000,6) at config_suspend+0x4c sys/kern/subr_autoconf.c:831 scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x6b scsi_activate_link sys/scsi/scsiconf.c:410 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x6b scsi_activate_bus sys/scsi/scsiconf.c:360 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x6b 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+0x75 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+0x30e sys/kern/subr_autoconf.c:855 boot(104) at boot+0x17a sys/arch/amd64/amd64/machdep.c:858 dt_prov_syscall_alloc(104,104,ffffffff82941990,1) at dt_prov_syscall_alloc panic(ffffffff825aa846) at panic+0x18b sys/kern/subr_prf.c:231 __assert(ffffffff826225f2,ffffffff82590a82,3f,ffffffff826588d5) at __assert+0x25 sys/kern/subr_prf.c:157 _kernel_lock() at _kernel_lock+0xb2 sys/kern/kern_lock.c:63 scsi_xs_get(ffff80000002c500,3) at scsi_xs_get+0x12d scsi_iopool_get sys/scsi/scsi_base.c:257 [inline] scsi_xs_get(ffff80000002c500,3) at scsi_xs_get+0x12d sys/scsi/scsi_base.c:653 sdactivate(ffff80000019f000,6) at sdactivate+0x1d6 sd_flush sys/scsi/sd.c:1862 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1d6 sys/scsi/sd.c:271 config_suspend(ffff80000019f000,6) at config_suspend+0x4c sys/kern/subr_autoconf.c:831 scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x6b scsi_activate_link sys/scsi/scsiconf.c:410 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x6b scsi_activate_bus sys/scsi/scsiconf.c:360 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x6b 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+0x75 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+0x30e sys/kern/subr_autoconf.c:855 boot(104) at boot+0x17a sys/arch/amd64/amd64/machdep.c:858 dt_prov_syscall_alloc(104,104,ffffffff82941990,1) at dt_prov_syscall_alloc panic(ffffffff825aa846) at panic+0x18b sys/kern/subr_prf.c:231 __assert(ffffffff826225f2,ffffffff82590a82,3f,ffffffff826588d5) at __assert+0x25 sys/kern/subr_prf.c:157 _kernel_lock() at _kernel_lock+0xb2 sys/kern/kern_lock.c:63 scsi_xs_get(ffff80000002c500,3) at scsi_xs_get+0x12d scsi_iopool_get sys/scsi/scsi_base.c:257 [inline] scsi_xs_get(ffff80000002c500,3) at scsi_xs_get+0x12d sys/scsi/scsi_base.c:653 sdactivate(ffff80000019f000,6) at sdactivate+0x1d6 sd_flush sys/scsi/sd.c:1862 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1d6 sys/scsi/sd.c:271 config_suspend(ffff80000019f000,6) at config_suspend+0x4c sys/kern/subr_autoconf.c:831 scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x6b scsi_activate_link sys/scsi/scsiconf.c:410 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x6b scsi_activate_bus sys/scsi/scsiconf.c:360 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x6b 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+0x75 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+0x30e sys/kern/subr_autoconf.c:855 boot(104) at boot+0x17a sys/arch/amd64/amd64/machdep.c:858 dt_prov_syscall_alloc(104,104,ffffffff82941990,1) at dt_prov_syscall_alloc panic(ffffffff825aa846) at panic+0x18b sys/kern/subr_prf.c:231 __assert(ffffffff826225f2,ffffffff82590a82,3f,ffffffff826588d5) at __assert+0x25 sys/kern/subr_prf.c:157 _kernel_lock() at _kernel_lock+0xb2 sys/kern/kern_lock.c:63 scsi_xs_get(ffff80000002c500,3) at scsi_xs_get+0x12d scsi_iopool_get sys/scsi/scsi_base.c:257 [inline] scsi_xs_get(ffff80000002c500,3) at scsi_xs_get+0x12d sys/scsi/scsi_base.c:653 sdactivate(ffff80000019f000,6) at sdactivate+0x1d6 sd_flush sys/scsi/sd.c:1862 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1d6 sys/scsi/sd.c:271 config_suspend(ffff80000019f000,6) at config_suspend+0x4c sys/kern/subr_autoconf.c:831 scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x6b scsi_activate_link sys/scsi/scsiconf.c:410 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x6b scsi_activate_bus sys/scsi/scsiconf.c:360 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x6b 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+0x75 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+0x30e sys/kern/subr_autoconf.c:855 boot(104) at boot+0x17a sys/arch/amd64/amd64/machdep.c:858 dt_prov_syscall_alloc(104,104,ffffffff82941990,1) at dt_prov_syscall_alloc panic(ffffffff825a0637) at panic+0x18b sys/kern/subr_prf.c:231 kerntrap(ffffffff82940730) at kerntrap+0x1c7 sys/arch/amd64/amd64/trap.c:327 Xcalltrap_specstk_untramp() at Xcalltrap_specstk_untramp+0xf Bad frame pointer: 0xffff80002c9440c0 end trace frame: 0xffff80002c9440c0, 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(ffffffff825aa846) at panic+0x16b sys/kern/subr_prf.c:229 __assert(ffffffff826225f2,ffffffff82590a82,3f,ffffffff826588d5) at __assert+0x25 sys/kern/subr_prf.c:157 _kernel_lock() at _kernel_lock+0xb2 sys/kern/kern_lock.c:63 scsi_xs_get(ffff80000002c500,3) at scsi_xs_get+0x12d scsi_iopool_get sys/scsi/scsi_base.c:257 [inline] scsi_xs_get(ffff80000002c500,3) at scsi_xs_get+0x12d sys/scsi/scsi_base.c:653 sdactivate(ffff80000019f000,6) at sdactivate+0x1d6 sd_flush sys/scsi/sd.c:1862 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1d6 sys/scsi/sd.c:271 config_suspend(ffff80000019f000,6) at config_suspend+0x4c sys/kern/subr_autoconf.c:831 scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x6b scsi_activate_link sys/scsi/scsiconf.c:410 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x6b scsi_activate_bus sys/scsi/scsiconf.c:360 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x6b 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+0x75 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+0x30e sys/kern/subr_autoconf.c:855 boot(104) at boot+0x17a sys/arch/amd64/amd64/machdep.c:858 dt_prov_syscall_alloc(104,104,ffffffff82941990,1) at dt_prov_syscall_alloc panic(ffffffff825aa846) at panic+0x18b sys/kern/subr_prf.c:231 __assert(ffffffff826225f2,ffffffff82590a82,3f,ffffffff826588d5) at __assert+0x25 sys/kern/subr_prf.c:157 _kernel_lock() at _kernel_lock+0xb2 sys/kern/kern_lock.c:63 scsi_xs_get(ffff80000002c500,3) at scsi_xs_get+0x12d scsi_iopool_get sys/scsi/scsi_base.c:257 [inline] scsi_xs_get(ffff80000002c500,3) at scsi_xs_get+0x12d sys/scsi/scsi_base.c:653 sdactivate(ffff80000019f000,6) at sdactivate+0x1d6 sd_flush sys/scsi/sd.c:1862 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1d6 sys/scsi/sd.c:271 config_suspend(ffff80000019f000,6) at config_suspend+0x4c sys/kern/subr_autoconf.c:831 scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x6b scsi_activate_link sys/scsi/scsiconf.c:410 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x6b scsi_activate_bus sys/scsi/scsiconf.c:360 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x6b 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+0x75 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+0x30e sys/kern/subr_autoconf.c:855 boot(104) at boot+0x17a sys/arch/amd64/amd64/machdep.c:858 dt_prov_syscall_alloc(104,104,ffffffff82941990,1) at dt_prov_syscall_alloc panic(ffffffff825aa846) at panic+0x18b sys/kern/subr_prf.c:231 __assert(ffffffff826225f2,ffffffff82590a82,3f,ffffffff826588d5) at __assert+0x25 sys/kern/subr_prf.c:157 _kernel_lock() at _kernel_lock+0xb2 sys/kern/kern_lock.c:63 scsi_xs_get(ffff80000002c500,3) at scsi_xs_get+0x12d scsi_iopool_get sys/scsi/scsi_base.c:257 [inline] scsi_xs_get(ffff80000002c500,3) at scsi_xs_get+0x12d sys/scsi/scsi_base.c:653 sdactivate(ffff80000019f000,6) at sdactivate+0x1d6 sd_flush sys/scsi/sd.c:1862 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1d6 sys/scsi/sd.c:271 config_suspend(ffff80000019f000,6) at config_suspend+0x4c sys/kern/subr_autoconf.c:831 scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x6b scsi_activate_link sys/scsi/scsiconf.c:410 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x6b scsi_activate_bus sys/scsi/scsiconf.c:360 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x6b 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+0x75 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+0x30e sys/kern/subr_autoconf.c:855 boot(104) at boot+0x17a sys/arch/amd64/amd64/machdep.c:858 dt_prov_syscall_alloc(104,104,ffffffff82941990,1) at dt_prov_syscall_alloc panic(ffffffff825aa846) at panic+0x18b sys/kern/subr_prf.c:231 __assert(ffffffff826225f2,ffffffff82590a82,3f,ffffffff826588d5) at __assert+0x25 sys/kern/subr_prf.c:157 _kernel_lock() at _kernel_lock+0xb2 sys/kern/kern_lock.c:63 scsi_xs_get(ffff80000002c500,3) at scsi_xs_get+0x12d scsi_iopool_get sys/scsi/scsi_base.c:257 [inline] scsi_xs_get(ffff80000002c500,3) at scsi_xs_get+0x12d sys/scsi/scsi_base.c:653 sdactivate(ffff80000019f000,6) at sdactivate+0x1d6 sd_flush sys/scsi/sd.c:1862 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1d6 sys/scsi/sd.c:271 config_suspend(ffff80000019f000,6) at config_suspend+0x4c sys/kern/subr_autoconf.c:831 scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x6b scsi_activate_link sys/scsi/scsiconf.c:410 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x6b scsi_activate_bus sys/scsi/scsiconf.c:360 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x6b 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+0x75 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+0x30e sys/kern/subr_autoconf.c:855 boot(104) at boot+0x17a sys/arch/amd64/amd64/machdep.c:858 dt_prov_syscall_alloc(104,104,ffffffff82941990,1) at dt_prov_syscall_alloc panic(ffffffff825aa846) at panic+0x18b sys/kern/subr_prf.c:231 __assert(ffffffff826225f2,ffffffff82590a82,3f,ffffffff826588d5) at __assert+0x25 sys/kern/subr_prf.c:157 _kernel_lock() at _kernel_lock+0xb2 sys/kern/kern_lock.c:63 scsi_xs_get(ffff80000002c500,3) at scsi_xs_get+0x12d scsi_iopool_get sys/scsi/scsi_base.c:257 [inline] scsi_xs_get(ffff80000002c500,3) at scsi_xs_get+0x12d sys/scsi/scsi_base.c:653 sdactivate(ffff80000019f000,6) at sdactivate+0x1d6 sd_flush sys/scsi/sd.c:1862 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1d6 sys/scsi/sd.c:271 config_suspend(ffff80000019f000,6) at config_suspend+0x4c sys/kern/subr_autoconf.c:831 scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x6b scsi_activate_link sys/scsi/scsiconf.c:410 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x6b scsi_activate_bus sys/scsi/scsiconf.c:360 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x6b 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+0x75 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+0x30e sys/kern/subr_autoconf.c:855 boot(104) at boot+0x17a sys/arch/amd64/amd64/machdep.c:858 dt_prov_syscall_alloc(104,104,ffffffff82941990,1) at dt_prov_syscall_alloc panic(ffffffff825aa846) at panic+0x18b sys/kern/subr_prf.c:231 __assert(ffffffff826225f2,ffffffff82590a82,3f,ffffffff826588d5) at __assert+0x25 sys/kern/subr_prf.c:157 _kernel_lock() at _kernel_lock+0xb2 sys/kern/kern_lock.c:63 scsi_xs_get(ffff80000002c500,3) at scsi_xs_get+0x12d scsi_iopool_get sys/scsi/scsi_base.c:257 [inline] scsi_xs_get(ffff80000002c500,3) at scsi_xs_get+0x12d sys/scsi/scsi_base.c:653 sdactivate(ffff80000019f000,6) at sdactivate+0x1d6 sd_flush sys/scsi/sd.c:1862 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1d6 sys/scsi/sd.c:271 config_suspend(ffff80000019f000,6) at config_suspend+0x4c sys/kern/subr_autoconf.c:831 scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x6b scsi_activate_link sys/scsi/scsiconf.c:410 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x6b scsi_activate_bus sys/scsi/scsiconf.c:360 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x6b 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+0x75 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+0x30e sys/kern/subr_autoconf.c:855 boot(104) at boot+0x17a sys/arch/amd64/amd64/machdep.c:858 dt_prov_syscall_alloc(104,104,ffffffff82941990,1) at dt_prov_syscall_alloc panic(ffffffff825aa846) at panic+0x18b sys/kern/subr_prf.c:231 __assert(ffffffff826225f2,ffffffff82590a82,3f,ffffffff826588d5) at __assert+0x25 sys/kern/subr_prf.c:157 _kernel_lock() at _kernel_lock+0xb2 sys/kern/kern_lock.c:63 scsi_xs_get(ffff80000002c500,3) at scsi_xs_get+0x12d scsi_iopool_get sys/scsi/scsi_base.c:257 [inline] scsi_xs_get(ffff80000002c500,3) at scsi_xs_get+0x12d sys/scsi/scsi_base.c:653 sdactivate(ffff80000019f000,6) at sdactivate+0x1d6 sd_flush sys/scsi/sd.c:1862 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1d6 sys/scsi/sd.c:271 config_suspend(ffff80000019f000,6) at config_suspend+0x4c sys/kern/subr_autoconf.c:831 scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x6b scsi_activate_link sys/scsi/scsiconf.c:410 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x6b scsi_activate_bus sys/scsi/scsiconf.c:360 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x6b 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+0x75 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+0x30e sys/kern/subr_autoconf.c:855 boot(104) at boot+0x17a sys/arch/amd64/amd64/machdep.c:858 dt_prov_syscall_alloc(104,104,ffffffff82941990,1) at dt_prov_syscall_alloc panic(ffffffff825a0637) at panic+0x18b sys/kern/subr_prf.c:231 kerntrap(ffffffff82940730) at kerntrap+0x1c7 sys/arch/amd64/amd64/trap.c:327 Xcalltrap_specstk_untramp() at Xcalltrap_specstk_untramp+0xf Bad frame pointer: 0xffff80002c9440c0 end trace frame: 0xffff80002c9440c0, 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(ffffffff825aa846) at panic+0x16b sys/kern/subr_prf.c:229 __assert(ffffffff826225f2,ffffffff82590a82,3f,ffffffff826588d5) at __assert+0x25 sys/kern/subr_prf.c:157 _kernel_lock() at _kernel_lock+0xb2 sys/kern/kern_lock.c:63 scsi_xs_get(ffff80000002c500,3) at scsi_xs_get+0x12d scsi_iopool_get sys/scsi/scsi_base.c:257 [inline] scsi_xs_get(ffff80000002c500,3) at scsi_xs_get+0x12d sys/scsi/scsi_base.c:653 sdactivate(ffff80000019f000,6) at sdactivate+0x1d6 sd_flush sys/scsi/sd.c:1862 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1d6 sys/scsi/sd.c:271 config_suspend(ffff80000019f000,6) at config_suspend+0x4c sys/kern/subr_autoconf.c:831 scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x6b scsi_activate_link sys/scsi/scsiconf.c:410 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x6b scsi_activate_bus sys/scsi/scsiconf.c:360 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x6b 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+0x75 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+0x30e sys/kern/subr_autoconf.c:855 boot(104) at boot+0x17a sys/arch/amd64/amd64/machdep.c:858 dt_prov_syscall_alloc(104,104,ffffffff82941990,1) at dt_prov_syscall_alloc panic(ffffffff825aa846) at panic+0x18b sys/kern/subr_prf.c:231 __assert(ffffffff826225f2,ffffffff82590a82,3f,ffffffff826588d5) at __assert+0x25 sys/kern/subr_prf.c:157 _kernel_lock() at _kernel_lock+0xb2 sys/kern/kern_lock.c:63 scsi_xs_get(ffff80000002c500,3) at scsi_xs_get+0x12d scsi_iopool_get sys/scsi/scsi_base.c:257 [inline] scsi_xs_get(ffff80000002c500,3) at scsi_xs_get+0x12d sys/scsi/scsi_base.c:653 sdactivate(ffff80000019f000,6) at sdactivate+0x1d6 sd_flush sys/scsi/sd.c:1862 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1d6 sys/scsi/sd.c:271 config_suspend(ffff80000019f000,6) at config_suspend+0x4c sys/kern/subr_autoconf.c:831 scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x6b scsi_activate_link sys/scsi/scsiconf.c:410 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x6b scsi_activate_bus sys/scsi/scsiconf.c:360 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x6b 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+0x75 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+0x30e sys/kern/subr_autoconf.c:855 boot(104) at boot+0x17a sys/arch/amd64/amd64/machdep.c:858 dt_prov_syscall_alloc(104,104,ffffffff82941990,1) at dt_prov_syscall_alloc panic(ffffffff825aa846) at panic+0x18b sys/kern/subr_prf.c:231 __assert(ffffffff826225f2,ffffffff82590a82,3f,ffffffff826588d5) at __assert+0x25 sys/kern/subr_prf.c:157 _kernel_lock() at _kernel_lock+0xb2 sys/kern/kern_lock.c:63 scsi_xs_get(ffff80000002c500,3) at scsi_xs_get+0x12d scsi_iopool_get sys/scsi/scsi_base.c:257 [inline] scsi_xs_get(ffff80000002c500,3) at scsi_xs_get+0x12d sys/scsi/scsi_base.c:653 sdactivate(ffff80000019f000,6) at sdactivate+0x1d6 sd_flush sys/scsi/sd.c:1862 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1d6 sys/scsi/sd.c:271 config_suspend(ffff80000019f000,6) at config_suspend+0x4c sys/kern/subr_autoconf.c:831 scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x6b scsi_activate_link sys/scsi/scsiconf.c:410 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x6b scsi_activate_bus sys/scsi/scsiconf.c:360 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x6b 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+0x75 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+0x30e sys/kern/subr_autoconf.c:855 boot(104) at boot+0x17a sys/arch/amd64/amd64/machdep.c:858 dt_prov_syscall_alloc(104,104,ffffffff82941990,1) at dt_prov_syscall_alloc panic(ffffffff825aa846) at panic+0x18b sys/kern/subr_prf.c:231 __assert(ffffffff826225f2,ffffffff82590a82,3f,ffffffff826588d5) at __assert+0x25 sys/kern/subr_prf.c:157 _kernel_lock() at _kernel_lock+0xb2 sys/kern/kern_lock.c:63 scsi_xs_get(ffff80000002c500,3) at scsi_xs_get+0x12d scsi_iopool_get sys/scsi/scsi_base.c:257 [inline] scsi_xs_get(ffff80000002c500,3) at scsi_xs_get+0x12d sys/scsi/scsi_base.c:653 sdactivate(ffff80000019f000,6) at sdactivate+0x1d6 sd_flush sys/scsi/sd.c:1862 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1d6 sys/scsi/sd.c:271 config_suspend(ffff80000019f000,6) at config_suspend+0x4c sys/kern/subr_autoconf.c:831 scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x6b scsi_activate_link sys/scsi/scsiconf.c:410 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x6b scsi_activate_bus sys/scsi/scsiconf.c:360 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x6b 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+0x75 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+0x30e sys/kern/subr_autoconf.c:855 boot(104) at boot+0x17a sys/arch/amd64/amd64/machdep.c:858 dt_prov_syscall_alloc(104,104,ffffffff82941990,1) at dt_prov_syscall_alloc panic(ffffffff825aa846) at panic+0x18b sys/kern/subr_prf.c:231 __assert(ffffffff826225f2,ffffffff82590a82,3f,ffffffff826588d5) at __assert+0x25 sys/kern/subr_prf.c:157 _kernel_lock() at _kernel_lock+0xb2 sys/kern/kern_lock.c:63 scsi_xs_get(ffff80000002c500,3) at scsi_xs_get+0x12d scsi_iopool_get sys/scsi/scsi_base.c:257 [inline] scsi_xs_get(ffff80000002c500,3) at scsi_xs_get+0x12d sys/scsi/scsi_base.c:653 sdactivate(ffff80000019f000,6) at sdactivate+0x1d6 sd_flush sys/scsi/sd.c:1862 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1d6 sys/scsi/sd.c:271 config_suspend(ffff80000019f000,6) at config_suspend+0x4c sys/kern/subr_autoconf.c:831 scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x6b scsi_activate_link sys/scsi/scsiconf.c:410 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x6b scsi_activate_bus sys/scsi/scsiconf.c:360 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x6b 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+0x75 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+0x30e sys/kern/subr_autoconf.c:855 boot(104) at boot+0x17a sys/arch/amd64/amd64/machdep.c:858 dt_prov_syscall_alloc(104,104,ffffffff82941990,1) at dt_prov_syscall_alloc panic(ffffffff825aa846) at panic+0x18b sys/kern/subr_prf.c:231 __assert(ffffffff826225f2,ffffffff82590a82,3f,ffffffff826588d5) at __assert+0x25 sys/kern/subr_prf.c:157 _kernel_lock() at _kernel_lock+0xb2 sys/kern/kern_lock.c:63 scsi_xs_get(ffff80000002c500,3) at scsi_xs_get+0x12d scsi_iopool_get sys/scsi/scsi_base.c:257 [inline] scsi_xs_get(ffff80000002c500,3) at scsi_xs_get+0x12d sys/scsi/scsi_base.c:653 sdactivate(ffff80000019f000,6) at sdactivate+0x1d6 sd_flush sys/scsi/sd.c:1862 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1d6 sys/scsi/sd.c:271 config_suspend(ffff80000019f000,6) at config_suspend+0x4c sys/kern/subr_autoconf.c:831 scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x6b scsi_activate_link sys/scsi/scsiconf.c:410 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x6b scsi_activate_bus sys/scsi/scsiconf.c:360 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x6b 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+0x75 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+0x30e sys/kern/subr_autoconf.c:855 boot(104) at boot+0x17a sys/arch/amd64/amd64/machdep.c:858 dt_prov_syscall_alloc(104,104,ffffffff82941990,1) at dt_prov_syscall_alloc panic(ffffffff825aa846) at panic+0x18b sys/kern/subr_prf.c:231 __assert(ffffffff826225f2,ffffffff82590a82,3f,ffffffff826588d5) at __assert+0x25 sys/kern/subr_prf.c:157 _kernel_lock() at _kernel_lock+0xb2 sys/kern/kern_lock.c:63 scsi_xs_get(ffff80000002c500,3) at scsi_xs_get+0x12d scsi_iopool_get sys/scsi/scsi_base.c:257 [inline] scsi_xs_get(ffff80000002c500,3) at scsi_xs_get+0x12d sys/scsi/scsi_base.c:653 sdactivate(ffff80000019f000,6) at sdactivate+0x1d6 sd_flush sys/scsi/sd.c:1862 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1d6 sys/scsi/sd.c:271 config_suspend(ffff80000019f000,6) at config_suspend+0x4c sys/kern/subr_autoconf.c:831 scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x6b scsi_activate_link sys/scsi/scsiconf.c:410 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x6b scsi_activate_bus sys/scsi/scsiconf.c:360 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x6b 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+0x75 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+0x30e sys/kern/subr_autoconf.c:855 boot(104) at boot+0x17a sys/arch/amd64/amd64/machdep.c:858 dt_prov_syscall_alloc(104,104,ffffffff82941990,1) at dt_prov_syscall_alloc panic(ffffffff825aa846) at panic+0x18b sys/kern/subr_prf.c:231 __assert(ffffffff826225f2,ffffffff82590a82,3f,ffffffff826588d5) at __assert+0x25 sys/kern/subr_prf.c:157 _kernel_lock() at _kernel_lock+0xb2 sys/kern/kern_lock.c:63 scsi_xs_get(ffff80000002c500,3) at scsi_xs_get+0x12d scsi_iopool_get sys/scsi/scsi_base.c:257 [inline] scsi_xs_get(ffff80000002c500,3) at scsi_xs_get+0x12d sys/scsi/scsi_base.c:653 sdactivate(ffff80000019f000,6) at sdactivate+0x1d6 sd_flush sys/scsi/sd.c:1862 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1d6 sys/scsi/sd.c:271 config_suspend(ffff80000019f000,6) at config_suspend+0x4c sys/kern/subr_autoconf.c:831 scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x6b scsi_activate_link sys/scsi/scsiconf.c:410 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x6b scsi_activate_bus sys/scsi/scsiconf.c:360 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x6b 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+0x75 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+0x30e sys/kern/subr_autoconf.c:855 boot(104) at boot+0x17a sys/arch/amd64/amd64/machdep.c:858 dt_prov_syscall_alloc(104,104,ffffffff82941990,1) at dt_prov_syscall_alloc panic(ffffffff825a0637) at panic+0x18b sys/kern/subr_prf.c:231 kerntrap(ffffffff82940730) at kerntrap+0x1c7 sys/arch/amd64/amd64/trap.c:327 Xcalltrap_specstk_untramp() at Xcalltrap_specstk_untramp+0xf Bad frame pointer: 0xffff80002c9440c0 end trace frame: 0xffff80002c9440c0, 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(ffffffff825aa846) at panic+0x16b sys/kern/subr_prf.c:229 __assert(ffffffff826225f2,ffffffff82590a82,3f,ffffffff826588d5) at __assert+0x25 sys/kern/subr_prf.c:157 _kernel_lock() at _kernel_lock+0xb2 sys/kern/kern_lock.c:63 scsi_xs_get(ffff80000002c500,3) at scsi_xs_get+0x12d scsi_iopool_get sys/scsi/scsi_base.c:257 [inline] scsi_xs_get(ffff80000002c500,3) at scsi_xs_get+0x12d sys/scsi/scsi_base.c:653 sdactivate(ffff80000019f000,6) at sdactivate+0x1d6 sd_flush sys/scsi/sd.c:1862 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1d6 sys/scsi/sd.c:271 config_suspend(ffff80000019f000,6) at config_suspend+0x4c sys/kern/subr_autoconf.c:831 scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x6b scsi_activate_link sys/scsi/scsiconf.c:410 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x6b scsi_activate_bus sys/scsi/scsiconf.c:360 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x6b 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+0x75 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+0x30e sys/kern/subr_autoconf.c:855 boot(104) at boot+0x17a sys/arch/amd64/amd64/machdep.c:858 dt_prov_syscall_alloc(104,104,ffffffff82941990,1) at dt_prov_syscall_alloc panic(ffffffff825aa846) at panic+0x18b sys/kern/subr_prf.c:231 __assert(ffffffff826225f2,ffffffff82590a82,3f,ffffffff826588d5) at __assert+0x25 sys/kern/subr_prf.c:157 _kernel_lock() at _kernel_lock+0xb2 sys/kern/kern_lock.c:63 scsi_xs_get(ffff80000002c500,3) at scsi_xs_get+0x12d scsi_iopool_get sys/scsi/scsi_base.c:257 [inline] scsi_xs_get(ffff80000002c500,3) at scsi_xs_get+0x12d sys/scsi/scsi_base.c:653 sdactivate(ffff80000019f000,6) at sdactivate+0x1d6 sd_flush sys/scsi/sd.c:1862 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1d6 sys/scsi/sd.c:271 config_suspend(ffff80000019f000,6) at config_suspend+0x4c sys/kern/subr_autoconf.c:831 scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x6b scsi_activate_link sys/scsi/scsiconf.c:410 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x6b scsi_activate_bus sys/scsi/scsiconf.c:360 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x6b 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+0x75 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+0x30e sys/kern/subr_autoconf.c:855 boot(104) at boot+0x17a sys/arch/amd64/amd64/machdep.c:858 dt_prov_syscall_alloc(104,104,ffffffff82941990,1) at dt_prov_syscall_alloc panic(ffffffff825aa846) at panic+0x18b sys/kern/subr_prf.c:231 __assert(ffffffff826225f2,ffffffff82590a82,3f,ffffffff826588d5) at __assert+0x25 sys/kern/subr_prf.c:157 _kernel_lock() at _kernel_lock+0xb2 sys/kern/kern_lock.c:63 scsi_xs_get(ffff80000002c500,3) at scsi_xs_get+0x12d scsi_iopool_get sys/scsi/scsi_base.c:257 [inline] scsi_xs_get(ffff80000002c500,3) at scsi_xs_get+0x12d sys/scsi/scsi_base.c:653 sdactivate(ffff80000019f000,6) at sdactivate+0x1d6 sd_flush sys/scsi/sd.c:1862 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1d6 sys/scsi/sd.c:271 config_suspend(ffff80000019f000,6) at config_suspend+0x4c sys/kern/subr_autoconf.c:831 scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x6b scsi_activate_link sys/scsi/scsiconf.c:410 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x6b scsi_activate_bus sys/scsi/scsiconf.c:360 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x6b 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+0x75 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+0x30e sys/kern/subr_autoconf.c:855 boot(104) at boot+0x17a sys/arch/amd64/amd64/machdep.c:858 dt_prov_syscall_alloc(104,104,ffffffff82941990,1) at dt_prov_syscall_alloc panic(ffffffff825aa846) at panic+0x18b sys/kern/subr_prf.c:231 __assert(ffffffff826225f2,ffffffff82590a82,3f,ffffffff826588d5) at __assert+0x25 sys/kern/subr_prf.c:157 _kernel_lock() at _kernel_lock+0xb2 sys/kern/kern_lock.c:63 scsi_xs_get(ffff80000002c500,3) at scsi_xs_get+0x12d scsi_iopool_get sys/scsi/scsi_base.c:257 [inline] scsi_xs_get(ffff80000002c500,3) at scsi_xs_get+0x12d sys/scsi/scsi_base.c:653 sdactivate(ffff80000019f000,6) at sdactivate+0x1d6 sd_flush sys/scsi/sd.c:1862 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1d6 sys/scsi/sd.c:271 config_suspend(ffff80000019f000,6) at config_suspend+0x4c sys/kern/subr_autoconf.c:831 scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x6b scsi_activate_link sys/scsi/scsiconf.c:410 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x6b scsi_activate_bus sys/scsi/scsiconf.c:360 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x6b 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+0x75 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+0x30e sys/kern/subr_autoconf.c:855 boot(104) at boot+0x17a sys/arch/amd64/amd64/machdep.c:858 dt_prov_syscall_alloc(104,104,ffffffff82941990,1) at dt_prov_syscall_alloc panic(ffffffff825aa846) at panic+0x18b sys/kern/subr_prf.c:231 __assert(ffffffff826225f2,ffffffff82590a82,3f,ffffffff826588d5) at __assert+0x25 sys/kern/subr_prf.c:157 _kernel_lock() at _kernel_lock+0xb2 sys/kern/kern_lock.c:63 scsi_xs_get(ffff80000002c500,3) at scsi_xs_get+0x12d scsi_iopool_get sys/scsi/scsi_base.c:257 [inline] scsi_xs_get(ffff80000002c500,3) at scsi_xs_get+0x12d sys/scsi/scsi_base.c:653 sdactivate(ffff80000019f000,6) at sdactivate+0x1d6 sd_flush sys/scsi/sd.c:1862 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1d6 sys/scsi/sd.c:271 config_suspend(ffff80000019f000,6) at config_suspend+0x4c sys/kern/subr_autoconf.c:831 scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x6b scsi_activate_link sys/scsi/scsiconf.c:410 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x6b scsi_activate_bus sys/scsi/scsiconf.c:360 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x6b 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+0x75 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+0x30e sys/kern/subr_autoconf.c:855 boot(104) at boot+0x17a sys/arch/amd64/amd64/machdep.c:858 dt_prov_syscall_alloc(104,104,ffffffff82941990,1) at dt_prov_syscall_alloc panic(ffffffff825aa846) at panic+0x18b sys/kern/subr_prf.c:231 __assert(ffffffff826225f2,ffffffff82590a82,3f,ffffffff826588d5) at __assert+0x25 sys/kern/subr_prf.c:157 _kernel_lock() at _kernel_lock+0xb2 sys/kern/kern_lock.c:63 scsi_xs_get(ffff80000002c500,3) at scsi_xs_get+0x12d scsi_iopool_get sys/scsi/scsi_base.c:257 [inline] scsi_xs_get(ffff80000002c500,3) at scsi_xs_get+0x12d sys/scsi/scsi_base.c:653 sdactivate(ffff80000019f000,6) at sdactivate+0x1d6 sd_flush sys/scsi/sd.c:1862 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1d6 sys/scsi/sd.c:271 config_suspend(ffff80000019f000,6) at config_suspend+0x4c sys/kern/subr_autoconf.c:831 scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x6b scsi_activate_link sys/scsi/scsiconf.c:410 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x6b scsi_activate_bus sys/scsi/scsiconf.c:360 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x6b 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+0x75 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+0x30e sys/kern/subr_autoconf.c:855 boot(104) at boot+0x17a sys/arch/amd64/amd64/machdep.c:858 dt_prov_syscall_alloc(104,104,ffffffff82941990,1) at dt_prov_syscall_alloc panic(ffffffff825aa846) at panic+0x18b sys/kern/subr_prf.c:231 __assert(ffffffff826225f2,ffffffff82590a82,3f,ffffffff826588d5) at __assert+0x25 sys/kern/subr_prf.c:157 _kernel_lock() at _kernel_lock+0xb2 sys/kern/kern_lock.c:63 scsi_xs_get(ffff80000002c500,3) at scsi_xs_get+0x12d scsi_iopool_get sys/scsi/scsi_base.c:257 [inline] scsi_xs_get(ffff80000002c500,3) at scsi_xs_get+0x12d sys/scsi/scsi_base.c:653 sdactivate(ffff80000019f000,6) at sdactivate+0x1d6 sd_flush sys/scsi/sd.c:1862 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1d6 sys/scsi/sd.c:271 config_suspend(ffff80000019f000,6) at config_suspend+0x4c sys/kern/subr_autoconf.c:831 scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x6b scsi_activate_link sys/scsi/scsiconf.c:410 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x6b scsi_activate_bus sys/scsi/scsiconf.c:360 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x6b 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+0x75 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+0x30e sys/kern/subr_autoconf.c:855 boot(104) at boot+0x17a sys/arch/amd64/amd64/machdep.c:858 dt_prov_syscall_alloc(104,104,ffffffff82941990,1) at dt_prov_syscall_alloc panic(ffffffff825aa846) at panic+0x18b sys/kern/subr_prf.c:231 __assert(ffffffff826225f2,ffffffff82590a82,3f,ffffffff826588d5) at __assert+0x25 sys/kern/subr_prf.c:157 _kernel_lock() at _kernel_lock+0xb2 sys/kern/kern_lock.c:63 scsi_xs_get(ffff80000002c500,3) at scsi_xs_get+0x12d scsi_iopool_get sys/scsi/scsi_base.c:257 [inline] scsi_xs_get(ffff80000002c500,3) at scsi_xs_get+0x12d sys/scsi/scsi_base.c:653 sdactivate(ffff80000019f000,6) at sdactivate+0x1d6 sd_flush sys/scsi/sd.c:1862 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1d6 sys/scsi/sd.c:271 config_suspend(ffff80000019f000,6) at config_suspend+0x4c sys/kern/subr_autoconf.c:831 scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x6b scsi_activate_link sys/scsi/scsiconf.c:410 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x6b scsi_activate_bus sys/scsi/scsiconf.c:360 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x6b 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+0x75 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+0x30e sys/kern/subr_autoconf.c:855 boot(104) at boot+0x17a sys/arch/amd64/amd64/machdep.c:858 dt_prov_syscall_alloc(104,104,ffffffff82941990,1) at dt_prov_syscall_alloc panic(ffffffff825aa846) at panic+0x18b sys/kern/subr_prf.c:231 __assert(ffffffff826225f2,ffffffff82590a82,3f,ffffffff826588d5) at __assert+0x25 sys/kern/subr_prf.c:157 _kernel_lock() at _kernel_lock+0xb2 sys/kern/kern_lock.c:63 scsi_xs_get(ffff80000002c500,3) at scsi_xs_get+0x12d scsi_iopool_get sys/scsi/scsi_base.c:257 [inline] scsi_xs_get(ffff80000002c500,3) at scsi_xs_get+0x12d sys/scsi/scsi_base.c:653 sdactivate(ffff80000019f000,6) at sdactivate+0x1d6 sd_flush sys/scsi/sd.c:1862 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1d6 sys/scsi/sd.c:271 config_suspend(ffff80000019f000,6) at config_suspend+0x4c sys/kern/subr_autoconf.c:831 scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x6b scsi_activate_link sys/scsi/scsiconf.c:410 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x6b scsi_activate_bus sys/scsi/scsiconf.c:360 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x6b 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+0x75 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+0x30e sys/kern/subr_autoconf.c:855 boot(104) at boot+0x17a sys/arch/amd64/amd64/machdep.c:858 dt_prov_syscall_alloc(104,104,ffffffff82941990,1) at dt_prov_syscall_alloc panic(ffffffff825a0637) at panic+0x18b sys/kern/subr_prf.c:231 kerntrap(ffffffff82940730) at kerntrap+0x1c7 sys/arch/amd64/amd64/trap.c:327 Xcalltrap_specstk_untramp() at Xcalltrap_specstk_untramp+0xf Bad frame pointer: 0xffff80002c9440c0 end trace frame: 0xffff80002c9440c0, 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(ffffffff825aa846) at panic+0x16b sys/kern/subr_prf.c:229 __assert(ffffffff826225f2,ffffffff82590a82,3f,ffffffff826588d5) at __assert+0x25 sys/kern/subr_prf.c:157 _kernel_lock() at _kernel_lock+0xb2 sys/kern/kern_lock.c:63 scsi_xs_get(ffff80000002c500,3) at scsi_xs_get+0x12d scsi_iopool_get sys/scsi/scsi_base.c:257 [inline] scsi_xs_get(ffff80000002c500,3) at scsi_xs_get+0x12d sys/scsi/scsi_base.c:653 sdactivate(ffff80000019f000,6) at sdactivate+0x1d6 sd_flush sys/scsi/sd.c:1862 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1d6 sys/scsi/sd.c:271 config_suspend(ffff80000019f000,6) at config_suspend+0x4c sys/kern/subr_autoconf.c:831 scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x6b scsi_activate_link sys/scsi/scsiconf.c:410 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x6b scsi_activate_bus sys/scsi/scsiconf.c:360 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x6b 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+0x75 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+0x30e sys/kern/subr_autoconf.c:855 boot(104) at boot+0x17a sys/arch/amd64/amd64/machdep.c:858 dt_prov_syscall_alloc(104,104,ffffffff82941990,1) at dt_prov_syscall_alloc panic(ffffffff825aa846) at panic+0x18b sys/kern/subr_prf.c:231 __assert(ffffffff826225f2,ffffffff82590a82,3f,ffffffff826588d5) at __assert+0x25 sys/kern/subr_prf.c:157 _kernel_lock() at _kernel_lock+0xb2 sys/kern/kern_lock.c:63 scsi_xs_get(ffff80000002c500,3) at scsi_xs_get+0x12d scsi_iopool_get sys/scsi/scsi_base.c:257 [inline] scsi_xs_get(ffff80000002c500,3) at scsi_xs_get+0x12d sys/scsi/scsi_base.c:653 sdactivate(ffff80000019f000,6) at sdactivate+0x1d6 sd_flush sys/scsi/sd.c:1862 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1d6 sys/scsi/sd.c:271 config_suspend(ffff80000019f000,6) at config_suspend+0x4c sys/kern/subr_autoconf.c:831 scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x6b scsi_activate_link sys/scsi/scsiconf.c:410 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x6b scsi_activate_bus sys/scsi/scsiconf.c:360 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x6b 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+0x75 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+0x30e sys/kern/subr_autoconf.c:855 boot(104) at boot+0x17a sys/arch/amd64/amd64/machdep.c:858 dt_prov_syscall_alloc(104,104,ffffffff82941990,1) at dt_prov_syscall_alloc panic(ffffffff825aa846) at panic+0x18b sys/kern/subr_prf.c:231 __assert(ffffffff826225f2,ffffffff82590a82,3f,ffffffff826588d5) at __assert+0x25 sys/kern/subr_prf.c:157 _kernel_lock() at _kernel_lock+0xb2 sys/kern/kern_lock.c:63 scsi_xs_get(ffff80000002c500,3) at scsi_xs_get+0x12d scsi_iopool_get sys/scsi/scsi_base.c:257 [inline] scsi_xs_get(ffff80000002c500,3) at scsi_xs_get+0x12d sys/scsi/scsi_base.c:653 sdactivate(ffff80000019f000,6) at sdactivate+0x1d6 sd_flush sys/scsi/sd.c:1862 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1d6 sys/scsi/sd.c:271 config_suspend(ffff80000019f000,6) at config_suspend+0x4c sys/kern/subr_autoconf.c:831 scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x6b scsi_activate_link sys/scsi/scsiconf.c:410 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x6b scsi_activate_bus sys/scsi/scsiconf.c:360 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x6b 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+0x75 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+0x30e sys/kern/subr_autoconf.c:855 boot(104) at boot+0x17a sys/arch/amd64/amd64/machdep.c:858 dt_prov_syscall_alloc(104,104,ffffffff82941990,1) at dt_prov_syscall_alloc panic(ffffffff825aa846) at panic+0x18b sys/kern/subr_prf.c:231 __assert(ffffffff826225f2,ffffffff82590a82,3f,ffffffff826588d5) at __assert+0x25 sys/kern/subr_prf.c:157 _kernel_lock() at _kernel_lock+0xb2 sys/kern/kern_lock.c:63 scsi_xs_get(ffff80000002c500,3) at scsi_xs_get+0x12d scsi_iopool_get sys/scsi/scsi_base.c:257 [inline] scsi_xs_get(ffff80000002c500,3) at scsi_xs_get+0x12d sys/scsi/scsi_base.c:653 sdactivate(ffff80000019f000,6) at sdactivate+0x1d6 sd_flush sys/scsi/sd.c:1862 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1d6 sys/scsi/sd.c:271 config_suspend(ffff80000019f000,6) at config_suspend+0x4c sys/kern/subr_autoconf.c:831 scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x6b scsi_activate_link sys/scsi/scsiconf.c:410 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x6b scsi_activate_bus sys/scsi/scsiconf.c:360 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x6b 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+0x75 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+0x30e sys/kern/subr_autoconf.c:855 boot(104) at boot+0x17a sys/arch/amd64/amd64/machdep.c:858 dt_prov_syscall_alloc(104,104,ffffffff82941990,1) at dt_prov_syscall_alloc panic(ffffffff825aa846) at panic+0x18b sys/kern/subr_prf.c:231 __assert(ffffffff826225f2,ffffffff82590a82,3f,ffffffff826588d5) at __assert+0x25 sys/kern/subr_prf.c:157 _kernel_lock() at _kernel_lock+0xb2 sys/kern/kern_lock.c:63 scsi_xs_get(ffff80000002c500,3) at scsi_xs_get+0x12d scsi_iopool_get sys/scsi/scsi_base.c:257 [inline] scsi_xs_get(ffff80000002c500,3) at scsi_xs_get+0x12d sys/scsi/scsi_base.c:653 sdactivate(ffff80000019f000,6) at sdactivate+0x1d6 sd_flush sys/scsi/sd.c:1862 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1d6 sys/scsi/sd.c:271 config_suspend(ffff80000019f000,6) at config_suspend+0x4c sys/kern/subr_autoconf.c:831 scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x6b scsi_activate_link sys/scsi/scsiconf.c:410 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x6b scsi_activate_bus sys/scsi/scsiconf.c:360 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x6b 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+0x75 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+0x30e sys/kern/subr_autoconf.c:855 boot(104) at boot+0x17a sys/arch/amd64/amd64/machdep.c:858 dt_prov_syscall_alloc(104,104,ffffffff82941990,1) at dt_prov_syscall_alloc panic(ffffffff825aa846) at panic+0x18b sys/kern/subr_prf.c:231 __assert(ffffffff826225f2,ffffffff82590a82,3f,ffffffff826588d5) at __assert+0x25 sys/kern/subr_prf.c:157 _kernel_lock() at _kernel_lock+0xb2 sys/kern/kern_lock.c:63 scsi_xs_get(ffff80000002c500,3) at scsi_xs_get+0x12d scsi_iopool_get sys/scsi/scsi_base.c:257 [inline] scsi_xs_get(ffff80000002c500,3) at scsi_xs_get+0x12d sys/scsi/scsi_base.c:653 sdactivate(ffff80000019f000,6) at sdactivate+0x1d6 sd_flush sys/scsi/sd.c:1862 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1d6 sys/scsi/sd.c:271 config_suspend(ffff80000019f000,6) at config_suspend+0x4c sys/kern/subr_autoconf.c:831 scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x6b scsi_activate_link sys/scsi/scsiconf.c:410 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x6b scsi_activate_bus sys/scsi/scsiconf.c:360 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x6b 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+0x75 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+0x30e sys/kern/subr_autoconf.c:855 boot(104) at boot+0x17a sys/arch/amd64/amd64/machdep.c:858 dt_prov_syscall_alloc(104,104,ffffffff82941990,1) at dt_prov_syscall_alloc panic(ffffffff825aa846) at panic+0x18b sys/kern/subr_prf.c:231 __assert(ffffffff826225f2,ffffffff82590a82,3f,ffffffff826588d5) at __assert+0x25 sys/kern/subr_prf.c:157 _kernel_lock() at _kernel_lock+0xb2 sys/kern/kern_lock.c:63 scsi_xs_get(ffff80000002c500,3) at scsi_xs_get+0x12d scsi_iopool_get sys/scsi/scsi_base.c:257 [inline] scsi_xs_get(ffff80000002c500,3) at scsi_xs_get+0x12d sys/scsi/scsi_base.c:653 sdactivate(ffff80000019f000,6) at sdactivate+0x1d6 sd_flush sys/scsi/sd.c:1862 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1d6 sys/scsi/sd.c:271 config_suspend(ffff80000019f000,6) at config_suspend+0x4c sys/kern/subr_autoconf.c:831 scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x6b scsi_activate_link sys/scsi/scsiconf.c:410 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x6b scsi_activate_bus sys/scsi/scsiconf.c:360 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x6b 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+0x75 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+0x30e sys/kern/subr_autoconf.c:855 boot(104) at boot+0x17a sys/arch/amd64/amd64/machdep.c:858 dt_prov_syscall_alloc(104,104,ffffffff82941990,1) at dt_prov_syscall_alloc panic(ffffffff825aa846) at panic+0x18b sys/kern/subr_prf.c:231 __assert(ffffffff826225f2,ffffffff82590a82,3f,ffffffff826588d5) at __assert+0x25 sys/kern/subr_prf.c:157 _kernel_lock() at _kernel_lock+0xb2 sys/kern/kern_lock.c:63 scsi_xs_get(ffff80000002c500,3) at scsi_xs_get+0x12d scsi_iopool_get sys/scsi/scsi_base.c:257 [inline] scsi_xs_get(ffff80000002c500,3) at scsi_xs_get+0x12d sys/scsi/scsi_base.c:653 sdactivate(ffff80000019f000,6) at sdactivate+0x1d6 sd_flush sys/scsi/sd.c:1862 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1d6 sys/scsi/sd.c:271 config_suspend(ffff80000019f000,6) at config_suspend+0x4c sys/kern/subr_autoconf.c:831 scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x6b scsi_activate_link sys/scsi/scsiconf.c:410 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x6b scsi_activate_bus sys/scsi/scsiconf.c:360 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x6b 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+0x75 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+0x30e sys/kern/subr_autoconf.c:855 boot(104) at boot+0x17a sys/arch/amd64/amd64/machdep.c:858 dt_prov_syscall_alloc(104,104,ffffffff82941990,1) at dt_prov_syscall_alloc panic(ffffffff825aa846) at panic+0x18b sys/kern/subr_prf.c:231 __assert(ffffffff826225f2,ffffffff82590a82,3f,ffffffff826588d5) at __assert+0x25 sys/kern/subr_prf.c:157 _kernel_lock() at _kernel_lock+0xb2 sys/kern/kern_lock.c:63 scsi_xs_get(ffff80000002c500,3) at scsi_xs_get+0x12d scsi_iopool_get sys/scsi/scsi_base.c:257 [inline] scsi_xs_get(ffff80000002c500,3) at scsi_xs_get+0x12d sys/scsi/scsi_base.c:653 sdactivate(ffff80000019f000,6) at sdactivate+0x1d6 sd_flush sys/scsi/sd.c:1862 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1d6 sys/scsi/sd.c:271 config_suspend(ffff80000019f000,6) at config_suspend+0x4c sys/kern/subr_autoconf.c:831 scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x6b scsi_activate_link sys/scsi/scsiconf.c:410 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x6b scsi_activate_bus sys/scsi/scsiconf.c:360 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x6b 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+0x75 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+0x30e sys/kern/subr_autoconf.c:855 boot(104) at boot+0x17a sys/arch/amd64/amd64/machdep.c:858 dt_prov_syscall_alloc(104,104,ffffffff82941990,1) at dt_prov_syscall_alloc panic(ffffffff825aa846) at panic+0x18b sys/kern/subr_prf.c:231 __assert(ffffffff826225f2,ffffffff82590a82,3f,ffffffff826588d5) at __assert+0x25 sys/kern/subr_prf.c:157 _kernel_lock() at _kernel_lock+0xb2 sys/kern/kern_lock.c:63 scsi_xs_get(ffff80000002c500,3) at scsi_xs_get+0x12d scsi_iopool_get sys/scsi/scsi_base.c:257 [inline] scsi_xs_get(ffff80000002c500,3) at scsi_xs_get+0x12d sys/scsi/scsi_base.c:653 sdactivate(ffff80000019f000,6) at sdactivate+0x1d6 sd_flush sys/scsi/sd.c:1862 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1d6 sys/scsi/sd.c:271 config_suspend(ffff80000019f000,6) at config_suspend+0x4c sys/kern/subr_autoconf.c:831 scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x6b scsi_activate_link sys/scsi/scsiconf.c:410 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x6b scsi_activate_bus sys/scsi/scsiconf.c:360 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x6b 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+0x75 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+0x30e sys/kern/subr_autoconf.c:855 boot(104) at boot+0x17a sys/arch/amd64/amd64/machdep.c:858 dt_prov_syscall_alloc(104,104,ffffffff82941990,1) at dt_prov_syscall_alloc panic(ffffffff825a0637) at panic+0x18b sys/kern/subr_prf.c:231 kerntrap(ffffffff82940730) at kerntrap+0x1c7 sys/arch/amd64/amd64/trap.c:327 Xcalltrap_specstk_untramp() at Xcalltrap_specstk_untramp+0xf Bad frame pointer: 0xffff80002c9440c0 end trace frame: 0xffff80002c9440c0, 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(ffffffff825aa846) at panic+0x16b sys/kern/subr_prf.c:229 __assert(ffffffff826225f2,ffffffff82590a82,3f,ffffffff826588d5) at __assert+0x25 sys/kern/subr_prf.c:157 _kernel_lock() at _kernel_lock+0xb2 sys/kern/kern_lock.c:63 scsi_xs_get(ffff80000002c500,3) at scsi_xs_get+0x12d scsi_iopool_get sys/scsi/scsi_base.c:257 [inline] scsi_xs_get(ffff80000002c500,3) at scsi_xs_get+0x12d sys/scsi/scsi_base.c:653 sdactivate(ffff80000019f000,6) at sdactivate+0x1d6 sd_flush sys/scsi/sd.c:1862 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1d6 sys/scsi/sd.c:271 config_suspend(ffff80000019f000,6) at config_suspend+0x4c sys/kern/subr_autoconf.c:831 scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x6b scsi_activate_link sys/scsi/scsiconf.c:410 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x6b scsi_activate_bus sys/scsi/scsiconf.c:360 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x6b 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+0x75 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+0x30e sys/kern/subr_autoconf.c:855 boot(104) at boot+0x17a sys/arch/amd64/amd64/machdep.c:858 dt_prov_syscall_alloc(104,104,ffffffff82941990,1) at dt_prov_syscall_alloc panic(ffffffff825aa846) at panic+0x18b sys/kern/subr_prf.c:231 __assert(ffffffff826225f2,ffffffff82590a82,3f,ffffffff826588d5) at __assert+0x25 sys/kern/subr_prf.c:157 _kernel_lock() at _kernel_lock+0xb2 sys/kern/kern_lock.c:63 scsi_xs_get(ffff80000002c500,3) at scsi_xs_get+0x12d scsi_iopool_get sys/scsi/scsi_base.c:257 [inline] scsi_xs_get(ffff80000002c500,3) at scsi_xs_get+0x12d sys/scsi/scsi_base.c:653 sdactivate(ffff80000019f000,6) at sdactivate+0x1d6 sd_flush sys/scsi/sd.c:1862 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1d6 sys/scsi/sd.c:271 config_suspend(ffff80000019f000,6) at config_suspend+0x4c sys/kern/subr_autoconf.c:831 scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x6b scsi_activate_link sys/scsi/scsiconf.c:410 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x6b scsi_activate_bus sys/scsi/scsiconf.c:360 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x6b 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+0x75 sys/dev/pci/pci.c:230 uvm_fault(0xffffffff82b5c8onf3i3g_8a 0xvate0c,hi1l) -ren(ffatffl0pag002e ff0au80lt)in st ervisor mode trap ctnfeg6a cciovdate_ c0hirirpe nff0f12fff8140e4d6 cs 8 rflags 10246c cr2n0i gc_pslu c end_pa fffl86)02t21efb0 gsbase 0xfffcon0ig_suspend_a0 lkgs+0xb30e 0x0 panic: trap type 6,boot(e00, at ffffffff8140e4d6booPa0xlla traceback, suppressed... dt_prov_syscall_alloc(104,104,ffffffff82941990,1) at dt_prov_syscall_alloc panic(ffffffff825aa846) at panic+0x18b sys/kern/subr_prf.c:231 __assert(ffffffff826225f2,ffffffff82590a82,3f,ffffffff826588d5) at __assert+0x25 sys/kern/subr_prf.c:157 _kernel_lock() at _kernel_lock+0xb2 sys/kern/kern_lock.c:63 scsi_xs_get(ffff80000002c500,3) at scsi_xs_get+0x12d scsi_iopool_get sys/scsi/scsi_base.c:257 [inline] scsi_xs_get(ffff80000002c500,3) at scsi_xs_get+0x12d sys/scsi/scsi_base.c:653 sdactivate(ffff80000019f000,6) at sdactivate+0x1d6 sd_flush sys/scsi/sd.c:1862 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1d6 sys/scsi/sd.c:271 config_suspend(ffff80000019f000,6) at config_suspend+0x4c sys/kern/subr_autoconf.c:831 scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x6b scsi_activate_link sys/scsi/scsiconf.c:410 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x6b scsi_activate_bus sys/scsi/scsiconf.c:360 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x6b 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+0x75 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+0x30e sys/kern/subr_autoconf.c:855 boot(104) at boot+0x17a sys/arch/amd64/amd64/machdep.c:858 dt_prov_syscall_alloc(104,104,ffffffff82941990,1) at dt_prov_syscall_alloc panic(ffffffff825aa846) at panic+0x18b sys/kern/subr_prf.c:231 __assert(ffffffff826225f2,ffffffff82590a82,3f,ffffffff826588d5) at __assert+0x25 sys/kern/subr_prf.c:157 _kernel_lock() at _kernel_lock+0xb2 sys/kern/kern_lock.c:63 scsi_xs_get(ffff80000002c500,3) at scsi_xs_get+0x12d scsi_iopool_get sys/scsi/scsi_base.c:257 [inline] scsi_xs_get(ffff80000002c500,3) at scsi_xs_get+0x12d sys/scsi/scsi_base.c:653 sdactivate(ffff80000019f000,6) at sdactivate+0x1d6 sd_flush sys/scsi/sd.c:1862 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1d6 sys/scsi/sd.c:271 config_suspend(ffff80000019f000,6) at config_suspend+0x4c sys/kern/subr_autoconf.c:831 scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x6b scsi_activate_link sys/scsi/scsiconf.c:410 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x6b scsi_activate_bus sys/scsi/scsiconf.c:360 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x6b 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+0x75 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+0x30e sys/kern/subr_autoconf.c:855 boot(104) at boot+0x17a sys/arch/amd64/amd64/machdep.c:858 dt_prov_syscall_alloc(104,104,ffffffff82941990,1) at dt_prov_syscall_alloc panic(ffffffff825aa846) at panic+0x18b sys/kern/subr_prf.c:231 __assert(ffffffff826225f2,ffffffff82590a82,3f,ffffffff826588d5) at __assert+0x25 sys/kern/subr_prf.c:157 _kernel_lock() at _kernel_lock+0xb2 sys/kern/kern_lock.c:63 scsi_xs_get(ffff80000002c500,3) at scsi_xs_get+0x12d scsi_iopool_get sys/scsi/scsi_base.c:257 [inline] scsi_xs_get(ffff80000002c500,3) at scsi_xs_get+0x12d sys/scsi/scsi_base.c:653 sdactivate(ffff80000019f000,6) at sdactivate+0x1d6 sd_flush sys/scsi/sd.c:1862 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1d6 sys/scsi/sd.c:271 config_suspend(ffff80000019f000,6) at config_suspend+0x4c sys/kern/subr_autoconf.c:831 scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x6b scsi_activate_link sys/scsi/scsiconf.c:410 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x6b scsi_activate_bus sys/scsi/scsiconf.c:360 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x6b 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+0x75 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+0x30e sys/kern/subr_autoconf.c:855 boot(104) at boot+0x17a sys/arch/amd64/amd64/machdep.c:858 dt_prov_syscall_alloc(104,104,ffffffff82941990,1) at dt_prov_syscall_alloc panic(ffffffff825aa846) at panic+0x18b sys/kern/subr_prf.c:231 __assert(ffffffff826225f2,ffffffff82590a82,3f,ffffffff826588d5) at __assert+0x25 sys/kern/subr_prf.c:157 _kernel_lock() at _kernel_lock+0xb2 sys/kern/kern_lock.c:63 scsi_xs_get(ffff80000002c500,3) at scsi_xs_get+0x12d scsi_iopool_get sys/scsi/scsi_base.c:257 [inline] scsi_xs_get(ffff80000002c500,3) at scsi_xs_get+0x12d sys/scsi/scsi_base.c:653 sdactivate(ffff80000019f000,6) at sdactivate+0x1d6 sd_flush sys/scsi/sd.c:1862 [inline] sdactivate(ffff80000019f000,6) at sdactivate+0x1d6 sys/scsi/sd.c:271 config_suspend(ffff80000019f000,6) at config_suspend+0x4c sys/kern/subr_autoconf.c:831 scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x6b scsi_activate_link sys/scsi/scsiconf.c:410 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x6b scsi_activate_bus sys/scsi/scsiconf.c:360 [inline] scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x6b 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 coTheg _oapctivaatteinchilystn+ 0hxa13 h alted. Please press any keyc itacti vraetbeo(ff f 0re00002ootin6) ..t SeaBIOS (version 1.8.2-google) Total RAM Size = 0x0000000080000000 = 2048 MiB CPUs found: 2 Max CPUs supported: 2 SeaBIOS (version 1.8.2-google) Machine UUID cacfac85-bd04-7459-f730-6e0582505e9f found virtio-scsi at 0:3 virtio-scsi vendor='Google' product='PersistentDisk' rev='1' type=0 removable=0 virtio-scsi blksize=512 sectors=4194304 = 2048 MiB drive 0x000f2480: PCHS=0/0/0 translation=lba LCHS=520/128/63 s=4194304 Sending Seabios boot VM event. Booting from Hard Disk 0... >> OpenBSD/amd64 BOOT 3.55 boot> |/-\|/-\|/booting hd0a:/bsd: -\|/-\22505345|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/+3822600-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\+852000|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\+0+1871872| [1137619/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-+128+1483896\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/+964880-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|]=0x1f22de0 /-\|/-\|entry point at 0xffffffff81001000 [ using 3587552 bytes of bsd ELF symbol table ] Copyright (c) 1982, 1986, 1989, 1991, 1993 The Regents of the University of California. All rights reserved. Copyright (c) 1995-2022 OpenBSD. All rights reserved. https://www.OpenBSD.org OpenBSD 7.2-current (SYZKALLER) #0: Sun Nov 20 12:38:22 PST 2022 root@ci-openbsd.c.syzkaller.internal:/syzkaller/managers/multicore/kernel/sys/arch/amd64/compile/SYZKALLER real mem = 2130694144 (2031MB) avail mem = 2017509376 (1924MB) random: good seed from bootblocks mpath0 at root scsibus0 at mpath0: 256 targets mainbus0 at root bios0 at mainbus0: SMBIOS rev. 2.4 @ 0xf2510 (12 entries) bios0: vendor Google version "Google" date 10/26/2022 bios0: Google Google Compute Engine acpi0 at bios0: ACPI 2.0 acpi0: sleep states S3 S4 S5 acpi0: tables DSDT FACP SRAT APIC SSDT WAET acpi0: wakeup devices acpitimer0 at acpi0: 3579545 Hz, 24 bits acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat cpu0 at mainbus0: apid 0 (boot processor) cpu0: Intel(R) Xeon(R) CPU @ 2.20GHz, 2200.38 MHz, 06-4f-00 cpu0: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,SS,HTT,SSE3,PCLMUL,VMX,SSSE3,FMA3,CX16,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,AES,XSAVE,AVX,F16C,RDRAND,HV,NXE,PAGE1GB,RDTSCP,LONG,LAHF,ABM,3DNOWP,ITSC,FSGSBASE,TSC_ADJUST,BMI1,HLE,AVX2,SMEP,BMI2,ERMS,INVPCID,RTM,RDSEED,ADX,SMAP,MD_CLEAR,IBRS,IBPB,STIBP,SSBD,ARAT,XSAVEOPT,MELTDOWN cpu0: 32KB 64b/line 8-way D-cache, 32KB 64b/line 8-way I-cache, 256KB 64b/line 8-way L2 cache, 55MB 64b/line 20-way L3 cache cpu0: smt 0, core 0, package 0 mtrr: Pentium Pro MTRR support, 8 var ranges, 88 fixed ranges cpu0: apic clock running at 1000MHz cpu1 at mainbus0: apid 1 (application processor) cpu1: Intel(R) Xeon(R) CPU @ 2.20GHz, 2200.52 MHz, 06-4f-00 cpu1: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,SS,HTT,SSE3,PCLMUL,VMX,SSSE3,FMA3,CX16,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,AES,XSAVE,AVX,F16C,RDRAND,HV,NXE,PAGE1GB,RDTSCP,LONG,LAHF,ABM,3DNOWP,ITSC,FSGSBASE,TSC_ADJUST,BMI1,HLE,AVX2,SMEP,BMI2,ERMS,INVPCID,RTM,RDSEED,ADX,SMAP,MD_CLEAR,IBRS,IBPB,STIBP,SSBD,ARAT,XSAVEOPT,MELTDOWN cpu1: 32KB 64b/line 8-way D-cache, 32KB 64b/line 8-way I-cache, 256KB 64b/line 8-way L2 cache, 55MB 64b/line 20-way L3 cache cpu1: smt 1, core 0, package 0 ioapic0 at mainbus0: apid 0 pa 0xfec00000, version 11, 24 pins acpiprt0 at acpi0: bus 0 (PCI0) "ACPI0006" at acpi0 not configured acpipci0 at acpi0 PCI0 acpicmos0 at acpi0 com0 at acpi0 COM1 addr 0x3f8/0x8 irq 4: ns16550a, 16 byte fifo com0: console com1 at acpi0 COM2 addr 0x2f8/0x8 irq 3: ns16550a, 16 byte fifo com2 at acpi0 COM3 addr 0x3e8/0x8 irq 6: ns16550a, 16 byte fifo com3 at acpi0 COM4 addr 0x2e8/0x8 irq 7: ns16550a, 16 byte fifo "QEMU0001" at acpi0 not configured "ACPI0007" at acpi0 not configured "ACPI0007" at acpi0 not configured acpicpu0 at acpi0: C1(@1 halt!) acpicpu1 at acpi0: C1(@1 halt!) cpu0: using VERW MDS workaround pvbus0 at mainbus0: KVM pvclock0 at pvbus0 pci0 at mainbus0 bus 0 pchb0 at pci0 dev 0 function 0 "Intel 82441FX" rev 0x02 pcib0 at pci0 dev 1 function 0 "Intel 82371AB PIIX4 ISA" rev 0x03 piixpm0 at pci0 dev 1 function 3 "Intel 82371AB Power" rev 0x03: SMBus disabled virtio0 at pci0 dev 3 function 0 "Qumranet Virtio SCSI" rev 0x00 vioscsi0 at virtio0: qsize 8192 scsibus1 at vioscsi0: 253 targets sd0 at scsibus1 targ 1 lun 0: serial.Google_PersistentDisk_ sd0: 2048MB, 512 bytes/sector, 4194304 sectors, thin virtio0: msix shared virtio1 at pci0 dev 4 function 0 "Qumranet Virtio Network" rev 0x00 vio0 at virtio1: address 42:01:0a:80:0a:28 virtio1: msix per-VQ unknown vendor 0x1ae0 product 0xa002 (class display subclass VGA, rev 0x01) at pci0 dev 5 function 0 not configured virtio2 at pci0 dev 6 function 0 "Qumranet Virtio Memory Balloon" rev 0x00 viomb0 at virtio2 virtio2: msix per-VQ virtio3 at pci0 dev 7 function 0 "Qumranet Virtio RNG" rev 0x00 viornd0 at virtio3 virtio3: msix shared isa0 at pcib0 isadma0 at isa0 pckbc0 at isa0 port 0x60/5 irq 1 irq 12 pckbd0 at pckbc0 (kbd slot) wskbd0 at pckbd0 mux 1 pms0 at pckbc0 (aux slot) wsmouse0 at pms0 mux 0 pcppi0 at isa0 port 0x61 spkr0 at pcppi0 vmm0 at mainbus0: VMX/EPT (using slow L1TF mitigation) vscsi0 at root scsibus2 at vscsi0: 256 targets softraid0 at root scsibus3 at softraid0: 256 targets root on sd0a (c88b6c2bb804cb90.a) swap on sd0b dump on sd0b WARNING: / was not properly unmounted WARNING: clock lost 15382 days WARNING: CHECK AND RESET THE DATE!