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(ffffffff8259a0ff) at panic+0x16b sys/kern/subr_prf.c:233 __assert(ffffffff82613e2d,ffffffff8258219f,3f,ffffffff826493d4) at __assert+0x25 sys/kern/subr_prf.c:161 _kernel_lock() at _kernel_lock+0xb2 sys/kern/kern_lock.c:63 single_thread_check_locked(ffff80002e4fcd20,1,c) at single_thread_check_locked+0x1f6 sys/kern/kern_sig.c:2037 single_thread_check(ffff80002e4fcd20,1) at single_thread_check+0x4b sys/kern/kern_sig.c:2057 sleep_finish(ffff800024b96340,1) at sleep_finish+0x75 sleep_signal_check sys/kern/kern_synch.c:464 [inline] sleep_finish(ffff800024b96340,1) at sleep_finish+0x75 sys/kern/kern_synch.c:400 rwsleep(ffff80002e4fcd20,ffffffff829a5750,120,ffffffff82596a6a,0) at rwsleep+0xd5 sys/kern/kern_synch.c:314 futex_wait(904bdffdb60,2,0,2) at futex_wait+0x13c sys/kern/sys_futex.c:260 sys_futex(ffff80002e4fcd20,ffff800024b964d0,ffff800024b96530) at sys_futex+0xf8 sys/kern/sys_futex.c:111 syscall(ffff800024b965a0) at syscall+0x484 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff800024b965a0) at syscall+0x484 sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x904effc8040, count: 246 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(ffffffff8259a0ff) at panic+0x16b sys/kern/subr_prf.c:233 __assert(ffffffff82613e2d,ffffffff8258219f,3f,ffffffff826493d4) at __assert+0x25 sys/kern/subr_prf.c:161 _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(ffff80000002d500) 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(fffffd8073527eb0) at sdstrategy+0x187 sys/scsi/sd.c:567 spec_strategy(ffff800024b95bc8) at spec_strategy+0x75 sys/kern/spec_vnops.c:456 VOP_STRATEGY(fffffd807efb4a80,fffffd8073527eb0) at VOP_STRATEGY+0x9b sys/kern/vfs_vops.c:628 bwrite(fffffd8073527eb0) at bwrite+0x1f0 sys/kern/vfs_bio.c:763 ffs_update(fffffd806efacdd8,1) at ffs_update+0x27d sys/ufs/ffs/ffs_inode.c:113 ffs_truncate(fffffd806efacdd8,0,0,ffffffffffffffff) at ffs_truncate+0xcec ufs_inactive(ffff800024b95f58) at ufs_inactive+0x14e sys/ufs/ufs/ufs_inode.c:84 VOP_INACTIVE(fffffd80798044d8,ffff80002e4fcd20) at VOP_INACTIVE+0xc4 sys/kern/vfs_vops.c:489 vput(fffffd80798044d8) at vput+0xb6 sys/kern/vfs_subr.c:780 vn_close(fffffd80798044d8,2,ffffffffffffffff,ffff80002e4fcd20) at vn_close+0x7e sys/kern/vfs_vnops.c:297 acct_shutdown() at acct_shutdown+0x6b sys/kern/kern_acct.c:360 vfs_shutdown(ffff80002e4fcd20) at vfs_shutdown+0x16 sys/kern/vfs_subr.c:1758 boot(100) at boot+0xc8 sys/arch/amd64/amd64/machdep.c:830 filt_hotplugrdetach(100) at filt_hotplugrdetach panic(ffffffff8259a0ff) at panic+0x18b sys/kern/subr_prf.c:235 __assert(ffffffff82613e2d,ffffffff8258219f,3f,ffffffff826493d4) at __assert+0x25 sys/kern/subr_prf.c:161 _kernel_lock() at _kernel_lock+0xb2 sys/kern/kern_lock.c:63 single_thread_check_locked(ffff80002e4fcd20,1,c) at single_thread_check_locked+0x1f6 sys/kern/kern_sig.c:2037 single_thread_check(ffff80002e4fcd20,1) at single_thread_check+0x4b sys/kern/kern_sig.c:2057 sleep_finish(ffff800024b96340,1) at sleep_finish+0x75 sleep_signal_check sys/kern/kern_synch.c:464 [inline] sleep_finish(ffff800024b96340,1) at sleep_finish+0x75 sys/kern/kern_synch.c:400 rwsleep(ffff80002e4fcd20,ffffffff829a5750,120,ffffffff82596a6a,0) at rwsleep+0xd5 sys/kern/kern_synch.c:314 futex_wait(904bdffdb60,2,0,2) at futex_wait+0x13c sys/kern/sys_futex.c:260 sys_futex(ffff80002e4fcd20,ffff800024b964d0,ffff800024b96530) at sys_futex+0xf8 sys/kern/sys_futex.c:111 syscall(ffff800024b965a0) at syscall+0x484 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff800024b965a0) at syscall+0x484 sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x904effc8040, count: 226 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(ffffffff8259a0ff) at panic+0x16b sys/kern/subr_prf.c:233 __assert(ffffffff82613e2d,ffffffff8258219f,3f,ffffffff826493d4) at __assert+0x25 sys/kern/subr_prf.c:161 _kernel_lock() at _kernel_lock+0xb2 sys/kern/kern_lock.c:63 selwakeup(fffffd806f31ea80) at selwakeup+0x16 klist_empty sys/sys/event.h:361 [inline] selwakeup(fffffd806f31ea80) at selwakeup+0x16 sys/kern/sys_generic.c:885 sorwakeup(fffffd806f31e968) at sorwakeup+0xc9 sys/kern/uipc_socket.c:1700 rtm_sendup(fffffd806f31e968,fffffd80671ab800) at rtm_sendup+0xfa sys/net/rtsock.c:609 route_input(fffffd80671ab800,0,0) at route_input+0x197 sys/net/rtsock.c:579 rtm_ifchg(ffff8000006b8000) at rtm_ifchg+0xdd sys/net/rtsock.c:1787 if_down(ffff8000006b8000) at if_down+0x108 if_linkstate sys/net/if.c:1635 [inline] if_down(ffff8000006b8000) at if_down+0x108 sys/net/if.c:1583 if_downall() at if_downall+0x7d sys/net/if.c:1564 boot(104) at boot+0x12c sys/arch/amd64/amd64/machdep.c:838 filt_hotplugrdetach(104) at filt_hotplugrdetach panic(ffffffff8259a0ff) at panic+0x18b sys/kern/subr_prf.c:235 __assert(ffffffff82613e2d,ffffffff8258219f,3f,ffffffff826493d4) at __assert+0x25 sys/kern/subr_prf.c:161 _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(ffff80000002d500) 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(fffffd8073527eb0) at sdstrategy+0x187 sys/scsi/sd.c:567 spec_strategy(ffff800024b95bc8) at spec_strategy+0x75 sys/kern/spec_vnops.c:456 VOP_STRATEGY(fffffd807efb4a80,fffffd8073527eb0) at VOP_STRATEGY+0x9b sys/kern/vfs_vops.c:628 bwrite(fffffd8073527eb0) at bwrite+0x1f0 sys/kern/vfs_bio.c:763 ffs_update(fffffd806efacdd8,1) at ffs_update+0x27d sys/ufs/ffs/ffs_inode.c:113 ffs_truncate(fffffd806efacdd8,0,0,ffffffffffffffff) at ffs_truncate+0xcec ufs_inactive(ffff800024b95f58) at ufs_inactive+0x14e sys/ufs/ufs/ufs_inode.c:84 VOP_INACTIVE(fffffd80798044d8,ffff80002e4fcd20) at VOP_INACTIVE+0xc4 sys/kern/vfs_vops.c:489 vput(fffffd80798044d8) at vput+0xb6 sys/kern/vfs_subr.c:780 vn_close(fffffd80798044d8,2,ffffffffffffffff,ffff80002e4fcd20) at vn_close+0x7e sys/kern/vfs_vnops.c:297 acct_shutdown() at acct_shutdown+0x6b sys/kern/kern_acct.c:360 vfs_shutdown(ffff80002e4fcd20) at vfs_shutdown+0x16 sys/kern/vfs_subr.c:1758 boot(100) at boot+0xc8 sys/arch/amd64/amd64/machdep.c:830 filt_hotplugrdetach(100) at filt_hotplugrdetach panic(ffffffff8259a0ff) at panic+0x18b sys/kern/subr_prf.c:235 __assert(ffffffff82613e2d,ffffffff8258219f,3f,ffffffff826493d4) at __assert+0x25 sys/kern/subr_prf.c:161 _kernel_lock() at _kernel_lock+0xb2 sys/kern/kern_lock.c:63 single_thread_check_locked(ffff80002e4fcd20,1,c) at single_thread_check_locked+0x1f6 sys/kern/kern_sig.c:2037 single_thread_check(ffff80002e4fcd20,1) at single_thread_check+0x4b sys/kern/kern_sig.c:2057 sleep_finish(ffff800024b96340,1) at sleep_finish+0x75 sleep_signal_check sys/kern/kern_synch.c:464 [inline] sleep_finish(ffff800024b96340,1) at sleep_finish+0x75 sys/kern/kern_synch.c:400 rwsleep(ffff80002e4fcd20,ffffffff829a5750,120,ffffffff82596a6a,0) at rwsleep+0xd5 sys/kern/kern_synch.c:314 futex_wait(904bdffdb60,2,0,2) at futex_wait+0x13c sys/kern/sys_futex.c:260 sys_futex(ffff80002e4fcd20,ffff800024b964d0,ffff800024b96530) at sys_futex+0xf8 sys/kern/sys_futex.c:111 syscall(ffff800024b965a0) at syscall+0x484 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff800024b965a0) at syscall+0x484 sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x904effc8040, count: 214 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(ffffffff8259a0ff) at panic+0x16b sys/kern/subr_prf.c:233 __assert(ffffffff82613e2d,ffffffff8258219f,3f,ffffffff826493d4) at __assert+0x25 sys/kern/subr_prf.c:161 _kernel_lock() at _kernel_lock+0xb2 sys/kern/kern_lock.c:63 selwakeup(fffffd806f31ea80) at selwakeup+0x16 klist_empty sys/sys/event.h:361 [inline] selwakeup(fffffd806f31ea80) at selwakeup+0x16 sys/kern/sys_generic.c:885 sorwakeup(fffffd806f31e968) at sorwakeup+0xc9 sys/kern/uipc_socket.c:1700 rtm_sendup(fffffd806f31e968,fffffd806d626000) at rtm_sendup+0xfa sys/net/rtsock.c:609 route_input(fffffd806d626000,0,0) at route_input+0x197 sys/net/rtsock.c:579 rtm_ifchg(ffff8000001a02a8) at rtm_ifchg+0xdd sys/net/rtsock.c:1787 if_down(ffff8000001a02a8) at if_down+0x108 if_linkstate sys/net/if.c:1635 [inline] if_down(ffff8000001a02a8) at if_down+0x108 sys/net/if.c:1583 if_downall() at if_downall+0x7d sys/net/if.c:1564 boot(104) at boot+0x12c sys/arch/amd64/amd64/machdep.c:838 filt_hotplugrdetach(104) at filt_hotplugrdetach panic(ffffffff8259a0ff) at panic+0x18b sys/kern/subr_prf.c:235 __assert(ffffffff82613e2d,ffffffff8258219f,3f,ffffffff826493d4) at __assert+0x25 sys/kern/subr_prf.c:161 _kernel_lock() at _kernel_lock+0xb2 sys/kern/kern_lock.c:63 selwakeup(fffffd806f31ea80) at selwakeup+0x16 klist_empty sys/sys/event.h:361 [inline] selwakeup(fffffd806f31ea80) at selwakeup+0x16 sys/kern/sys_generic.c:885 sorwakeup(fffffd806f31e968) at sorwakeup+0xc9 sys/kern/uipc_socket.c:1700 rtm_sendup(fffffd806f31e968,fffffd80671ab800) at rtm_sendup+0xfa sys/net/rtsock.c:609 route_input(fffffd80671ab800,0,0) at route_input+0x197 sys/net/rtsock.c:579 rtm_ifchg(ffff8000006b8000) at rtm_ifchg+0xdd sys/net/rtsock.c:1787 if_down(ffff8000006b8000) at if_down+0x108 if_linkstate sys/net/if.c:1635 [inline] if_down(ffff8000006b8000) at if_down+0x108 sys/net/if.c:1583 if_downall() at if_downall+0x7d sys/net/if.c:1564 boot(104) at boot+0x12c sys/arch/amd64/amd64/machdep.c:838 filt_hotplugrdetach(104) at filt_hotplugrdetach panic(ffffffff8259a0ff) at panic+0x18b sys/kern/subr_prf.c:235 __assert(ffffffff82613e2d,ffffffff8258219f,3f,ffffffff826493d4) at __assert+0x25 sys/kern/subr_prf.c:161 _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(ffff80000002d500) 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(fffffd8073527eb0) at sdstrategy+0x187 sys/scsi/sd.c:567 spec_strategy(ffff800024b95bc8) at spec_strategy+0x75 sys/kern/spec_vnops.c:456 VOP_STRATEGY(fffffd807efb4a80,fffffd8073527eb0) at VOP_STRATEGY+0x9b sys/kern/vfs_vops.c:628 bwrite(fffffd8073527eb0) at bwrite+0x1f0 sys/kern/vfs_bio.c:763 ffs_update(fffffd806efacdd8,1) at ffs_update+0x27d sys/ufs/ffs/ffs_inode.c:113 ffs_truncate(fffffd806efacdd8,0,0,ffffffffffffffff) at ffs_truncate+0xcec ufs_inactive(ffff800024b95f58) at ufs_inactive+0x14e sys/ufs/ufs/ufs_inode.c:84 VOP_INACTIVE(fffffd80798044d8,ffff80002e4fcd20) at VOP_INACTIVE+0xc4 sys/kern/vfs_vops.c:489 vput(fffffd80798044d8) at vput+0xb6 sys/kern/vfs_subr.c:780 vn_close(fffffd80798044d8,2,ffffffffffffffff,ffff80002e4fcd20) at vn_close+0x7e sys/kern/vfs_vnops.c:297 acct_shutdown() at acct_shutdown+0x6b sys/kern/kern_acct.c:360 vfs_shutdown(ffff80002e4fcd20) at vfs_shutdown+0x16 sys/kern/vfs_subr.c:1758 boot(100) at boot+0xc8 sys/arch/amd64/amd64/machdep.c:830 filt_hotplugrdetach(100) at filt_hotplugrdetach panic(ffffffff8259a0ff) at panic+0x18b sys/kern/subr_prf.c:235 __assert(ffffffff82613e2d,ffffffff8258219f,3f,ffffffff826493d4) at __assert+0x25 sys/kern/subr_prf.c:161 _kernel_lock() at _kernel_lock+0xb2 sys/kern/kern_lock.c:63 single_thread_check_locked(ffff80002e4fcd20,1,c) at single_thread_check_locked+0x1f6 sys/kern/kern_sig.c:2037 single_thread_check(ffff80002e4fcd20,1) at single_thread_check+0x4b sys/kern/kern_sig.c:2057 sleep_finish(ffff800024b96340,1) at sleep_finish+0x75 sleep_signal_check sys/kern/kern_synch.c:464 [inline] sleep_finish(ffff800024b96340,1) at sleep_finish+0x75 sys/kern/kern_synch.c:400 rwsleep(ffff80002e4fcd20,ffffffff829a5750,120,ffffffff82596a6a,0) at rwsleep+0xd5 sys/kern/kern_synch.c:314 futex_wait(904bdffdb60,2,0,2) at futex_wait+0x13c sys/kern/sys_futex.c:260 sys_futex(ffff80002e4fcd20,ffff800024b964d0,ffff800024b96530) at sys_futex+0xf8 sys/kern/sys_futex.c:111 syscall(ffff800024b965a0) at syscall+0x484 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff800024b965a0) at syscall+0x484 sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x904effc8040, count: 202 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(ffffffff8259a0ff) at panic+0x16b sys/kern/subr_prf.c:233 __assert(ffffffff82613e2d,ffffffff8258219f,3f,ffffffff826493d4) at __assert+0x25 sys/kern/subr_prf.c:161 _kernel_lock() at _kernel_lock+0xb2 sys/kern/kern_lock.c:63 selwakeup(fffffd806f31ea80) at selwakeup+0x16 klist_empty sys/sys/event.h:361 [inline] selwakeup(fffffd806f31ea80) at selwakeup+0x16 sys/kern/sys_generic.c:885 sorwakeup(fffffd806f31e968) at sorwakeup+0xc9 sys/kern/uipc_socket.c:1700 rtm_sendup(fffffd806f31e968,fffffd806f010700) at rtm_sendup+0xfa sys/net/rtsock.c:609 route_input(fffffd806f010700,0,0) at route_input+0x197 sys/net/rtsock.c:579 rtm_ifchg(ffff800000bb5010) at rtm_ifchg+0xdd sys/net/rtsock.c:1787 if_down(ffff800000bb5010) at if_down+0x108 if_linkstate sys/net/if.c:1635 [inline] if_down(ffff800000bb5010) at if_down+0x108 sys/net/if.c:1583 if_downall() at if_downall+0x7d sys/net/if.c:1564 boot(104) at boot+0x12c sys/arch/amd64/amd64/machdep.c:838 filt_hotplugrdetach(104) at filt_hotplugrdetach panic(ffffffff8259a0ff) at panic+0x18b sys/kern/subr_prf.c:235 __assert(ffffffff82613e2d,ffffffff8258219f,3f,ffffffff826493d4) at __assert+0x25 sys/kern/subr_prf.c:161 _kernel_lock() at _kernel_lock+0xb2 sys/kern/kern_lock.c:63 selwakeup(fffffd806f31ea80) at selwakeup+0x16 klist_empty sys/sys/event.h:361 [inline] selwakeup(fffffd806f31ea80) at selwakeup+0x16 sys/kern/sys_generic.c:885 sorwakeup(fffffd806f31e968) at sorwakeup+0xc9 sys/kern/uipc_socket.c:1700 rtm_sendup(fffffd806f31e968,fffffd806d626000) at rtm_sendup+0xfa sys/net/rtsock.c:609 route_input(fffffd806d626000,0,0) at route_input+0x197 sys/net/rtsock.c:579 rtm_ifchg(ffff8000001a02a8) at rtm_ifchg+0xdd sys/net/rtsock.c:1787 if_down(ffff8000001a02a8) at if_down+0x108 if_linkstate sys/net/if.c:1635 [inline] if_down(ffff8000001a02a8) at if_down+0x108 sys/net/if.c:1583 if_downall() at if_downall+0x7d sys/net/if.c:1564 boot(104) at boot+0x12c sys/arch/amd64/amd64/machdep.c:838 filt_hotplugrdetach(104) at filt_hotplugrdetach panic(ffffffff8259a0ff) at panic+0x18b sys/kern/subr_prf.c:235 __assert(ffffffff82613e2d,ffffffff8258219f,3f,ffffffff826493d4) at __assert+0x25 sys/kern/subr_prf.c:161 _kernel_lock() at _kernel_lock+0xb2 sys/kern/kern_lock.c:63 selwakeup(fffffd806f31ea80) at selwakeup+0x16 klist_empty sys/sys/event.h:361 [inline] selwakeup(fffffd806f31ea80) at selwakeup+0x16 sys/kern/sys_generic.c:885 sorwakeup(fffffd806f31e968) at sorwakeup+0xc9 sys/kern/uipc_socket.c:1700 rtm_sendup(fffffd806f31e968,fffffd80671ab800) at rtm_sendup+0xfa sys/net/rtsock.c:609 route_input(fffffd80671ab800,0,0) at route_input+0x197 sys/net/rtsock.c:579 rtm_ifchg(ffff8000006b8000) at rtm_ifchg+0xdd sys/net/rtsock.c:1787 if_down(ffff8000006b8000) at if_down+0x108 if_linkstate sys/net/if.c:1635 [inline] if_down(ffff8000006b8000) at if_down+0x108 sys/net/if.c:1583 if_downall() at if_downall+0x7d sys/net/if.c:1564 boot(104) at boot+0x12c sys/arch/amd64/amd64/machdep.c:838 filt_hotplugrdetach(104) at filt_hotplugrdetach panic(ffffffff8259a0ff) at panic+0x18b sys/kern/subr_prf.c:235 __assert(ffffffff82613e2d,ffffffff8258219f,3f,ffffffff826493d4) at __assert+0x25 sys/kern/subr_prf.c:161 _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(ffff80000002d500) 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(fffffd8073527eb0) at sdstrategy+0x187 sys/scsi/sd.c:567 spec_strategy(ffff800024b95bc8) at spec_strategy+0x75 sys/kern/spec_vnops.c:456 VOP_STRATEGY(fffffd807efb4a80,fffffd8073527eb0) at VOP_STRATEGY+0x9b sys/kern/vfs_vops.c:628 bwrite(fffffd8073527eb0) at bwrite+0x1f0 sys/kern/vfs_bio.c:763 ffs_update(fffffd806efacdd8,1) at ffs_update+0x27d sys/ufs/ffs/ffs_inode.c:113 ffs_truncate(fffffd806efacdd8,0,0,ffffffffffffffff) at ffs_truncate+0xcec ufs_inactive(ffff800024b95f58) at ufs_inactive+0x14e sys/ufs/ufs/ufs_inode.c:84 VOP_INACTIVE(fffffd80798044d8,ffff80002e4fcd20) at VOP_INACTIVE+0xc4 sys/kern/vfs_vops.c:489 vput(fffffd80798044d8) at vput+0xb6 sys/kern/vfs_subr.c:780 vn_close(fffffd80798044d8,2,ffffffffffffffff,ffff80002e4fcd20) at vn_close+0x7e sys/kern/vfs_vnops.c:297 acct_shutdown() at acct_shutdown+0x6b sys/kern/kern_acct.c:360 vfs_shutdown(ffff80002e4fcd20) at vfs_shutdown+0x16 sys/kern/vfs_subr.c:1758 boot(100) at boot+0xc8 sys/arch/amd64/amd64/machdep.c:830 filt_hotplugrdetach(100) at filt_hotplugrdetach panic(ffffffff8259a0ff) at panic+0x18b sys/kern/subr_prf.c:235 __assert(ffffffff82613e2d,ffffffff8258219f,3f,ffffffff826493d4) at __assert+0x25 sys/kern/subr_prf.c:161 _kernel_lock() at _kernel_lock+0xb2 sys/kern/kern_lock.c:63 single_thread_check_locked(ffff80002e4fcd20,1,c) at single_thread_check_locked+0x1f6 sys/kern/kern_sig.c:2037 single_thread_check(ffff80002e4fcd20,1) at single_thread_check+0x4b sys/kern/kern_sig.c:2057 sleep_finish(ffff800024b96340,1) at sleep_finish+0x75 sleep_signal_check sys/kern/kern_synch.c:464 [inline] sleep_finish(ffff800024b96340,1) at sleep_finish+0x75 sys/kern/kern_synch.c:400 rwsleep(ffff80002e4fcd20,ffffffff829a5750,120,ffffffff82596a6a,0) at rwsleep+0xd5 sys/kern/kern_synch.c:314 futex_wait(904bdffdb60,2,0,2) at futex_wait+0x13c sys/kern/sys_futex.c:260 sys_futex(ffff80002e4fcd20,ffff800024b964d0,ffff800024b96530) at sys_futex+0xf8 sys/kern/sys_futex.c:111 syscall(ffff800024b965a0) at syscall+0x484 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff800024b965a0) at syscall+0x484 sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x904effc8040, count: 190 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(ffffffff8259a0ff) at panic+0x16b sys/kern/subr_prf.c:233 __assert(ffffffff82613e2d,ffffffff8258219f,3f,ffffffff826493d4) at __assert+0x25 sys/kern/subr_prf.c:161 _kernel_lock() at _kernel_lock+0xb2 sys/kern/kern_lock.c:63 selwakeup(fffffd806f31ea80) at selwakeup+0x16 klist_empty sys/sys/event.h:361 [inline] selwakeup(fffffd806f31ea80) at selwakeup+0x16 sys/kern/sys_generic.c:885 sorwakeup(fffffd806f31e968) at sorwakeup+0xc9 sys/kern/uipc_socket.c:1700 rtm_sendup(fffffd806f31e968,fffffd8065ae9f00) at rtm_sendup+0xfa sys/net/rtsock.c:609 route_input(fffffd8065ae9f00,0,0) at route_input+0x197 sys/net/rtsock.c:579 rtm_ifchg(ffff800000be2800) at rtm_ifchg+0xdd sys/net/rtsock.c:1787 if_down(ffff800000be2800) at if_down+0x108 if_linkstate sys/net/if.c:1635 [inline] if_down(ffff800000be2800) at if_down+0x108 sys/net/if.c:1583 if_downall() at if_downall+0x7d sys/net/if.c:1564 boot(104) at boot+0x12c sys/arch/amd64/amd64/machdep.c:838 filt_hotplugrdetach(104) at filt_hotplugrdetach panic(ffffffff8259a0ff) at panic+0x18b sys/kern/subr_prf.c:235 __assert(ffffffff82613e2d,ffffffff8258219f,3f,ffffffff826493d4) at __assert+0x25 sys/kern/subr_prf.c:161 _kernel_lock() at _kernel_lock+0xb2 sys/kern/kern_lock.c:63 selwakeup(fffffd806f31ea80) at selwakeup+0x16 klist_empty sys/sys/event.h:361 [inline] selwakeup(fffffd806f31ea80) at selwakeup+0x16 sys/kern/sys_generic.c:885 sorwakeup(fffffd806f31e968) at sorwakeup+0xc9 sys/kern/uipc_socket.c:1700 rtm_sendup(fffffd806f31e968,fffffd806f010700) at rtm_sendup+0xfa sys/net/rtsock.c:609 route_input(fffffd806f010700,0,0) at route_input+0x197 sys/net/rtsock.c:579 rtm_ifchg(ffff800000bb5010) at rtm_ifchg+0xdd sys/net/rtsock.c:1787 if_down(ffff800000bb5010) at if_down+0x108 if_linkstate sys/net/if.c:1635 [inline] if_down(ffff800000bb5010) at if_down+0x108 sys/net/if.c:1583 if_downall() at if_downall+0x7d sys/net/if.c:1564 boot(104) at boot+0x12c sys/arch/amd64/amd64/machdep.c:838 filt_hotplugrdetach(104) at filt_hotplugrdetach panic(ffffffff8259a0ff) at panic+0x18b sys/kern/subr_prf.c:235 __assert(ffffffff82613e2d,ffffffff8258219f,3f,ffffffff826493d4) at __assert+0x25 sys/kern/subr_prf.c:161 _kernel_lock() at _kernel_lock+0xb2 sys/kern/kern_lock.c:63 selwakeup(fffffd806f31ea80) at selwakeup+0x16 klist_empty sys/sys/event.h:361 [inline] selwakeup(fffffd806f31ea80) at selwakeup+0x16 sys/kern/sys_generic.c:885 sorwakeup(fffffd806f31e968) at sorwakeup+0xc9 sys/kern/uipc_socket.c:1700 rtm_sendup(fffffd806f31e968,fffffd806d626000) at rtm_sendup+0xfa sys/net/rtsock.c:609 route_input(fffffd806d626000,0,0) at route_input+0x197 sys/net/rtsock.c:579 rtm_ifchg(ffff8000001a02a8) at rtm_ifchg+0xdd sys/net/rtsock.c:1787 if_down(ffff8000001a02a8) at if_down+0x108 if_linkstate sys/net/if.c:1635 [inline] if_down(ffff8000001a02a8) at if_down+0x108 sys/net/if.c:1583 if_downall() at if_downall+0x7d sys/net/if.c:1564 boot(104) at boot+0x12c sys/arch/amd64/amd64/machdep.c:838 filt_hotplugrdetach(104) at filt_hotplugrdetach panic(ffffffff8259a0ff) at panic+0x18b sys/kern/subr_prf.c:235 __assert(ffffffff82613e2d,ffffffff8258219f,3f,ffffffff826493d4) at __assert+0x25 sys/kern/subr_prf.c:161 _kernel_lock() at _kernel_lock+0xb2 sys/kern/kern_lock.c:63 selwakeup(fffffd806f31ea80) at selwakeup+0x16 klist_empty sys/sys/event.h:361 [inline] selwakeup(fffffd806f31ea80) at selwakeup+0x16 sys/kern/sys_generic.c:885 sorwakeup(fffffd806f31e968) at sorwakeup+0xc9 sys/kern/uipc_socket.c:1700 rtm_sendup(fffffd806f31e968,fffffd80671ab800) at rtm_sendup+0xfa sys/net/rtsock.c:609 route_input(fffffd80671ab800,0,0) at route_input+0x197 sys/net/rtsock.c:579 rtm_ifchg(ffff8000006b8000) at rtm_ifchg+0xdd sys/net/rtsock.c:1787 if_down(ffff8000006b8000) at if_down+0x108 if_linkstate sys/net/if.c:1635 [inline] if_down(ffff8000006b8000) at if_down+0x108 sys/net/if.c:1583 if_downall() at if_downall+0x7d sys/net/if.c:1564 boot(104) at boot+0x12c sys/arch/amd64/amd64/machdep.c:838 filt_hotplugrdetach(104) at filt_hotplugrdetach panic(ffffffff8259a0ff) at panic+0x18b sys/kern/subr_prf.c:235 __assert(ffffffff82613e2d,ffffffff8258219f,3f,ffffffff826493d4) at __assert+0x25 sys/kern/subr_prf.c:161 _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(ffff80000002d500) 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(fffffd8073527eb0) at sdstrategy+0x187 sys/scsi/sd.c:567 spec_strategy(ffff800024b95bc8) at spec_strategy+0x75 sys/kern/spec_vnops.c:456 VOP_STRATEGY(fffffd807efb4a80,fffffd8073527eb0) at VOP_STRATEGY+0x9b sys/kern/vfs_vops.c:628 bwrite(fffffd8073527eb0) at bwrite+0x1f0 sys/kern/vfs_bio.c:763 ffs_update(fffffd806efacdd8,1) at ffs_update+0x27d sys/ufs/ffs/ffs_inode.c:113 ffs_truncate(fffffd806efacdd8,0,0,ffffffffffffffff) at ffs_truncate+0xcec ufs_inactive(ffff800024b95f58) at ufs_inactive+0x14e sys/ufs/ufs/ufs_inode.c:84 VOP_INACTIVE(fffffd80798044d8,ffff80002e4fcd20) at VOP_INACTIVE+0xc4 sys/kern/vfs_vops.c:489 vput(fffffd80798044d8) at vput+0xb6 sys/kern/vfs_subr.c:780 vn_close(fffffd80798044d8,2,ffffffffffffffff,ffff80002e4fcd20) at vn_close+0x7e sys/kern/vfs_vnops.c:297 acct_shutdown() at acct_shutdown+0x6b sys/kern/kern_acct.c:360 vfs_shutdown(ffff80002e4fcd20) at vfs_shutdown+0x16 sys/kern/vfs_subr.c:1758 boot(100) at boot+0xc8 sys/arch/amd64/amd64/machdep.c:830 filt_hotplugrdetach(100) at filt_hotplugrdetach panic(ffffffff8259a0ff) at panic+0x18b sys/kern/subr_prf.c:235 __assert(ffffffff82613e2d,ffffffff8258219f,3f,ffffffff826493d4) at __assert+0x25 sys/kern/subr_prf.c:161 _kernel_lock() at _kernel_lock+0xb2 sys/kern/kern_lock.c:63 single_thread_check_locked(ffff80002e4fcd20,1,c) at single_thread_check_locked+0x1f6 sys/kern/kern_sig.c:2037 single_thread_check(ffff80002e4fcd20,1) at single_thread_check+0x4b sys/kern/kern_sig.c:2057 sleep_finish(ffff800024b96340,1) at sleep_finish+0x75 sleep_signal_check sys/kern/kern_synch.c:464 [inline] sleep_finish(ffff800024b96340,1) at sleep_finish+0x75 sys/kern/kern_synch.c:400 rwsleep(ffff80002e4fcd20,ffffffff829a5750,120,ffffffff82596a6a,0) at rwsleep+0xd5 sys/kern/kern_synch.c:314 futex_wait(904bdffdb60,2,0,2) at futex_wait+0x13c sys/kern/sys_futex.c:260 sys_futex(ffff80002e4fcd20,ffff800024b964d0,ffff800024b96530) at sys_futex+0xf8 sys/kern/sys_futex.c:111 syscall(ffff800024b965a0) at syscall+0x484 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff800024b965a0) at syscall+0x484 sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x904effc8040, count: 178 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(ffffffff8259a0ff) at panic+0x16b sys/kern/subr_prf.c:233 __assert(ffffffff82613e2d,ffffffff8258219f,3f,ffffffff826493d4) at __assert+0x25 sys/kern/subr_prf.c:161 _kernel_lock() at _kernel_lock+0xb2 sys/kern/kern_lock.c:63 selwakeup(fffffd806f31ea80) at selwakeup+0x16 klist_empty sys/sys/event.h:361 [inline] selwakeup(fffffd806f31ea80) at selwakeup+0x16 sys/kern/sys_generic.c:885 sorwakeup(fffffd806f31e968) at sorwakeup+0xc9 sys/kern/uipc_socket.c:1700 rtm_sendup(fffffd806f31e968,fffffd8070095f00) at rtm_sendup+0xfa sys/net/rtsock.c:609 route_input(fffffd8070095f00,0,0) at route_input+0x197 sys/net/rtsock.c:579 rtm_ifchg(ffff800000c1f000) at rtm_ifchg+0xdd sys/net/rtsock.c:1787 if_down(ffff800000c1f000) at if_down+0x108 if_linkstate sys/net/if.c:1635 [inline] if_down(ffff800000c1f000) at if_down+0x108 sys/net/if.c:1583 if_downall() at if_downall+0x7d sys/net/if.c:1564 boot(104) at boot+0x12c sys/arch/amd64/amd64/machdep.c:838 filt_hotplugrdetach(104) at filt_hotplugrdetach panic(ffffffff8259a0ff) at panic+0x18b sys/kern/subr_prf.c:235 __assert(ffffffff82613e2d,ffffffff8258219f,3f,ffffffff826493d4) at __assert+0x25 sys/kern/subr_prf.c:161 _kernel_lock() at _kernel_lock+0xb2 sys/kern/kern_lock.c:63 selwakeup(fffffd806f31ea80) at selwakeup+0x16 klist_empty sys/sys/event.h:361 [inline] selwakeup(fffffd806f31ea80) at selwakeup+0x16 sys/kern/sys_generic.c:885 sorwakeup(fffffd806f31e968) at sorwakeup+0xc9 sys/kern/uipc_socket.c:1700 rtm_sendup(fffffd806f31e968,fffffd8065ae9f00) at rtm_sendup+0xfa sys/net/rtsock.c:609 route_input(fffffd8065ae9f00,0,0) at route_input+0x197 sys/net/rtsock.c:579 rtm_ifchg(ffff800000be2800) at rtm_ifchg+0xdd sys/net/rtsock.c:1787 if_down(ffff800000be2800) at if_down+0x108 if_linkstate sys/net/if.c:1635 [inline] if_down(ffff800000be2800) at if_down+0x108 sys/net/if.c:1583 if_downall() at if_downall+0x7d sys/net/if.c:1564 boot(104) at boot+0x12c sys/arch/amd64/amd64/machdep.c:838 filt_hotplugrdetach(104) at filt_hotplugrdetach panic(ffffffff8259a0ff) at panic+0x18b sys/kern/subr_prf.c:235 __assert(ffffffff82613e2d,ffffffff8258219f,3f,ffffffff826493d4) at __assert+0x25 sys/kern/subr_prf.c:161 _kernel_lock() at _kernel_lock+0xb2 sys/kern/kern_lock.c:63 selwakeup(fffffd806f31ea80) at selwakeup+0x16 klist_empty sys/sys/event.h:361 [inline] selwakeup(fffffd806f31ea80) at selwakeup+0x16 sys/kern/sys_generic.c:885 sorwakeup(fffffd806f31e968) at sorwakeup+0xc9 sys/kern/uipc_socket.c:1700 rtm_sendup(fffffd806f31e968,fffffd806f010700) at rtm_sendup+0xfa sys/net/rtsock.c:609 route_input(fffffd806f010700,0,0) at route_input+0x197 sys/net/rtsock.c:579 rtm_ifchg(ffff800000bb5010) at rtm_ifchg+0xdd sys/net/rtsock.c:1787 if_down(ffff800000bb5010) at if_down+0x108 if_linkstate sys/net/if.c:1635 [inline] if_down(ffff800000bb5010) at if_down+0x108 sys/net/if.c:1583 if_downall() at if_downall+0x7d sys/net/if.c:1564 boot(104) at boot+0x12c sys/arch/amd64/amd64/machdep.c:838 filt_hotplugrdetach(104) at filt_hotplugrdetach panic(ffffffff8259a0ff) at panic+0x18b sys/kern/subr_prf.c:235 __assert(ffffffff82613e2d,ffffffff8258219f,3f,ffffffff826493d4) at __assert+0x25 sys/kern/subr_prf.c:161 _kernel_lock() at _kernel_lock+0xb2 sys/kern/kern_lock.c:63 selwakeup(fffffd806f31ea80) at selwakeup+0x16 klist_empty sys/sys/event.h:361 [inline] selwakeup(fffffd806f31ea80) at selwakeup+0x16 sys/kern/sys_generic.c:885 sorwakeup(fffffd806f31e968) at sorwakeup+0xc9 sys/kern/uipc_socket.c:1700 rtm_sendup(fffffd806f31e968,fffffd806d626000) at rtm_sendup+0xfa sys/net/rtsock.c:609 route_input(fffffd806d626000,0,0) at route_input+0x197 sys/net/rtsock.c:579 rtm_ifchg(ffff8000001a02a8) at rtm_ifchg+0xdd sys/net/rtsock.c:1787 if_down(ffff8000001a02a8) at if_down+0x108 if_linkstate sys/net/if.c:1635 [inline] if_down(ffff8000001a02a8) at if_down+0x108 sys/net/if.c:1583 if_downall() at if_downall+0x7d sys/net/if.c:1564 boot(104) at boot+0x12c sys/arch/amd64/amd64/machdep.c:838 filt_hotplugrdetach(104) at filt_hotplugrdetach panic(ffffffff8259a0ff) at panic+0x18b sys/kern/subr_prf.c:235 __assert(ffffffff82613e2d,ffffffff8258219f,3f,ffffffff826493d4) at __assert+0x25 sys/kern/subr_prf.c:161 _kernel_lock() at _kernel_lock+0xb2 sys/kern/kern_lock.c:63 selwakeup(fffffd806f31ea80) at selwakeup+0x16 klist_empty sys/sys/event.h:361 [inline] selwakeup(fffffd806f31ea80) at selwakeup+0x16 sys/kern/sys_generic.c:885 sorwakeup(fffffd806f31e968) at sorwakeup+0xc9 sys/kern/uipc_socket.c:1700 rtm_sendup(fffffd806f31e968,fffffd80671ab800) at rtm_sendup+0xfa sys/net/rtsock.c:609 route_input(fffffd80671ab800,0,0) at route_input+0x197 sys/net/rtsock.c:579 rtm_ifchg(ffff8000006b8000) at rtm_ifchg+0xdd sys/net/rtsock.c:1787 if_down(ffff8000006b8000) at if_down+0x108 if_linkstate sys/net/if.c:1635 [inline] if_down(ffff8000006b8000) at if_down+0x108 sys/net/if.c:1583 if_downall() at if_downall+0x7d sys/net/if.c:1564 boot(104) at boot+0x12c sys/arch/amd64/amd64/machdep.c:838 filt_hotplugrdetach(104) at filt_hotplugrdetach panic(ffffffff8259a0ff) at panic+0x18b sys/kern/subr_prf.c:235 __assert(ffffffff82613e2d,ffffffff8258219f,3f,ffffffff826493d4) at __assert+0x25 sys/kern/subr_prf.c:161 _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(ffff80000002d500) 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(fffffd8073527eb0) at sdstrategy+0x187 sys/scsi/sd.c:567 spec_strategy(ffff800024b95bc8) at spec_strategy+0x75 sys/kern/spec_vnops.c:456 VOP_STRATEGY(fffffd807efb4a80,fffffd8073527eb0) at VOP_STRATEGY+0x9b sys/kern/vfs_vops.c:628 bwrite(fffffd8073527eb0) at bwrite+0x1f0 sys/kern/vfs_bio.c:763 ffs_update(fffffd806efacdd8,1) at ffs_update+0x27d sys/ufs/ffs/ffs_inode.c:113 ffs_truncate(fffffd806efacdd8,0,0,ffffffffffffffff) at ffs_truncate+0xcec ufs_inactive(ffff800024b95f58) at ufs_inactive+0x14e sys/ufs/ufs/ufs_inode.c:84 VOP_INACTIVE(fffffd80798044d8,ffff80002e4fcd20) at VOP_INACTIVE+0xc4 sys/kern/vfs_vops.c:489 vput(fffffd80798044d8) at vput+0xb6 sys/kern/vfs_subr.c:780 vn_close(fffffd80798044d8,2,ffffffffffffffff,ffff80002e4fcd20) at vn_close+0x7e sys/kern/vfs_vnops.c:297 acct_shutdown() at acct_shutdown+0x6b sys/kern/kern_acct.c:360 vfs_shutdown(ffff80002e4fcd20) at vfs_shutdown+0x16 sys/kern/vfs_subr.c:1758 boot(100) at boot+0xc8 sys/arch/amd64/amd64/machdep.c:830 filt_hotplugrdetach(100) at filt_hotplugrdetach panic(ffffffff8259a0ff) at panic+0x18b sys/kern/subr_prf.c:235 __assert(ffffffff82613e2d,ffffffff8258219f,3f,ffffffff826493d4) at __assert+0x25 sys/kern/subr_prf.c:161 _kernel_lock() at _kernel_lock+0xb2 sys/kern/kern_lock.c:63 single_thread_check_locked(ffff80002e4fcd20,1,c) at single_thread_check_locked+0x1f6 sys/kern/kern_sig.c:2037 single_thread_check(ffff80002e4fcd20,1) at single_thread_check+0x4b sys/kern/kern_sig.c:2057 sleep_finish(ffff800024b96340,1) at sleep_finish+0x75 sleep_signal_check sys/kern/kern_synch.c:464 [inline] sleep_finish(ffff800024b96340,1) at sleep_finish+0x75 sys/kern/kern_synch.c:400 rwsleep(ffff80002e4fcd20,ffffffff829a5750,120,ffffffff82596a6a,0) at rwsleep+0xd5 sys/kern/kern_synch.c:314 futex_wait(904bdffdb60,2,0,2) at futex_wait+0x13c sys/kern/sys_futex.c:260 sys_futex(ffff80002e4fcd20,ffff800024b964d0,ffff800024b96530) at sys_futex+0xf8 sys/kern/sys_futex.c:111 syscall(ffff800024b965a0) at syscall+0x484 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff800024b965a0) at syscall+0x484 sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x904effc8040, count: 166 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(ffffffff8259a0ff) at panic+0x16b sys/kern/subr_prf.c:233 __assert(ffffffff82613e2d,ffffffff8258219f,3f,ffffffff826493d4) at __assert+0x25 sys/kern/subr_prf.c:161 _kernel_lock() at _kernel_lock+0xb2 sys/kern/kern_lock.c:63 selwakeup(fffffd806f31ea80) at selwakeup+0x16 klist_empty sys/sys/event.h:361 [inline] selwakeup(fffffd806f31ea80) at selwakeup+0x16 sys/kern/sys_generic.c:885 sorwakeup(fffffd806f31e968) at sorwakeup+0xc9 sys/kern/uipc_socket.c:1700 rtm_sendup(fffffd806f31e968,fffffd807d61d500) at rtm_sendup+0xfa sys/net/rtsock.c:609 route_input(fffffd807d61d500,0,0) at route_input+0x197 sys/net/rtsock.c:579 rtm_ifchg(ffff800000c0c000) at rtm_ifchg+0xdd sys/net/rtsock.c:1787 if_down(ffff800000c0c000) at if_down+0x108 if_linkstate sys/net/if.c:1635 [inline] if_down(ffff800000c0c000) at if_down+0x108 sys/net/if.c:1583 if_downall() at if_downall+0x7d sys/net/if.c:1564 boot(104) at boot+0x12c sys/arch/amd64/amd64/machdep.c:838 filt_hotplugrdetach(104) at filt_hotplugrdetach panic(ffffffff8259a0ff) at panic+0x18b sys/kern/subr_prf.c:235 __assert(ffffffff82613e2d,ffffffff8258219f,3f,ffffffff826493d4) at __assert+0x25 sys/kern/subr_prf.c:161 _kernel_lock() at _kernel_lock+0xb2 sys/kern/kern_lock.c:63 selwakeup(fffffd806f31ea80) at selwakeup+0x16 klist_empty sys/sys/event.h:361 [inline] selwakeup(fffffd806f31ea80) at selwakeup+0x16 sys/kern/sys_generic.c:885 sorwakeup(fffffd806f31e968) at sorwakeup+0xc9 sys/kern/uipc_socket.c:1700 rtm_sendup(fffffd806f31e968,fffffd8070095f00) at rtm_sendup+0xfa sys/net/rtsock.c:609 route_input(fffffd8070095f00,0,0) at route_input+0x197 sys/net/rtsock.c:579 rtm_ifchg(ffff800000c1f000) at rtm_ifchg+0xdd sys/net/rtsock.c:1787 if_down(ffff800000c1f000) at if_down+0x108 if_linkstate sys/net/if.c:1635 [inline] if_down(ffff800000c1f000) at if_down+0x108 sys/net/if.c:1583 if_downall() at if_downall+0x7d sys/net/if.c:1564 boot(104) at boot+0x12c sys/arch/amd64/amd64/machdep.c:838 filt_hotplugrdetach(104) at filt_hotplugrdetach panic(ffffffff8259a0ff) at panic+0x18b sys/kern/subr_prf.c:235 __assert(ffffffff82613e2d,ffffffff8258219f,3f,ffffffff826493d4) at __assert+0x25 sys/kern/subr_prf.c:161 _kernel_lock() at _kernel_lock+0xb2 sys/kern/kern_lock.c:63 selwakeup(fffffd806f31ea80) at selwakeup+0x16 klist_empty sys/sys/event.h:361 [inline] selwakeup(fffffd806f31ea80) at selwakeup+0x16 sys/kern/sys_generic.c:885 sorwakeup(fffffd806f31e968) at sorwakeup+0xc9 sys/kern/uipc_socket.c:1700 rtm_sendup(fffffd806f31e968,fffffd8065ae9f00) at rtm_sendup+0xfa sys/net/rtsock.c:609 route_input(fffffd8065ae9f00,0,0) at route_input+0x197 sys/net/rtsock.c:579 rtm_ifchg(ffff800000be2800) at rtm_ifchg+0xdd sys/net/rtsock.c:1787 if_down(ffff800000be2800) at if_down+0x108 if_linkstate sys/net/if.c:1635 [inline] if_down(ffff800000be2800) at if_down+0x108 sys/net/if.c:1583 if_downall() at if_downall+0x7d sys/net/if.c:1564 boot(104) at boot+0x12c sys/arch/amd64/amd64/machdep.c:838 filt_hotplugrdetach(104) at filt_hotplugrdetach panic(ffffffff8259a0ff) at panic+0x18b sys/kern/subr_prf.c:235 __assert(ffffffff82613e2d,ffffffff8258219f,3f,ffffffff826493d4) at __assert+0x25 sys/kern/subr_prf.c:161 _kernel_lock() at _kernel_lock+0xb2 sys/kern/kern_lock.c:63 selwakeup(fffffd806f31ea80) at selwakeup+0x16 klist_empty sys/sys/event.h:361 [inline] selwakeup(fffffd806f31ea80) at selwakeup+0x16 sys/kern/sys_generic.c:885 sorwakeup(fffffd806f31e968) at sorwakeup+0xc9 sys/kern/uipc_socket.c:1700 rtm_sendup(fffffd806f31e968,fffffd806f010700) at rtm_sendup+0xfa sys/net/rtsock.c:609 route_input(fffffd806f010700,0,0) at route_input+0x197 sys/net/rtsock.c:579 rtm_ifchg(ffff800000bb5010) at rtm_ifchg+0xdd sys/net/rtsock.c:1787 if_down(ffff800000bb5010) at if_down+0x108 if_linkstate sys/net/if.c:1635 [inline] if_down(ffff800000bb5010) at if_down+0x108 sys/net/if.c:1583 if_downall() at if_downall+0x7d sys/net/if.c:1564 boot(104) at boot+0x12c sys/arch/amd64/amd64/machdep.c:838 filt_hotplugrdetach(104) at filt_hotplugrdetach panic(ffffffff8259a0ff) at panic+0x18b sys/kern/subr_prf.c:235 __assert(ffffffff82613e2d,ffffffff8258219f,3f,ffffffff826493d4) at __assert+0x25 sys/kern/subr_prf.c:161 _kernel_lock() at _kernel_lock+0xb2 sys/kern/kern_lock.c:63 selwakeup(fffffd806f31ea80) at selwakeup+0x16 klist_empty sys/sys/event.h:361 [inline] selwakeup(fffffd806f31ea80) at selwakeup+0x16 sys/kern/sys_generic.c:885 sorwakeup(fffffd806f31e968) at sorwakeup+0xc9 sys/kern/uipc_socket.c:1700 rtm_sendup(fffffd806f31e968,fffffd806d626000) at rtm_sendup+0xfa sys/net/rtsock.c:609 route_input(fffffd806d626000,0,0) at route_input+0x197 sys/net/rtsock.c:579 rtm_ifchg(ffff8000001a02a8) at rtm_ifchg+0xdd sys/net/rtsock.c:1787 if_down(ffff8000001a02a8) at if_down+0x108 if_linkstate sys/net/if.c:1635 [inline] if_down(ffff8000001a02a8) at if_down+0x108 sys/net/if.c:1583 if_downall() at if_downall+0x7d sys/net/if.c:1564 boot(104) at boot+0x12c sys/arch/amd64/amd64/machdep.c:838 filt_hotplugrdetach(104) at filt_hotplugrdetach panic(ffffffff8259a0ff) at panic+0x18b sys/kern/subr_prf.c:235 __assert(ffffffff82613e2d,ffffffff8258219f,3f,ffffffff826493d4) at __assert+0x25 sys/kern/subr_prf.c:161 _kernel_lock() at _kernel_lock+0xb2 sys/kern/kern_lock.c:63 selwakeup(fffffd806f31ea80) at selwakeup+0x16 klist_empty sys/sys/event.h:361 [inline] selwakeup(fffffd806f31ea80) at selwakeup+0x16 sys/kern/sys_generic.c:885 sorwakeup(fffffd806f31e968) at sorwakeup+0xc9 sys/kern/uipc_socket.c:1700 rtm_sendup(fffffd806f31e968,fffffd80671ab800) at rtm_sendup+0xfa sys/net/rtsock.c:609 route_input(fffffd80671ab800,0,0) at route_input+0x197 sys/net/rtsock.c:579 rtm_ifchg(ffff8000006b8000) at rtm_ifchg+0xdd sys/net/rtsock.c:1787 if_down(ffff8000006b8000) at if_down+0x108 if_linkstate sys/net/if.c:1635 [inline] if_down(ffff8000006b8000) at if_down+0x108 sys/net/if.c:1583 if_downall() at if_downall+0x7d sys/net/if.c:1564 boot(104) at boot+0x12c sys/arch/amd64/amd64/machdep.c:838 filt_hotplugrdetach(104) at filt_hotplugrdetach panic(ffffffff8259a0ff) at panic+0x18b sys/kern/subr_prf.c:235 __assert(ffffffff82613e2d,ffffffff8258219f,3f,ffffffff826493d4) at __assert+0x25 sys/kern/subr_prf.c:161 _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(ffff80000002d500) 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(fffffd8073527eb0) at sdstrategy+0x187 sys/scsi/sd.c:567 spec_strategy(ffff800024b95bc8) at spec_strategy+0x75 sys/kern/spec_vnops.c:456 VOP_STRATEGY(fffffd807efb4a80,fffffd8073527eb0) at VOP_STRATEGY+0x9b sys/kern/vfs_vops.c:628 bwrite(fffffd8073527eb0) at bwrite+0x1f0 sys/kern/vfs_bio.c:763 ffs_update(fffffd806efacdd8,1) at ffs_update+0x27d sys/ufs/ffs/ffs_inode.c:113 ffs_truncate(fffffd806efacdd8,0,0,ffffffffffffffff) at ffs_truncate+0xcec ufs_inactive(ffff800024b95f58) at ufs_inactive+0x14e sys/ufs/ufs/ufs_inode.c:84 VOP_INACTIVE(fffffd80798044d8,ffff80002e4fcd20) at VOP_INACTIVE+0xc4 sys/kern/vfs_vops.c:489 vput(fffffd80798044d8) at vput+0xb6 sys/kern/vfs_subr.c:780 vn_close(fffffd80798044d8,2,ffffffffffffffff,ffff80002e4fcd20) at vn_close+0x7e sys/kern/vfs_vnops.c:297 acct_shutdown() at acct_shutdown+0x6b sys/kern/kern_acct.c:360 vfs_shutdown(ffff80002e4fcd20) at vfs_shutdown+0x16 sys/kern/vfs_subr.c:1758 boot(100) at boot+0xc8 sys/arch/amd64/amd64/machdep.c:830 filt_hotplugrdetach(100) at filt_hotplugrdetach panic(ffffffff8259a0ff) at panic+0x18b sys/kern/subr_prf.c:235 __assert(ffffffff82613e2d,ffffffff8258219f,3f,ffffffff826493d4) at __assert+0x25 sys/kern/subr_prf.c:161 _kernel_lock() at _kernel_lock+0xb2 sys/kern/kern_lock.c:63 single_thread_check_locked(ffff80002e4fcd20,1,c) at single_thread_check_locked+0x1f6 sys/kern/kern_sig.c:2037 single_thread_check(ffff80002e4fcd20,1) at single_thread_check+0x4b sys/kern/kern_sig.c:2057 sleep_finish(ffff800024b96340,1) at sleep_finish+0x75 sleep_signal_check sys/kern/kern_synch.c:464 [inline] sleep_finish(ffff800024b96340,1) at sleep_finish+0x75 sys/kern/kern_synch.c:400 rwsleep(ffff80002e4fcd20,ffffffff829a5750,120,ffffffff82596a6a,0) at rwsleep+0xd5 sys/kern/kern_synch.c:314 futex_wait(904bdffdb60,2,0,2) at futex_wait+0x13c sys/kern/sys_futex.c:260 sys_futex(ffff80002e4fcd20,ffff800024b964d0,ffff800024b96530) at sys_futex+0xf8 sys/kern/sys_futex.c:111 syscall(ffff800024b965a0) at syscall+0x484 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff800024b965a0) at syscall+0x484 sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x904effc8040, count: 154 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(ffffffff8259a0ff) at panic+0x16b sys/kern/subr_prf.c:233 __assert(ffffffff82613e2d,ffffffff8258219f,3f,ffffffff826493d4) at __assert+0x25 sys/kern/subr_prf.c:161 _kernel_lock() at _kernel_lock+0xb2 sys/kern/kern_lock.c:63 selwakeup(fffffd806f31ea80) at selwakeup+0x16 klist_empty sys/sys/event.h:361 [inline] selwakeup(fffffd806f31ea80) at selwakeup+0x16 sys/kern/sys_generic.c:885 sorwakeup(fffffd806f31e968) at sorwakeup+0xc9 sys/kern/uipc_socket.c:1700 rtm_sendup(fffffd806f31e968,fffffd80751d9900) at rtm_sendup+0xfa sys/net/rtsock.c:609 route_input(fffffd80751d9900,0,0) at route_input+0x197 sys/net/rtsock.c:579 rtm_ifchg(ffff800000d57800) at rtm_ifchg+0xdd sys/net/rtsock.c:1787 if_down(ffff800000d57800) at if_down+0x108 if_linkstate sys/net/if.c:1635 [inline] if_down(ffff800000d57800) at if_down+0x108 sys/net/if.c:1583 if_downall() at if_downall+0x7d sys/net/if.c:1564 boot(104) at boot+0x12c sys/arch/amd64/amd64/machdep.c:838 filt_hotplugrdetach(104) at filt_hotplugrdetach panic(ffffffff8259a0ff) at panic+0x18b sys/kern/subr_prf.c:235 __assert(ffffffff82613e2d,ffffffff8258219f,3f,ffffffff826493d4) at __assert+0x25 sys/kern/subr_prf.c:161 _kernel_lock() at _kernel_lock+0xb2 sys/kern/kern_lock.c:63 selwakeup(fffffd806f31ea80) at selwakeup+0x16 klist_empty sys/sys/event.h:361 [inline] selwakeup(fffffd806f31ea80) at selwakeup+0x16 sys/kern/sys_generic.c:885 sorwakeup(fffffd806f31e968) at sorwakeup+0xc9 sys/kern/uipc_socket.c:1700 rtm_sendup(fffffd806f31e968,fffffd807d61d500) at rtm_sendup+0xfa sys/net/rtsock.c:609 route_input(fffffd807d61d500,0,0) at route_input+0x197 sys/net/rtsock.c:579 rtm_ifchg(ffff800000c0c000) at rtm_ifchg+0xdd sys/net/rtsock.c:1787 if_down(ffff800000c0c000) at if_down+0x108 if_linkstate sys/net/if.c:1635 [inline] if_down(ffff800000c0c000) at if_down+0x108 sys/net/if.c:1583 if_downall() at if_downall+0x7d sys/net/if.c:1564 boot(104) at boot+0x12c sys/arch/amd64/amd64/machdep.c:838 filt_hotplugrdetach(104) at filt_hotplugrdetach panic(ffffffff8259a0ff) at panic+0x18b sys/kern/subr_prf.c:235 __assert(ffffffff82613e2d,ffffffff8258219f,3f,ffffffff826493d4) at __assert+0x25 sys/kern/subr_prf.c:161 _kernel_lock() at _kernel_lock+0xb2 sys/kern/kern_lock.c:63 selwakeup(fffffd806f31ea80) at selwakeup+0x16 klist_empty sys/sys/event.h:361 [inline] selwakeup(fffffd806f31ea80) at selwakeup+0x16 sys/kern/sys_generic.c:885 sorwakeup(fffffd806f31e968) at sorwakeup+0xc9 sys/kern/uipc_socket.c:1700 rtm_sendup(fffffd806f31e968,fffffd8070095f00) at rtm_sendup+0xfa sys/net/rtsock.c:609 route_input(fffffd8070095f00,0,0) at route_input+0x197 sys/net/rtsock.c:579 rtm_ifchg(ffff800000c1f000) at rtm_ifchg+0xdd sys/net/rtsock.c:1787 if_down(ffff800000c1f000) at if_down+0x108 if_linkstate sys/net/if.c:1635 [inline] if_down(ffff800000c1f000) at if_down+0x108 sys/net/if.c:1583 if_downall() at if_downall+0x7d sys/net/if.c:1564 boot(104) at boot+0x12c sys/arch/amd64/amd64/machdep.c:838 filt_hotplugrdetach(104) at filt_hotplugrdetach panic(ffffffff8259a0ff) at panic+0x18b sys/kern/subr_prf.c:235 __assert(ffffffff82613e2d,ffffffff8258219f,3f,ffffffff826493d4) at __assert+0x25 sys/kern/subr_prf.c:161 _kernel_lock() at _kernel_lock+0xb2 sys/kern/kern_lock.c:63 selwakeup(fffffd806f31ea80) at selwakeup+0x16 klist_empty sys/sys/event.h:361 [inline] selwakeup(fffffd806f31ea80) at selwakeup+0x16 sys/kern/sys_generic.c:885 sorwakeup(fffffd806f31e968) at sorwakeup+0xc9 sys/kern/uipc_socket.c:1700 rtm_sendup(fffffd806f31e968,fffffd8065ae9f00) at rtm_sendup+0xfa sys/net/rtsock.c:609 route_input(fffffd8065ae9f00,0,0) at route_input+0x197 sys/net/rtsock.c:579 rtm_ifchg(ffff800000be2800) at rtm_ifchg+0xdd sys/net/rtsock.c:1787 if_down(ffff800000be2800) at if_down+0x108 if_linkstate sys/net/if.c:1635 [inline] if_down(ffff800000be2800) at if_down+0x108 sys/net/if.c:1583 if_downall() at if_downall+0x7d sys/net/if.c:1564 boot(104) at boot+0x12c sys/arch/amd64/amd64/machdep.c:838 filt_hotplugrdetach(104) at filt_hotplugrdetach panic(ffffffff8259a0ff) at panic+0x18b sys/kern/subr_prf.c:235 __assert(ffffffff82613e2d,ffffffff8258219f,3f,ffffffff826493d4) at __assert+0x25 sys/kern/subr_prf.c:161 _kernel_lock() at _kernel_lock+0xb2 sys/kern/kern_lock.c:63 selwakeup(fffffd806f31ea80) at selwakeup+0x16 klist_empty sys/sys/event.h:361 [inline] selwakeup(fffffd806f31ea80) at selwakeup+0x16 sys/kern/sys_generic.c:885 sorwakeup(fffffd806f31e968) at sorwakeup+0xc9 sys/kern/uipc_socket.c:1700 rtm_sendup(fffffd806f31e968,fffffd806f010700) at rtm_sendup+0xfa sys/net/rtsock.c:609 route_input(fffffd806f010700,0,0) at route_input+0x197 sys/net/rtsock.c:579 rtm_ifchg(ffff800000bb5010) at rtm_ifchg+0xdd sys/net/rtsock.c:1787 if_down(ffff800000bb5010) at if_down+0x108 if_linkstate sys/net/if.c:1635 [inline] if_down(ffff800000bb5010) at if_down+0x108 sys/net/if.c:1583 if_downall() at if_downall+0x7d sys/net/if.c:1564 boot(104) at boot+0x12c sys/arch/amd64/amd64/machdep.c:838 filt_hotplugrdetach(104) at filt_hotplugrdetach panic(ffffffff8259a0ff) at panic+0x18b sys/kern/subr_prf.c:235 __assert(ffffffff82613e2d,ffffffff8258219f,3f,ffffffff826493d4) at __assert+0x25 sys/kern/subr_prf.c:161 _kernel_lock() at _kernel_lock+0xb2 sys/kern/kern_lock.c:63 selwakeup(fffffd806f31ea80) at selwakeup+0x16 klist_empty sys/sys/event.h:361 [inline] selwakeup(fffffd806f31ea80) at selwakeup+0x16 sys/kern/sys_generic.c:885 sorwakeup(fffffd806f31e968) at sorwakeup+0xc9 sys/kern/uipc_socket.c:1700 rtm_sendup(fffffd806f31e968,fffffd806d626000) at rtm_sendup+0xfa sys/net/rtsock.c:609 route_input(fffffd806d626000,0,0) at route_input+0x197 sys/net/rtsock.c:579 rtm_ifchg(ffff8000001a02a8) at rtm_ifchg+0xdd sys/net/rtsock.c:1787 if_down(ffff8000001a02a8) at if_down+0x108 if_linkstate sys/net/if.c:1635 [inline] if_down(ffff8000001a02a8) at if_down+0x108 sys/net/if.c:1583 if_downall() at if_downall+0x7d sys/net/if.c:1564 boot(104) at boot+0x12c sys/arch/amd64/amd64/machdep.c:838 filt_hotplugrdetach(104) at filt_hotplugrdetach panic(ffffffff8259a0ff) at panic+0x18b sys/kern/subr_prf.c:235 __assert(ffffffff82613e2d,ffffffff8258219f,3f,ffffffff826493d4) at __assert+0x25 sys/kern/subr_prf.c:161 _kernel_lock() at _kernel_lock+0xb2 sys/kern/kern_lock.c:63 selwakeup(fffffd806f31ea80) at selwakeup+0x16 klist_empty sys/sys/event.h:361 [inline] selwakeup(fffffd806f31ea80) at selwakeup+0x16 sys/kern/sys_generic.c:885 sorwakeup(fffffd806f31e968) at sorwakeup+0xc9 sys/kern/uipc_socket.c:1700 rtm_sendup(fffffd806f31e968,fffffd80671ab800) at rtm_sendup+0xfa sys/net/rtsock.c:609 route_input(fffffd80671ab800,0,0) at route_input+0x197 sys/net/rtsock.c:579 rtm_ifchg(ffff8000006b8000) at rtm_ifchg+0xdd sys/net/rtsock.c:1787 if_down(ffff8000006b8000) at if_down+0x108 if_linkstate sys/net/if.c:1635 [inline] if_down(ffff8000006b8000) at if_down+0x108 sys/net/if.c:1583 if_downall() at if_downall+0x7d sys/net/if.c:1564 boot(104) at boot+0x12c sys/arch/amd64/amd64/machdep.c:838 filt_hotplugrdetach(104) at filt_hotplugrdetach panic(ffffffff8259a0ff) at panic+0x18b sys/kern/subr_prf.c:235 __assert(ffffffff82613e2d,ffffffff8258219f,3f,ffffffff826493d4) at __assert+0x25 sys/kern/subr_prf.c:161 _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(ffff80000002d500) 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(fffffd8073527eb0) at sdstrategy+0x187 sys/scsi/sd.c:567 spec_strategy(ffff800024b95bc8) at spec_strategy+0x75 sys/kern/spec_vnops.c:456 VOP_STRATEGY(fffffd807efb4a80,fffffd8073527eb0) at VOP_STRATEGY+0x9b sys/kern/vfs_vops.c:628 bwrite(fffffd8073527eb0) at bwrite+0x1f0 sys/kern/vfs_bio.c:763 ffs_update(fffffd806efacdd8,1) at ffs_update+0x27d sys/ufs/ffs/ffs_inode.c:113 ffs_truncate(fffffd806efacdd8,0,0,ffffffffffffffff) at ffs_truncate+0xcec ufs_inactive(ffff800024b95f58) at ufs_inactive+0x14e sys/ufs/ufs/ufs_inode.c:84 VOP_INACTIVE(fffffd80798044d8,ffff80002e4fcd20) at VOP_INACTIVE+0xc4 sys/kern/vfs_vops.c:489 vput(fffffd80798044d8) at vput+0xb6 sys/kern/vfs_subr.c:780 vn_close(fffffd80798044d8,2,ffffffffffffffff,ffff80002e4fcd20) at vn_close+0x7e sys/kern/vfs_vnops.c:297 acct_shutdown() at acct_shutdown+0x6b sys/kern/kern_acct.c:360 vfs_shutdown(ffff80002e4fcd20) at vfs_shutdown+0x16 sys/kern/vfs_subr.c:1758 boot(100) at boot+0xc8 sys/arch/amd64/amd64/machdep.c:830 filt_hotplugrdetach(100) at filt_hotplugrdetach panic(ffffffff8259a0ff) at panic+0x18b sys/kern/subr_prf.c:235 __assert(ffffffff82613e2d,ffffffff8258219f,3f,ffffffff826493d4) at __assert+0x25 sys/kern/subr_prf.c:161 _kernel_lock() at _kernel_lock+0xb2 sys/kern/kern_lock.c:63 single_thread_check_locked(ffff80002e4fcd20,1,c) at single_thread_check_locked+0x1f6 sys/kern/kern_sig.c:2037 single_thread_check(ffff80002e4fcd20,1) at single_thread_check+0x4b sys/kern/kern_sig.c:2057 sleep_finish(ffff800024b96340,1) at sleep_finish+0x75 sleep_signal_check sys/kern/kern_synch.c:464 [inline] sleep_finish(ffff800024b96340,1) at sleep_finish+0x75 sys/kern/kern_synch.c:400 rwsleep(ffff80002e4fcd20,ffffffff829a5750,120,ffffffff82596a6a,0) at rwsleep+0xd5 sys/kern/kern_synch.c:314 futex_wait(904bdffdb60,2,0,2) at futex_wait+0x13c sys/kern/sys_futex.c:260 sys_futex(ffff80002e4fcd20,ffff800024b964d0,ffff800024b96530) at sys_futex+0xf8 sys/kern/sys_futex.c:111 syscall(ffff800024b965a0) at syscall+0x484 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff800024b965a0) at syscall+0x484 sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x904effc8040, count: 142 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(ffffffff8259a0ff) at panic+0x16b sys/kern/subr_prf.c:233 __assert(ffffffff82613e2d,ffffffff8258219f,3f,ffffffff826493d4) at __assert+0x25 sys/kern/subr_prf.c:161 _kernel_lock() at _kernel_lock+0xb2 sys/kern/kern_lock.c:63 selwakeup(fffffd806f31ea80) at selwakeup+0x16 klist_empty sys/sys/event.h:361 [inline] selwakeup(fffffd806f31ea80) at selwakeup+0x16 sys/kern/sys_generic.c:885 sorwakeup(fffffd806f31e968) at sorwakeup+0xc9 sys/kern/uipc_socket.c:1700 rtm_sendup(fffffd806f31e968,fffffd8069ed4300) at rtm_sendup+0xfa sys/net/rtsock.c:609 route_input(fffffd8069ed4300,0,0) at route_input+0x197 sys/net/rtsock.c:579 rtm_ifchg(ffff800000d56800) at rtm_ifchg+0xdd sys/net/rtsock.c:1787 if_down(ffff800000d56800) at if_down+0x108 if_linkstate sys/net/if.c:1635 [inline] if_down(ffff800000d56800) at if_down+0x108 sys/net/if.c:1583 if_downall() at if_downall+0x7d sys/net/if.c:1564 boot(104) at boot+0x12c sys/arch/amd64/amd64/machdep.c:838 filt_hotplugrdetach(104) at filt_hotplugrdetach panic(ffffffff8259a0ff) at panic+0x18b sys/kern/subr_prf.c:235 __assert(ffffffff82613e2d,ffffffff8258219f,3f,ffffffff826493d4) at __assert+0x25 sys/kern/subr_prf.c:161 _kernel_lock() at _kernel_lock+0xb2 sys/kern/kern_lock.c:63 selwakeup(fffffd806f31ea80) at selwakeup+0x16 klist_empty sys/sys/event.h:361 [inline] selwakeup(fffffd806f31ea80) at selwakeup+0x16 sys/kern/sys_generic.c:885 sorwakeup(fffffd806f31e968) at sorwakeup+0xc9 sys/kern/uipc_socket.c:1700 rtm_sendup(fffffd806f31e968,fffffd80751d9900) at rtm_sendup+0xfa sys/net/rtsock.c:609 route_input(fffffd80751d9900,0,0) at route_input+0x197 sys/net/rtsock.c:579 rtm_ifchg(ffff800000d57800) at rtm_ifchg+0xdd sys/net/rtsock.c:1787 if_down(ffff800000d57800) at if_down+0x108 if_linkstate sys/net/if.c:1635 [inline] if_down(ffff800000d57800) at if_down+0x108 sys/net/if.c:1583 if_downall() at if_downall+0x7d sys/net/if.c:1564 boot(104) at boot+0x12c sys/arch/amd64/amd64/machdep.c:838 filt_hotplugrdetach(104) at filt_hotplugrdetach panic(ffffffff8259a0ff) at panic+0x18b sys/kern/subr_prf.c:235 __assert(ffffffff82613e2d,ffffffff8258219f,3f,ffffffff826493d4) at __assert+0x25 sys/kern/subr_prf.c:161 _kernel_lock() at _kernel_lock+0xb2 sys/kern/kern_lock.c:63 selwakeup(fffffd806f31ea80) at selwakeup+0x16 klist_empty sys/sys/event.h:361 [inline] selwakeup(fffffd806f31ea80) at selwakeup+0x16 sys/kern/sys_generic.c:885 sorwakeup(fffffd806f31e968) at sorwakeup+0xc9 sys/kern/uipc_socket.c:1700 rtm_sendup(fffffd806f31e968,fffffd807d61d500) at rtm_sendup+0xfa sys/net/rtsock.c:609 route_input(fffffd807d61d500,0,0) at route_input+0x197 sys/net/rtsock.c:579 rtm_ifchg(ffff800000c0c000) at rtm_ifchg+0xdd sys/net/rtsock.c:1787 if_down(ffff800000c0c000) at if_down+0x108 if_linkstate sys/net/if.c:1635 [inline] if_down(ffff800000c0c000) at if_down+0x108 sys/net/if.c:1583 if_downall() at if_downall+0x7d sys/net/if.c:1564 boot(104) at boot+0x12c sys/arch/amd64/amd64/machdep.c:838 filt_hotplugrdetach(104) at filt_hotplugrdetach panic(ffffffff8259a0ff) at panic+0x18b sys/kern/subr_prf.c:235 __assert(ffffffff82613e2d,ffffffff8258219f,3f,ffffffff826493d4) at __assert+0x25 sys/kern/subr_prf.c:161 _kernel_lock() at _kernel_lock+0xb2 sys/kern/kern_lock.c:63 selwakeup(fffffd806f31ea80) at selwakeup+0x16 klist_empty sys/sys/event.h:361 [inline] selwakeup(fffffd806f31ea80) at selwakeup+0x16 sys/kern/sys_generic.c:885 sorwakeup(fffffd806f31e968) at sorwakeup+0xc9 sys/kern/uipc_socket.c:1700 rtm_sendup(fffffd806f31e968,fffffd8070095f00) at rtm_sendup+0xfa sys/net/rtsock.c:609 route_input(fffffd8070095f00,0,0) at route_input+0x197 sys/net/rtsock.c:579 rtm_ifchg(ffff800000c1f000) at rtm_ifchg+0xdd sys/net/rtsock.c:1787 if_down(ffff800000c1f000) at if_down+0x108 if_linkstate sys/net/if.c:1635 [inline] if_down(ffff800000c1f000) at if_down+0x108 sys/net/if.c:1583 if_downall() at if_downall+0x7d sys/net/if.c:1564 boot(104) at boot+0x12c sys/arch/amd64/amd64/machdep.c:838 filt_hotplugrdetach(104) at filt_hotplugrdetach panic(ffffffff8259a0ff) at panic+0x18b sys/kern/subr_prf.c:235 __assert(ffffffff82613e2d,ffffffff8258219f,3f,ffffffff826493d4) at __assert+0x25 sys/kern/subr_prf.c:161 _kernel_lock() at _kernel_lock+0xb2 sys/kern/kern_lock.c:63 selwakeup(fffffd806f31ea80) at selwakeup+0x16 klist_empty sys/sys/event.h:361 [inline] selwakeup(fffffd806f31ea80) at selwakeup+0x16 sys/kern/sys_generic.c:885 sorwakeup(fffffd806f31e968) at sorwakeup+0xc9 sys/kern/uipc_socket.c:1700 rtm_sendup(fffffd806f31e968,fffffd8065ae9f00) at rtm_sendup+0xfa sys/net/rtsock.c:609 route_input(fffffd8065ae9f00,0,0) at route_input+0x197 sys/net/rtsock.c:579 rtm_ifchg(ffff800000be2800) at rtm_ifchg+0xdd sys/net/rtsock.c:1787 if_down(ffff800000be2800) at if_down+0x108 if_linkstate sys/net/if.c:1635 [inline] if_down(ffff800000be2800) at if_down+0x108 sys/net/if.c:1583 if_downall() at if_downall+0x7d sys/net/if.c:1564 boot(104) at boot+0x12c sys/arch/amd64/amd64/machdep.c:838 filt_hotplugrdetach(104) at filt_hotplugrdetach panic(ffffffff8259a0ff) at panic+0x18b sys/kern/subr_prf.c:235 __assert(ffffffff82613e2d,ffffffff8258219f,3f,ffffffff826493d4) at __assert+0x25 sys/kern/subr_prf.c:161 _kernel_lock() at _kernel_lock+0xb2 sys/kern/kern_lock.c:63 selwakeup(fffffd806f31ea80) at selwakeup+0x16 klist_empty sys/sys/event.h:361 [inline] selwakeup(fffffd806f31ea80) at selwakeup+0x16 sys/kern/sys_generic.c:885 sorwakeup(fffffd806f31e968) at sorwakeup+0xc9 sys/kern/uipc_socket.c:1700 rtm_sendup(fffffd806f31e968,fffffd806f010700) at rtm_sendup+0xfa sys/net/rtsock.c:609 route_input(fffffd806f010700,0,0) at route_input+0x197 sys/net/rtsock.c:579 rtm_ifchg(ffff800000bb5010) at rtm_ifchg+0xdd sys/net/rtsock.c:1787 if_down(ffff800000bb5010) at if_down+0x108 if_linkstate sys/net/if.c:1635 [inline] if_down(ffff800000bb5010) at if_down+0x108 sys/net/if.c:1583 if_downall() at if_downall+0x7d sys/net/if.c:1564 boot(104) at boot+0x12c sys/arch/amd64/amd64/machdep.c:838 filt_hotplugrdetach(104) at filt_hotplugrdetach panic(ffffffff8259a0ff) at panic+0x18b sys/kern/subr_prf.c:235 __assert(ffffffff82613e2d,ffffffff8258219f,3f,ffffffff826493d4) at __assert+0x25 sys/kern/subr_prf.c:161 _kernel_lock() at _kernel_lock+0xb2 sys/kern/kern_lock.c:63 selwakeup(fffffd806f31ea80) at selwakeup+0x16 klist_empty sys/sys/event.h:361 [inline] selwakeup(fffffd806f31ea80) at selwakeup+0x16 sys/kern/sys_generic.c:885 sorwakeup(fffffd806f31e968) at sorwakeup+0xc9 sys/kern/uipc_socket.c:1700 rtm_sendup(fffffd806f31e968,fffffd806d626000) at rtm_sendup+0xfa sys/net/rtsock.c:609 route_input(fffffd806d626000,0,0) at route_input+0x197 sys/net/rtsock.c:579 rtm_ifchg(ffff8000001a02a8) at rtm_ifchg+0xdd sys/net/rtsock.c:1787 if_down(ffff8000001a02a8) at if_down+0x108 if_linkstate sys/net/if.c:1635 [inline] if_down(ffff8000001a02a8) at if_down+0x108 sys/net/if.c:1583 if_downall() at if_downall+0x7d sys/net/if.c:1564 boot(104) at boot+0x12c sys/arch/amd64/amd64/machdep.c:838 filt_hotplugrdetach(104) at filt_hotplugrdetach panic(ffffffff8259a0ff) at panic+0x18b sys/kern/subr_prf.c:235 __assert(ffffffff82613e2d,ffffffff8258219f,3f,ffffffff826493d4) at __assert+0x25 sys/kern/subr_prf.c:161 _kernel_lock() at _kernel_lock+0xb2 sys/kern/kern_lock.c:63 selwakeup(fffffd806f31ea80) at selwakeup+0x16 klist_empty sys/sys/event.h:361 [inline] selwakeup(fffffd806f31ea80) at selwakeup+0x16 sys/kern/sys_generic.c:885 sorwakeup(fffffd806f31e968) at sorwakeup+0xc9 sys/kern/uipc_socket.c:1700 rtm_sendup(fffffd806f31e968,fffffd80671ab800) at rtm_sendup+0xfa sys/net/rtsock.c:609 route_input(fffffd80671ab800,0,0) at route_input+0x197 sys/net/rtsock.c:579 rtm_ifchg(ffff8000006b8000) at rtm_ifchg+0xdd sys/net/rtsock.c:1787 if_down(ffff8000006b8000) at if_down+0x108 if_linkstate sys/net/if.c:1635 [inline] if_down(ffff8000006b8000) at if_down+0x108 sys/net/if.c:1583 if_downall() at if_downall+0x7d sys/net/if.c:1564 boot(104) at boot+0x12c sys/arch/amd64/amd64/machdep.c:838 filt_hotplugrdetach(104) at filt_hotplugrdetach panic(ffffffff8259a0ff) at panic+0x18b sys/kern/subr_prf.c:235 __assert(ffffffff82613e2d,ffffffff8258219f,3f,ffffffff826493d4) at __assert+0x25 sys/kern/subr_prf.c:161 _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(ffff80000002d500) 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(fffffd8073527eb0) at sdstrategy+0x187 sys/scsi/sd.c:567 spec_strategy(ffff800024b95bc8) at spec_strategy+0x75 sys/kern/spec_vnops.c:456 VOP_STRATEGY(fffffd807efb4a80,fffffd8073527eb0) at VOP_STRATEGY+0x9b sys/kern/vfs_vops.c:628 bwrite(fffffd8073527eb0) at bwrite+0x1f0 sys/kern/vfs_bio.c:763 ffs_update(fffffd806efacdd8,1) at ffs_update+0x27d sys/ufs/ffs/ffs_inode.c:113 ffs_truncate(fffffd806efacdd8,0,0,ffffffffffffffff) at ffs_truncate+0xcec ufs_inactive(ffff800024b95f58) at ufs_inactive+0x14e sys/ufs/ufs/ufs_inode.c:84 VOP_INACTIVE(fffffd80798044d8,ffff80002e4fcd20) at VOP_INACTIVE+0xc4 sys/kern/vfs_vops.c:489 vput(fffffd80798044d8) at vput+0xb6 sys/kern/vfs_subr.c:780 vn_close(fffffd80798044d8,2,ffffffffffffffff,ffff80002e4fcd20) at vn_close+0x7e sys/kern/vfs_vnops.c:297 acct_shutdown() at acct_shutdown+0x6b sys/kern/kern_acct.c:360 vfs_shutdown(ffff80002e4fcd20) at vfs_shutdown+0x16 sys/kern/vfs_subr.c:1758 boot(100) at boot+0xc8 sys/arch/amd64/amd64/machdep.c:830 filt_hotplugrdetach(100) at filt_hotplugrdetach panic(ffffffff8259a0ff) at panic+0x18b sys/kern/subr_prf.c:235 __assert(ffffffff82613e2d,ffffffff8258219f,3f,ffffffff826493d4) at __assert+0x25 sys/kern/subr_prf.c:161 _kernel_lock() at _kernel_lock+0xb2 sys/kern/kern_lock.c:63 single_thread_check_locked(ffff80002e4fcd20,1,c) at single_thread_check_locked+0x1f6 sys/kern/kern_sig.c:2037 single_thread_check(ffff80002e4fcd20,1) at single_thread_check+0x4b sys/kern/kern_sig.c:2057 sleep_finish(ffff800024b96340,1) at sleep_finish+0x75 sleep_signal_check sys/kern/kern_synch.c:464 [inline] sleep_finish(ffff800024b96340,1) at sleep_finish+0x75 sys/kern/kern_synch.c:400 rwsleep(ffff80002e4fcd20,ffffffff829a5750,120,ffffffff82596a6a,0) at rwsleep+0xd5 sys/kern/kern_synch.c:314 futex_wait(904bdffdb60,2,0,2) at futex_wait+0x13c sys/kern/sys_futex.c:260 sys_futex(ffff80002e4fcd20,ffff800024b964d0,ffff800024b96530) at sys_futex+0xf8 sys/kern/sys_futex.c:111 syscall(ffff800024b965a0) at syscall+0x484 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff800024b965a0) at syscall+0x484 sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x904effc8040, count: 130 End of stack trace. panic: kernel diagnostic assertion "__mp_lock_held(&sched_lock, curcpu()) == 0" failed: file "/syzkaller/managers/multicore/kernel/sys/kern/kern_lock.c", line 63 Starting stack trace... fatal double fault in supervisor mode trap type 13 code 0 rip ffffffff81c6d6bf cs 8 rflags 10286 cr2 ffff800024b92ff8 cpl c rsp ffff800024b93000 gsbase 0xffff800020dd8ff0 kgsbase 0x0 panic: trap type 13, code=0, pc=ffffffff81c6d6bf Faulted in traceback, aborting... panic: kernel diagnostic assertion "__mp_lock_held(&sched_lock, curcpu()) == 0" failed: file "/syzkaller/managers/multicore/kernel/sys/kern/kern_lock.c", line 63 Faulted in traceback, aborting... panic: kernel diagnostic assertion "__mp_lock_held(&sched_lock, curcpu()) == 0" failed: file "/syzkaller/managers/multicore/kernel/sys/kern/kern_lock.c", line 63 Faulted in traceback, aborting... 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 Faulted in traceback, aborting... panic: kernel diagnostic assertion "__mp_lock_held(&sched_lock, curcpu()) == 0" failed: file "/syzkaller/managers/multicore/kernel/sys/kern/kern_lock.c", line 63 Faulted in traceback, aborting... panic: kernel diagnostic assertion "__mp_lock_held(&sched_lock, curcpu()) == 0" failed: file "/syzkaller/managers/multicore/kernel/sys/kern/kern_lock.c", line 63 Faulted in traceback, aborting... panic: kernel diagnostic assertion "__mp_lock_held(&sched_lock, curcpu()) == 0" failed: file "/syzkaller/managers/multicore/kernel/sys/kern/kern_lock.c", line 63 Faulted in traceback, aborting... panic: kernel diagnostic assertion "__mp_lock_held(&sched_lock, curcpu()) == 0" failed: file "/syzkaller/managers/multicore/kernel/sys/kern/kern_lock.c", line 63 Faulted in traceback, aborting... panic: kernel diagnostic assertion "__mp_lock_held(&sched_lock, curcpu()) == 0" failed: file "/syzkaller/managers/multicore/kernel/sys/kern/kern_lock.c", line 63 Faulted in traceback, aborting... panic: kernel diagnostic assertion "__mp_lock_held(&sched_lock, curcpu()) == 0" failed: file "/syzkaller/managers/multicore/kernel/sys/kern/kern_lock.c", line 63 Faulted in traceback, aborting... panic: kernel diagnostic assertion "__mp_lock_held(&sched_lock, curcpu()) == 0" failed: file "/syzkaller/managers/multicore/kernel/sys/kern/kern_lock.c", line 63 Faulted in traceback, aborting... panic: kernel diagnostic assertion "__mp_lock_held(&sched_lock, curcpu()) == 0" failed: file "/syzkaller/managers/multicore/kernel/sys/kern/kern_lock.c", line 63 Faulted in traceback, aborting... panic: kernel diagnostic assertion "__mp_lock_held(&sched_lock, curcpu()) == 0" failed: file "/syzkaller/managers/multicore/kernel/sys/kern/kern_lock.c", line 63 Faulted in traceback, aborting... panic: kernel diagnostic assertion "__mp_lock_held(&sched_lock, curcpu()) == 0" failed: file "/syzkaller/managers/multicore/kernel/sys/kern/kern_lock.c", line 63 Faulted in traceback, aborting... panic: kernel diagnostic assertion "__mp_lock_held(&sched_lock, curcpu()) == 0" failed: file "/syzkaller/managers/multicore/kernel/sys/kern/kern_lock.c", line 63 Faulted in traceback, aborting... panic: kernel diagnostic assertion "__mp_lock_held(&sched_lock, curcpu()) == 0" failed: file "/syzkaller/managers/multicore/kernel/sys/kern/kern_lock.c", line 63 Faulted in traceback, aborting... panic: kernel diagnostic assertion "__mp_lock_held(&sched_lock, curcpu()) == 0" failed: file "/syzkaller/managers/multicore/kernel/sys/kern/kern_lock.c", line 63 Faulted in traceback, aborting... panic: kernel diagnostic assertion "__mp_lock_held(&sched_lock, curcpu()) == 0" failed: file "/syzkaller/managers/multicore/kernel/sys/kern/kern_lock.c", line 63 Faulted in traceback, aborting... panic: kernel diagnostic assertion "__mp_lock_held(&sched_lock, curcpu()) == 0" failed: file "/syzkaller/managers/multicore/kernel/sys/kern/kern_lock.c", line 63 Faulted in traceback, aborting... panic: kernel diagnostic assertion "__mp_lock_held(&sched_lock, curcpu()) == 0" failed: file "/syzkaller/managers/multicore/kernel/sys/kern/kern_lock.c", line 63 Faulted in traceback, aborting... panic: kernel diagnostic assertion "__mp_lock_held(&sched_lock, curcpu()) == 0" failed: file "/syzkaller/managers/multicore/kernel/sys/kern/kern_lock.c", line 63 Faulted in traceback, aborting... panic: kernel diagnostic assertion "__mp_lock_held(&sched_lock, curcpu()) == 0" failed: file "/syzkaller/managers/multicore/kernel/sys/kern/kern_lock.c", line 63 Faulted in traceback, aborting... panic: kernel diagnostic assertion "__mp_lock_held(&sched_lock, curcpu()) == 0" failed: file "/syzkaller/managers/multicore/kernel/sys/kern/kern_lock.c", line 63 Faulted in traceback, aborting... panic: kernel diagnostic assertion "__mp_lock_held(&sched_lock, curcpu()) == 0" failed: file "/syzkaller/managers/multicore/kernel/sys/kern/kern_lock.c", line 63 Faulted in traceback, aborting... panic: kernel diagnostic assertion "__mp_lock_held(&sched_lock, curcpu()) == 0" failed: file "/syzkaller/managers/multicore/kernel/sys/kern/kern_lock.c", line 63 Faulted in traceback, aborting... panic: kernel diagnostic assertion "__mp_lock_held(&sched_lock, curcpu()) == 0" failed: file "/syzkaller/managers/multicore/kernel/sys/kern/kern_lock.c", line 63 Faulted in traceback, aborting... 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 facdd91b-51c3-88c8-dda6-9406d7e40e23 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 0x000f2730: 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.53 boot> show all locks boot: illegal argument all boot> show malloc boot> show all pools boot> machine ddbcpu 0 machine: syntax error boot> trace boot> machine ddbcpu 1 machine: syntax error boot> trace