panic: kernel diagnostic assertion "__mp_lock_held(&sched_lock, curcpu()) == 0" failed: file "/syzkaller/managers/setuid/kernel/sys/kern/kern_lock.c", line 63 Stopped at db_enter+0x18: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND *174134 34502 32767 0x1810 0x4080080 1 syz-executor.2 110908 59957 0 0x14000 0x200 0 zerothread db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:437 panic(ffffffff8259bd82) at panic+0x177 sys/kern/subr_prf.c:202 __assert(ffffffff8261504d,ffffffff8261b5a3,3f,ffffffff8264d4fb) 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(ffff8000296187f0,1,c) at single_thread_check_locked+0x1f6 sys/kern/kern_sig.c:2037 single_thread_check(ffff8000296187f0,1) at single_thread_check+0x4b sys/kern/kern_sig.c:2057 sleep_finish(ffff800026f828e0,1) at sleep_finish+0x75 sleep_signal_check sys/kern/kern_synch.c:464 [inline] sleep_finish(ffff800026f828e0,1) at sleep_finish+0x75 sys/kern/kern_synch.c:400 rwsleep(ffff8000296187f0,ffffffff82957750,120,ffffffff82595e88,0) at rwsleep+0xd5 sys/kern/kern_synch.c:314 futex_wait(664f7623430,1,0,2) at futex_wait+0x13c sys/kern/sys_futex.c:260 sys_futex(ffff8000296187f0,ffff800026f82a70,ffff800026f82ad0) at sys_futex+0xf8 sys/kern/sys_futex.c:111 syscall(ffff800026f82b40) at syscall+0x484 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff800026f82b40) at syscall+0x484 sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x6654f18dc00, count: 3 https://www.openbsd.org/ddb.html describes the minimum info required in bug reports. Insufficient info makes it difficult to find and fix bugs. ddb{1}> ddb{1}> set $lines = 0 ddb{1}> set $maxwidth = 0 ddb{1}> show panic *cpu1: kernel diagnostic assertion "__mp_lock_held(&sched_lock, curcpu()) == 0" failed: file "/syzkaller/managers/setuid/kernel/sys/kern/kern_lock.c", line 63 ddb{1}> trace db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:437 panic(ffffffff8259bd82) at panic+0x177 sys/kern/subr_prf.c:202 __assert(ffffffff8261504d,ffffffff8261b5a3,3f,ffffffff8264d4fb) 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(ffff8000296187f0,1,c) at single_thread_check_locked+0x1f6 sys/kern/kern_sig.c:2037 single_thread_check(ffff8000296187f0,1) at single_thread_check+0x4b sys/kern/kern_sig.c:2057 sleep_finish(ffff800026f828e0,1) at sleep_finish+0x75 sleep_signal_check sys/kern/kern_synch.c:464 [inline] sleep_finish(ffff800026f828e0,1) at sleep_finish+0x75 sys/kern/kern_synch.c:400 rwsleep(ffff8000296187f0,ffffffff82957750,120,ffffffff82595e88,0) at rwsleep+0xd5 sys/kern/kern_synch.c:314 futex_wait(664f7623430,1,0,2) at futex_wait+0x13c sys/kern/sys_futex.c:260 sys_futex(ffff8000296187f0,ffff800026f82a70,ffff800026f82ad0) at sys_futex+0xf8 sys/kern/sys_futex.c:111 syscall(ffff800026f82b40) at syscall+0x484 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff800026f82b40) at syscall+0x484 sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x6654f18dc00, count: -12 ddb{1}> show registers rdi 0 rsi 0x1 rbp 0xffff800026f826a0 rbx 0xffff800020dd9bb7 rdx 0 rcx 0 rax 0xffff8000296187f0 r8 0x101010101010101 r9 0x8080808080808080 r10 0x38d89ae20ea609cc r11 0xc22dca302416f890 r12 0xffff800020dd99b8 r13 0 r14 0 r15 0x1 rip 0xffffffff81477f68 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff800026f82690 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb{1}> show proc PROC (syz-executor.2) pid=174134 stat=onproc flags process=1810 proc=4080080 pri=86, usrpri=86, nice=20 forw=0xffffffffffffffff, list=0xffff800029618fd0,0xffff8000296182c0 process=0xffff8000ffff2578 user=0xffff800026f7d000, vmspace=0xfffffd80693e5a28 estcpu=36, cpticks=1, pctcpu=0.0 user=0, sys=0, intr=0 ddb{1}> ps PID TID PPID UID S FLAGS WAIT COMMAND 34502 113057 85177 32767 3 0x3810 suspend syz-executor.2 *34502 174134 85177 32767 7 0x4081890 syz-executor.2 34502 117867 85177 32767 2 0x4081810 syz-executor.2 19724 133087 0 0 3 0x14200 bored sosplice 58262 414565 67752 32767 3 0x90 nanoslp syz-executor.5 46598 39998 66937 32767 3 0x90 piperd syz-executor.6 90375 12026 60570 32767 3 0x90 nanoslp syz-executor.7 66937 39445 30020 0 3 0x82 wait syz-executor.6 68337 187874 99715 32767 3 0x90 piperd syz-executor.4 60570 119756 30020 0 3 0x82 wait syz-executor.7 67752 407543 30020 0 3 0x82 wait syz-executor.5 99715 403415 30020 0 3 0x82 wait syz-executor.4 68721 68597 62009 32767 3 0x90 piperd syz-executor.1 85177 246529 37065 32767 3 0x90 nanoslp syz-executor.2 80726 371537 85021 32767 3 0x90 piperd syz-executor.3 85021 482429 30020 0 3 0x82 wait syz-executor.3 37065 113960 30020 0 3 0x82 wait syz-executor.2 62009 71004 30020 0 3 0x82 wait syz-executor.1 12517 246494 67656 32767 3 0x10 biowait syz-executor.0 67656 325070 30020 0 3 0x82 wait syz-executor.0 30020 509886 67865 0 3 0x82 kqread syz-fuzzer 30020 281359 67865 0 3 0x4000082 nanoslp syz-fuzzer 30020 404525 67865 0 3 0x4000082 thrsleep syz-fuzzer 30020 388060 67865 0 3 0x4000082 thrsleep syz-fuzzer 30020 81045 67865 0 3 0x4000082 thrsleep syz-fuzzer 30020 469387 67865 0 3 0x4000082 thrsleep syz-fuzzer 30020 199725 67865 0 3 0x4000082 thrsleep syz-fuzzer 30020 171299 67865 0 3 0x4000082 thrsleep syz-fuzzer 67865 439446 48121 0 3 0x10008a sigsusp ksh 48121 407783 93422 0 3 0x9a kqread sshd 70306 457166 1 0 3 0x100083 ttyin getty 93422 86321 1 0 3 0x88 kqread sshd 81614 315137 788 73 3 0x1100090 kqread syslogd 788 408329 1 0 3 0x100082 netio syslogd 14927 262029 1 0 3 0x100080 kqread resolvd 65173 456183 65013 77 3 0x100092 kqread dhcpleased 97057 401425 65013 77 3 0x100092 kqread dhcpleased 65013 105719 1 0 3 0x80 kqread dhcpleased 96373 369882 0 0 3 0x14200 bored smr 59957 110908 0 0 7 0x14200 zerothread 92904 383741 0 0 3 0x14200 aiodoned aiodoned 34000 204026 0 0 3 0x14200 syncer update 34315 179050 0 0 3 0x14200 cleaner cleaner 54364 46164 0 0 3 0x14200 reaper reaper 16458 77597 0 0 3 0x14200 pgdaemon pagedaemon 86484 245642 0 0 3 0x14200 bored viomb 99582 39219 0 0 3 0x40014200 acpi0 acpi0 27996 194153 0 0 3 0x40014200 idle1 41770 136813 0 0 3 0x14200 bored softnet 22761 192456 0 0 3 0x14200 bored softnet 38950 516692 0 0 3 0x14200 bored softnet 57381 230003 0 0 3 0x14200 bored softnet 87120 314421 0 0 3 0x14200 bored systqmp 70991 428066 0 0 3 0x14200 bored systq 5906 169865 0 0 3 0x40014200 bored softclock 87437 48165 0 0 3 0x40014200 idle0 1 395641 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{1}> show all locks CPU 1: exclusive sched_lock &sched_lock r = 0 (0xffffffff82b5eeb8) #0 witness_lock+0x44d #1 __mp_acquire_count+0x48 sys/kern/kern_lock.c:227 #2 mi_switch+0x3d4 sys/kern/sched_bsd.c:419 #3 single_thread_check_locked+0x17f sys/kern/kern_sig.c:2045 #4 single_thread_check+0x4b sys/kern/kern_sig.c:2057 #5 sleep_finish+0x75 sleep_signal_check sys/kern/kern_synch.c:464 [inline] #5 sleep_finish+0x75 sys/kern/kern_synch.c:400 #6 rwsleep+0xd5 sys/kern/kern_synch.c:314 #7 futex_wait+0x13c sys/kern/sys_futex.c:260 #8 sys_futex+0xf8 sys/kern/sys_futex.c:111 #9 syscall+0x484 mi_syscall sys/sys/syscall_mi.h:102 [inline] #9 syscall+0x484 sys/arch/amd64/amd64/trap.c:585 #10 Xsyscall+0x128 Process 12517 (syz-executor.0) thread 0xffff8000fffee000 (246494) exclusive rrwlock inode r = 0 (0xfffffd806e7b9b40) #0 witness_lock+0x44d #1 rw_enter+0x3e1 sys/kern/kern_rwlock.c:310 #2 rrw_enter+0x8b sys/kern/kern_rwlock.c:465 #3 VOP_LOCK+0x87 sys/kern/vfs_vops.c:518 #4 ufs_ihashins+0x42 sys/ufs/ufs/ufs_ihash.c:140 #5 ffs_vget+0x141 sys/ufs/ffs/ffs_vfsops.c:1347 #6 ffs_inode_alloc+0x1be sys/ufs/ffs/ffs_alloc.c:394 #7 ufs_mkdir+0xf4 sys/ufs/ufs/ufs_vnops.c:1150 #8 VOP_MKDIR+0xbf sys/kern/vfs_vops.c:388 #9 domkdirat+0x121 sys/kern/vfs_syscalls.c:3116 #10 syscall+0x484 mi_syscall sys/sys/syscall_mi.h:102 [inline] #10 syscall+0x484 sys/arch/amd64/amd64/trap.c:585 #11 Xsyscall+0x128 exclusive rrwlock inode r = 0 (0xfffffd806c8f2c58) #0 witness_lock+0x44d #1 rw_enter+0x3e1 sys/kern/kern_rwlock.c:310 #2 rrw_enter+0x8b sys/kern/kern_rwlock.c:465 #3 VOP_LOCK+0x87 sys/kern/vfs_vops.c:518 #4 vn_lock+0x84 sys/kern/vfs_vnops.c:567 #5 vfs_lookup+0xd1 sys/kern/vfs_lookup.c:413 #6 namei+0x36a sys/kern/vfs_lookup.c:245 #7 domkdirat+0x75 sys/kern/vfs_syscalls.c:3101 #8 syscall+0x484 mi_syscall sys/sys/syscall_mi.h:102 [inline] #8 syscall+0x484 sys/arch/amd64/amd64/trap.c:585 #9 Xsyscall+0x128 ddb{1}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 10180 6408K 6420K 78643K 11270 0 pcb 13 10K 12K 78643K 15 0 rtable 236 6K 6K 78643K 394 0 ifaddr 81 16K 16K 78643K 82 0 sysctl 2 0K 0K 78643K 2 0 counters 56 35K 35K 78643K 56 0 ioctlops 0 0K 2K 78643K 33 0 iov 0 0K 12K 78643K 133 0 mount 1 1K 1K 78643K 1 0 log 0 0K 0K 78643K 5 0 vnodes 1270 79K 79K 78643K 1763 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 9K 78643K 40 0 VM map 2 1K 1K 78643K 2 0 sem 12 1K 1K 78643K 173 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1697 195K 286K 78643K 12548 0 file desc 19 69K 113K 78643K 1557 0 proc 56 78K 115K 78643K 487 0 subproc 104 6K 6K 78643K 104 0 NFS srvsock 1 0K 0K 78643K 1 0 NFS daemon 1 16K 16K 78643K 1 0 ip_moptions 0 0K 0K 78643K 76 0 in_multi 99 6K 6K 78643K 131 0 ether_multi 1 0K 0K 78643K 16 0 mrt 1 0K 0K 78643K 1 0 ISOFS mount 1 32K 32K 78643K 1 0 MSDOSFS mount 1 16K 16K 78643K 1 0 ttys 79 360K 360K 78643K 79 0 exec 0 0K 2K 78643K 1165 0 tdb 3 0K 0K 78643K 3 0 pagedep 1 8K 8K 78643K 1 0 inodedep 1 32K 32K 78643K 1 0 newblk 1 0K 0K 78643K 1 0 VM swap 7 26K 26K 78643K 7 0 UVM amap 214 77K 94K 78643K 10507 0 UVM aobj 41 2K 2K 78643K 43 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 43 0 NDP 11 0K 2K 78643K 27 0 temp 124 4722K 4786K 78643K 6649 0 kqueue 12 18K 26K 78643K 159 0 SYN cache 2 16K 16K 78643K 2 0 ddb{1}> show all pools Name Size Requests Fail Releases Pgreq Pgrel Npage Hiwat Minpg Maxpg Idle plcache 128 22 0 0 1 0 1 1 0 8 0 rtpcb 120 95 0 92 1 0 1 1 0 8 0 rtentry 112 114 0 3 4 0 4 4 0 8 0 unpcb 136 2759 0 2746 15 9 6 6 0 8 5 syncache 296 18 0 18 4 4 0 1 0 8 0 tcpqe 32 39 0 39 4 4 0 1 0 8 0 tcpcb 736 467 0 458 15 13 2 8 0 8 0 arp 120 18 0 0 1 0 1 1 0 8 0 inpcb 320 986 0 977 15 14 1 10 0 8 0 nd6 48 27 0 2 1 0 1 1 0 8 0 kcovpl 48 8 0 0 1 0 1 1 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 469 0 4 30 0 30 30 0 8 0 art_table 32 470 0 4 4 0 4 4 0 8 0 art_node 16 113 0 12 1 0 1 1 0 8 0 semupl 112 1 0 1 1 1 0 1 0 8 0 semapl 112 171 0 161 1 0 1 1 0 8 0 shmpl 112 40 0 2 2 0 2 2 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 3587 0 2153 90 0 90 90 0 8 0 ffsino 272 3587 0 2153 96 0 96 96 0 8 0 nchpl 144 5797 0 4128 63 0 63 63 0 8 0 uvmvnodes 80 3700 0 0 76 0 76 76 0 8 0 vnodes 224 3700 0 0 218 0 218 218 0 8 0 namei 1024 19388 0 19387 2 1 1 2 0 8 0 percpumem 16 40 0 0 1 0 1 1 0 8 0 kstatmem 264 22 0 0 2 0 2 2 0 8 0 scxspl 216 16295 0 16294 10 9 1 8 0 8 0 plimitpl 152 314 0 291 2 1 1 2 0 8 0 sigapl 424 1835 0 1785 7 0 7 7 0 8 0 futexpl 64 11745 0 11744 1 0 1 1 0 8 0 knotepl 120 323 0 0 10 0 10 10 0 8 0 kqueuepl 224 386 0 378 7 6 1 5 0 8 0 pipepl 336 305 0 277 9 6 3 6 0 8 0 fdescpl 496 1817 0 1787 7 2 5 6 0 8 0 filepl 152 12793 0 12560 32 17 15 18 0 8 6 lockfpl 104 242 0 240 2 1 1 2 0 8 0 lockfspl 48 28 0 26 1 0 1 1 0 8 0 sessionpl 144 23 0 7 1 0 1 1 0 8 0 pgrppl 48 26 0 10 1 0 1 1 0 8 0 ucredpl 104 2575 0 2557 1 0 1 1 0 8 0 zombiepl 144 1787 0 1785 1 0 1 1 0 8 0 processpl 1064 1835 0 1785 4 0 4 4 0 8 0 procpl 672 4516 0 4457 8 1 7 8 0 8 0 srpgc 96 1 0 1 1 1 0 1 0 8 0 sosppl 168 22 0 22 2 2 0 1 0 8 0 sockpl 480 3858 0 3833 80 59 21 23 0 8 17 mcl64k 65536 17 0 0 3 0 3 3 0 8 0 mcl16k 16384 17 0 0 3 0 3 3 0 8 0 mcl12k 12288 14 0 0 2 0 2 2 0 8 0 mcl9k 9216 5 0 0 1 0 1 1 0 8 0 mcl8k 8192 17 0 0 3 0 3 3 0 8 0 mcl4k 4096 13 0 0 2 0 2 2 0 8 0 mcl2k2 2112 2 0 0 1 0 1 1 0 8 0 mcl2k 2048 153 0 0 19 0 19 19 0 8 0 mtagpl 96 2 0 0 1 0 1 1 0 8 0 mbufpl 256 512 0 0 30 0 30 30 0 8 0 bufpl 288 5937 0 149 414 0 414 414 0 8 0 anonpl 24 320207 0 308480 97 16 81 95 0 186 0 amapchunkpl 152 36072 0 35566 49 14 35 37 0 158 9 amappl16 200 3994 0 3623 31 9 22 31 0 8 0 amappl15 192 9 0 5 1 0 1 1 0 8 0 amappl14 184 207 0 202 1 0 1 1 0 8 0 amappl13 176 239 0 237 1 0 1 1 0 8 0 amappl12 168 6 0 4 1 0 1 1 0 8 0 amappl11 160 271 0 253 1 0 1 1 0 8 0 amappl10 152 585 0 573 1 0 1 1 0 8 0 amappl9 144 886 0 882 1 0 1 1 0 8 0 amappl8 136 563 0 510 2 0 2 2 0 8 0 amappl7 128 115 0 103 1 0 1 1 0 8 0 amappl6 120 581 0 562 2 1 1 2 0 8 0 amappl5 112 2088 0 2065 1 0 1 1 0 8 0 amappl4 104 994 0 969 2 0 2 2 0 8 0 amappl3 96 4825 0 4784 2 0 2 2 0 8 0 amappl2 88 2320 0 2257 3 1 2 3 0 8 0 amappl1 80 44728 0 44132 19 3 16 19 0 8 1 amappl 88 10046 0 9913 5 1 4 4 0 92 0 dma4096 4096 1 0 1 1 1 0 1 0 8 0 dma1024 1024 1 0 0 1 0 1 1 0 8 0 dma256 256 6 0 6 1 1 0 1 0 8 0 dma128 128 253 0 253 1 1 0 1 0 8 0 dma64 64 6 0 6 1 1 0 1 0 8 0 dma32 32 7 0 7 1 1 0 1 0 8 0 dma16 16 18 0 17 1 0 1 1 0 8 0 aobjpl 72 42 0 2 1 0 1 1 0 8 0 uaddrrnd 24 1817 0 1787 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 1817 0 1787 1 0 1 1 0 8 0 vmmpekpl 168 17778 0 17736 3 0 3 3 0 8 0 vmmpepl 168 176740 0 174515 134 9 125 130 0 357 8 vmsppl 368 1816 0 1787 4 0 4 4 0 8 0 rwobjpl 56 47575 0 42586 72 0 72 72 0 8 0 pdppl 4096 3641 0 3574 133 52 81 89 0 8 14 pvpl 32 726494 0 710161 253 70 183 252 0 265 36 pmappl 248 1816 0 1787 4 1 3 3 0 8 0 extentpl 40 58 0 38 1 0 1 1 0 8 0 phpool 112 860 0 74 23 0 23 23 0 8 0 ddb{1}> machine ddbcpu 0 Stopped at x86_ipi_db+0x1a: addq $0x8,%rsp x86_ipi_db(ffffffff8292aff0) at x86_ipi_db+0x1a sys/arch/amd64/amd64/db_interface.c:393 x86_ipi_handler() at x86_ipi_handler+0xb7 sys/arch/amd64/amd64/ipi.c:106 Xresume_lapic_ipi() at Xresume_lapic_ipi+0x23 __mp_lock(ffffffff82b5ecb0) at __mp_lock+0x122 __mp_lock_spin sys/kern/kern_lock.c:116 [inline] __mp_lock(ffffffff82b5ecb0) at __mp_lock+0x122 sys/kern/kern_lock.c:147 yield() at yield+0x36 sys/kern/sched_bsd.c:288 uvm_pagezero_thread(ffff8000212327e8) at uvm_pagezero_thread+0x6d sys/uvm/uvm_pmemrange.c:2170 end trace frame: 0x0, count: 9 ddb{0}> trace x86_ipi_db(ffffffff8292aff0) at x86_ipi_db+0x1a sys/arch/amd64/amd64/db_interface.c:393 x86_ipi_handler() at x86_ipi_handler+0xb7 sys/arch/amd64/amd64/ipi.c:106 Xresume_lapic_ipi() at Xresume_lapic_ipi+0x23 __mp_lock(ffffffff82b5ecb0) at __mp_lock+0x122 __mp_lock_spin sys/kern/kern_lock.c:116 [inline] __mp_lock(ffffffff82b5ecb0) at __mp_lock+0x122 sys/kern/kern_lock.c:147 yield() at yield+0x36 sys/kern/sched_bsd.c:288 uvm_pagezero_thread(ffff8000212327e8) at uvm_pagezero_thread+0x6d sys/uvm/uvm_pmemrange.c:2170 end trace frame: 0x0, count: -6 ddb{0}> machine ddbcpu 1 Stopped at db_enter+0x18: addq $0x8,%rsp db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:437 panic(ffffffff8259bd82) at panic+0x177 sys/kern/subr_prf.c:202 __assert(ffffffff8261504d,ffffffff8261b5a3,3f,ffffffff8264d4fb) 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(ffff8000296187f0,1,c) at single_thread_check_locked+0x1f6 sys/kern/kern_sig.c:2037 single_thread_check(ffff8000296187f0,1) at single_thread_check+0x4b sys/kern/kern_sig.c:2057 sleep_finish(ffff800026f828e0,1) at sleep_finish+0x75 sleep_signal_check sys/kern/kern_synch.c:464 [inline] sleep_finish(ffff800026f828e0,1) at sleep_finish+0x75 sys/kern/kern_synch.c:400 rwsleep(ffff8000296187f0,ffffffff82957750,120,ffffffff82595e88,0) at rwsleep+0xd5 sys/kern/kern_synch.c:314 futex_wait(664f7623430,1,0,2) at futex_wait+0x13c sys/kern/sys_futex.c:260 sys_futex(ffff8000296187f0,ffff800026f82a70,ffff800026f82ad0) at sys_futex+0xf8 sys/kern/sys_futex.c:111 syscall(ffff800026f82b40) at syscall+0x484 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff800026f82b40) at syscall+0x484 sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x6654f18dc00, count: 3 ddb{1}> trace db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:437 panic(ffffffff8259bd82) at panic+0x177 sys/kern/subr_prf.c:202 __assert(ffffffff8261504d,ffffffff8261b5a3,3f,ffffffff8264d4fb) 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(ffff8000296187f0,1,c) at single_thread_check_locked+0x1f6 sys/kern/kern_sig.c:2037 single_thread_check(ffff8000296187f0,1) at single_thread_check+0x4b sys/kern/kern_sig.c:2057 sleep_finish(ffff800026f828e0,1) at sleep_finish+0x75 sleep_signal_check sys/kern/kern_synch.c:464 [inline] sleep_finish(ffff800026f828e0,1) at sleep_finish+0x75 sys/kern/kern_synch.c:400 rwsleep(ffff8000296187f0,ffffffff82957750,120,ffffffff82595e88,0) at rwsleep+0xd5 sys/kern/kern_synch.c:314 futex_wait(664f7623430,1,0,2) at futex_wait+0x13c sys/kern/sys_futex.c:260 sys_futex(ffff8000296187f0,ffff800026f82a70,ffff800026f82ad0) at sys_futex+0xf8 sys/kern/sys_futex.c:111 syscall(ffff800026f82b40) at syscall+0x484 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff800026f82b40) at syscall+0x484 sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x6654f18dc00, count: -12