panic: kernel diagnostic assertion "_kernel_lock_held()" failed: file "/syzkaller/managers/multicore/kernel/sys/uvm/uvm_map.c", line 3641 Stopped at db_enter+0x18: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND 281315 19308 0 0 0x4000080 1 syz-executor.0 * 30186 82751 0 0x1000 0x4080000 0 syz-executor.1 db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:440 panic(ffffffff824526a8) at panic+0x177 sys/kern/subr_prf.c:202 __assert(ffffffff824c05ca,ffffffff824cce5d,e39,ffffffff824ced3e) at __assert+0x25 sys/kern/subr_prf.c:161 uvmspace_free(fffffd806f3445c8) at uvmspace_free+0xe4 sys/uvm/uvm_map.c:3641 vm_impl_init_vmx(ffff8000222b75e0,ffff80002126fce0) at vm_impl_init_vmx+0x159 vm_create(ffff800000b5e000,ffff80002126fce0) at vm_create+0x19b vm_impl_init sys/arch/amd64/amd64/vmm.c:1690 [inline] vm_create(ffff800000b5e000,ffff80002126fce0) at vm_create+0x19b sys/arch/amd64/amd64/vmm.c:1510 vmmioctl(a00,c5005601,ffff800000b5e000,1,ffff80002126fce0) at vmmioctl+0x1f2 VOP_IOCTL(fffffd806e214590,c5005601,ffff800000b5e000,1,fffffd807f7d8720,ffff80002126fce0) at VOP_IOCTL+0x9a sys/kern/vfs_vops.c:295 vn_ioctl(fffffd8069fdcd30,c5005601,ffff800000b5e000,ffff80002126fce0) at vn_ioctl+0xba sys/kern/vfs_vnops.c:531 sys_ioctl(ffff80002126fce0,ffff8000222b5838,ffff8000222b5880) at sys_ioctl+0x4a2 syscall(ffff8000222b5900) at syscall+0x5a9 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff8000222b5900) at syscall+0x5a9 sys/arch/amd64/amd64/trap.c:587 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xa10675b7d40, 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{0}> ddb{0}> set $lines = 0 ddb{0}> set $maxwidth = 0 ddb{0}> show panic *cpu0: kernel diagnostic assertion "_kernel_lock_held()" failed: file "/syzkaller/managers/multicore/kernel/sys/uvm/uvm_map.c", line 3641 ddb{0}> trace db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:440 panic(ffffffff824526a8) at panic+0x177 sys/kern/subr_prf.c:202 __assert(ffffffff824c05ca,ffffffff824cce5d,e39,ffffffff824ced3e) at __assert+0x25 sys/kern/subr_prf.c:161 uvmspace_free(fffffd806f3445c8) at uvmspace_free+0xe4 sys/uvm/uvm_map.c:3641 vm_impl_init_vmx(ffff8000222b75e0,ffff80002126fce0) at vm_impl_init_vmx+0x159 vm_create(ffff800000b5e000,ffff80002126fce0) at vm_create+0x19b vm_impl_init sys/arch/amd64/amd64/vmm.c:1690 [inline] vm_create(ffff800000b5e000,ffff80002126fce0) at vm_create+0x19b sys/arch/amd64/amd64/vmm.c:1510 vmmioctl(a00,c5005601,ffff800000b5e000,1,ffff80002126fce0) at vmmioctl+0x1f2 VOP_IOCTL(fffffd806e214590,c5005601,ffff800000b5e000,1,fffffd807f7d8720,ffff80002126fce0) at VOP_IOCTL+0x9a sys/kern/vfs_vops.c:295 vn_ioctl(fffffd8069fdcd30,c5005601,ffff800000b5e000,ffff80002126fce0) at vn_ioctl+0xba sys/kern/vfs_vnops.c:531 sys_ioctl(ffff80002126fce0,ffff8000222b5838,ffff8000222b5880) at sys_ioctl+0x4a2 syscall(ffff8000222b5900) at syscall+0x5a9 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff8000222b5900) at syscall+0x5a9 sys/arch/amd64/amd64/trap.c:587 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xa10675b7d40, count: -12 ddb{0}> show registers rdi 0 rsi 0x1 rbp 0xffff8000222b5330 rbx 0xffffffff82828bff cpu_info_full_primary+0x2bff rdx 0x8b rcx 0x2 rax 0x8a r8 0xffffffff820a9ca4 kprintf+0x144 r9 0x1 r10 0x4e06634eb524038a r11 0xab04a73fbe547f34 r12 0xffffffff82828a00 cpu_info_full_primary+0x2a00 r13 0 r14 0 r15 0x1 rip 0xffffffff8230ccb8 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff8000222b5320 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb{0}> show proc PROC (syz-executor.1) pid=30186 stat=onproc flags process=1000 proc=4080000 pri=32, usrpri=77, nice=20 forw=0xffffffffffffffff, list=0xffff80002126efc0,0xffff80002126f7b0 process=0xffff8000ffff8008 user=0xffff8000222b0000, vmspace=0xfffffd8008586170 estcpu=36, cpticks=1, pctcpu=0.0 user=0, sys=1, intr=0 ddb{0}> ps PID TID PPID UID S FLAGS WAIT COMMAND 19308 346168 80241 0 2 0 syz-executor.0 19308 281315 80241 0 7 0x4000080 syz-executor.0 82751 85393 26746 0 3 0x3000 suspend syz-executor.1 *82751 30186 26746 0 7 0x4081000 syz-executor.1 52413 465524 0 0 3 0x14200 bored sosplice 26746 394157 41112 0 2 0x482 syz-executor.1 80241 283658 41112 0 3 0x82 nanoslp syz-executor.0 41112 88195 36272 0 3 0x82 thrsleep syz-fuzzer 41112 342194 36272 0 3 0x4000082 nanoslp syz-fuzzer 41112 255362 36272 0 3 0x4000082 thrsleep syz-fuzzer 41112 497752 36272 0 3 0x4000082 thrsleep syz-fuzzer 41112 186595 36272 0 3 0x4000082 thrsleep syz-fuzzer 41112 335089 36272 0 3 0x4000082 thrsleep syz-fuzzer 41112 13387 36272 0 3 0x4000082 thrsleep syz-fuzzer 41112 381125 36272 0 3 0x4000082 thrsleep syz-fuzzer 41112 414002 36272 0 2 0x4000482 syz-fuzzer 36272 248027 68369 0 3 0x10008a sigsusp ksh 68369 270306 60377 0 3 0x9a select sshd 4530 431597 1 0 3 0x100083 ttyin getty 60377 115489 1 0 3 0x88 select sshd 23030 388649 83246 74 3 0x100092 bpf pflogd 83246 237072 1 0 3 0x80 netio pflogd 42164 446461 69084 73 2 0x100090 syslogd 69084 457236 1 0 3 0x100082 netio syslogd 36322 85345 1 0 3 0x100080 kqread resolvd 88470 504803 19380 77 3 0x100092 kqread dhcpleased 61936 275138 19380 77 3 0x100092 kqread dhcpleased 19380 457825 1 0 3 0x80 kqread dhcpleased 90457 469899 0 0 3 0x14200 bored smr 5309 5023 0 0 3 0x14200 pgzero zerothread 46169 13406 0 0 3 0x14200 aiodoned aiodoned 3835 297361 0 0 3 0x14200 syncer update 59978 466572 0 0 3 0x14200 cleaner cleaner 45251 244979 0 0 3 0x14200 reaper reaper 47999 20287 0 0 3 0x14200 pgdaemon pagedaemon 78502 430480 0 0 3 0x14200 bored crynlk 52882 436852 0 0 3 0x14200 bored crypto 14843 152365 0 0 3 0x14200 bored viomb 30916 16996 0 0 3 0x40014200 acpi0 acpi0 50474 498986 0 0 3 0x40014200 idle1 73792 160105 0 0 3 0x14200 bored softnet 25146 65656 0 0 3 0x14200 bored systqmp 67631 315181 0 0 3 0x14200 bored systq 3940 470171 0 0 3 0x40014200 bored softclock 1745 512966 0 0 3 0x40014200 idle0 1 134521 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{0}> show all locks Process 19308 (syz-executor.0) thread 0xffff8000ffff7cf0 (281315) exclusive kernel_lock &kernel_lock r = 0 (0xffffffff8283ff70) #0 witness_lock+0x4b0 stacktrace_save sys/sys/stacktrace.h:36 [inline] #0 witness_lock+0x4b0 sys/kern/subr_witness.c:1182 #1 __mp_acquire_count+0x4c sys/kern/kern_lock.c:227 #2 mi_switch+0x3d3 sys/kern/sched_bsd.c:433 #3 sleep_finish+0x1b2 sys/kern/kern_synch.c:433 #4 tsleep+0x125 sys/kern/kern_synch.c:158 #5 biowait+0x91 sys/kern/vfs_bio.c:1271 #6 bwrite+0x216 sys/kern/vfs_bio.c:772 #7 ffs_update+0x2b5 sys/ufs/ffs/ffs_inode.c:113 #8 ufs_makeinode+0x484 sys/ufs/ufs/ufs_vnops.c:1864 #9 ufs_mknod+0x4e sys/ufs/ufs/ufs_vnops.c:172 #10 VOP_MKNOD+0xc6 sys/kern/vfs_vops.c:132 #11 domknodat+0x326 sys/kern/vfs_syscalls.c:1634 #12 syscall+0x5a9 mi_syscall sys/sys/syscall_mi.h:102 [inline] #12 syscall+0x5a9 sys/arch/amd64/amd64/trap.c:587 #13 Xsyscall+0x128 exclusive rrwlock inode r = 0 (0xfffffd8069b862c0) #0 witness_lock+0x4b0 stacktrace_save sys/sys/stacktrace.h:36 [inline] #0 witness_lock+0x4b0 sys/kern/subr_witness.c:1182 #1 rw_enter+0x3e2 sys/kern/kern_rwlock.c:310 #2 rrw_enter+0x8b sys/kern/kern_rwlock.c:461 #3 ufs_ihashins+0x45 sys/ufs/ufs/ufs_ihash.c:140 #4 ffs_vget+0x141 sys/ufs/ffs/ffs_vfsops.c:1350 #5 ffs_inode_alloc+0x1c3 sys/ufs/ffs/ffs_alloc.c:394 #6 ufs_makeinode+0xae sys/ufs/ufs/ufs_vnops.c:1830 #7 ufs_mknod+0x4e sys/ufs/ufs/ufs_vnops.c:172 #8 VOP_MKNOD+0xc6 sys/kern/vfs_vops.c:132 #9 domknodat+0x326 sys/kern/vfs_syscalls.c:1634 #10 syscall+0x5a9 mi_syscall sys/sys/syscall_mi.h:102 [inline] #10 syscall+0x5a9 sys/arch/amd64/amd64/trap.c:587 #11 Xsyscall+0x128 exclusive rrwlock inode r = 0 (0xfffffd8069b86f80) #0 witness_lock+0x4b0 stacktrace_save sys/sys/stacktrace.h:36 [inline] #0 witness_lock+0x4b0 sys/kern/subr_witness.c:1182 #1 rw_enter+0x3e2 sys/kern/kern_rwlock.c:310 #2 rrw_enter+0x8b sys/kern/kern_rwlock.c:461 #3 VOP_LOCK+0x87 sys/kern/vfs_vops.c:614 #4 vn_lock+0x84 sys/kern/vfs_vnops.c:579 #5 vfs_lookup+0xdd sys/kern/vfs_lookup.c:413 #6 namei+0x55a sys/kern/vfs_lookup.c:245 #7 domknodat+0x92 sys/kern/vfs_syscalls.c:1586 #8 syscall+0x5a9 mi_syscall sys/sys/syscall_mi.h:102 [inline] #8 syscall+0x5a9 sys/arch/amd64/amd64/trap.c:587 #9 Xsyscall+0x128 Process 82751 (syz-executor.1) thread 0xffff80002126fce0 (30186) exclusive rwlock vmlistlock r = 0 (0xffff800000655c78) #0 witness_lock+0x4b0 stacktrace_save sys/sys/stacktrace.h:36 [inline] #0 witness_lock+0x4b0 sys/kern/subr_witness.c:1182 #1 vm_create+0x12e vm_impl_init sys/arch/amd64/amd64/vmm.c:1688 [inline] #1 vm_create+0x12e sys/arch/amd64/amd64/vmm.c:1510 #2 vmmioctl+0x1f2 #3 VOP_IOCTL+0x9a sys/kern/vfs_vops.c:295 #4 vn_ioctl+0xba sys/kern/vfs_vnops.c:531 #5 sys_ioctl+0x4a2 #6 syscall+0x5a9 mi_syscall sys/sys/syscall_mi.h:102 [inline] #6 syscall+0x5a9 sys/arch/amd64/amd64/trap.c:587 #7 Xsyscall+0x128 ddb{0}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 10131 6424K 6809K 78643K 11737 0 pcb 13 8K 8K 78643K 36 0 rtable 106 3K 3K 78643K 216 0 ifaddr 49 11K 11K 78643K 96 0 counters 44 34K 34K 78643K 66 0 ioctlops 1 2K 4K 78643K 1500 0 iov 0 0K 2K 78643K 2 0 mount 1 1K 1K 78643K 1 0 log 0 0K 0K 78643K 5 0 vnodes 1217 77K 77K 78643K 1390 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 1K 78643K 2 0 VM map 2 1K 1K 78643K 2 0 sem 9 0K 1K 78643K 17 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1697 195K 286K 78643K 12598 0 file desc 6 17K 25K 78643K 746 0 sigio 0 0K 0K 78643K 7 0 proc 69 87K 111K 78643K 381 0 subproc 32 2K 2K 78643K 34 0 NFS srvsock 1 0K 0K 78643K 1 0 NFS daemon 1 16K 16K 78643K 1 0 ip_moptions 0 0K 0K 78643K 13 0 in_multi 33 2K 2K 78643K 63 0 ether_multi 1 0K 0K 78643K 8 0 ISOFS mount 1 32K 32K 78643K 1 0 MSDOSFS mount 1 16K 16K 78643K 1 0 ttys 55 254K 254K 78643K 55 0 exec 0 0K 2K 78643K 427 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 200 42K 42K 78643K 10751 0 UVM aobj 3 2K 2K 78643K 3 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 16 0 NDP 7 0K 0K 78643K 22 0 temp 91 4201K 4265K 78643K 4185 0 kqueue 10 14K 18K 78643K 35 0 SYN cache 2 16K 16K 78643K 2 0 ddb{0}> 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 72 0 69 1 0 1 1 0 8 0 rtentry 112 45 0 1 2 0 2 2 0 8 0 unpcb 120 293 0 278 2 1 1 2 0 8 0 syncache 296 4 0 4 1 1 0 1 0 8 0 tcpqe 32 113 0 113 2 2 0 1 0 8 0 tcpcb 736 77 0 73 5 4 1 3 0 8 0 arp 120 6 0 0 1 0 1 1 0 8 0 inpcb 304 265 0 258 2 1 1 2 0 8 0 nd6 48 6 0 0 1 0 1 1 0 8 0 pkpcb 40 11 0 11 1 1 0 1 0 8 0 kcovpl 48 2 0 0 1 0 1 1 0 8 0 ppxss 1248 11 0 11 2 1 1 1 0 8 1 pfosfp 40 1428 0 1005 5 0 5 5 0 8 0 pfosfpen 112 1428 0 714 21 0 21 21 0 8 0 pfstitem 24 13 0 7 1 0 1 1 0 8 0 pfstkey 112 13 0 7 1 0 1 1 0 8 0 pfstate 320 13 0 7 2 0 2 2 0 8 1 pfrule 1360 21 0 15 2 0 2 2 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 189 0 0 12 0 12 12 0 8 0 art_table 32 190 0 0 2 0 2 2 0 8 0 art_node 16 44 0 4 1 0 1 1 0 8 0 sysvmsgpl 40 60 0 50 1 0 1 1 0 8 0 semupl 112 6 0 6 2 2 0 1 0 8 0 semapl 112 7 0 0 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 2318 0 909 89 0 89 89 0 8 0 ffsino 272 2318 0 909 95 0 95 95 0 8 0 nchpl 144 3447 0 1826 61 0 61 61 0 8 0 uvmvnodes 72 2454 0 0 45 0 45 45 0 8 0 vnodes 224 2454 0 0 145 0 145 145 0 8 0 namei 1024 8891 0 8891 1 0 1 1 0 8 1 percpumem 16 45 0 11 1 0 1 1 0 8 0 vcpupl 2048 1 0 0 1 0 1 1 0 8 0 vmpool 560 2 0 0 1 0 1 1 0 8 0 scxspl 216 9736 0 9736 8 7 1 7 0 8 1 plimitpl 152 55 0 46 1 0 1 1 0 8 0 sigapl 424 1006 0 970 5 0 5 5 0 8 1 futexpl 56 5337 0 5337 1 0 1 1 0 8 1 knotepl 112 52 0 0 2 0 2 2 0 8 0 kqueuepl 216 305 0 299 1 0 1 1 0 8 0 pipepl 336 230 0 220 3 2 1 2 0 8 0 fdescpl 496 989 0 970 3 0 3 3 0 8 0 filepl 152 3769 0 3655 7 2 5 7 0 8 0 lockfpl 104 42 0 40 1 0 1 1 0 8 0 lockfspl 48 22 0 20 1 0 1 1 0 8 0 sessionpl 144 18 0 7 1 0 1 1 0 8 0 pgrppl 48 18 0 7 1 0 1 1 0 8 0 ucredpl 96 445 0 433 1 0 1 1 0 8 0 zombiepl 144 971 0 970 1 0 1 1 0 8 0 processpl 1072 1006 0 970 3 0 3 3 0 8 0 procpl 672 1930 0 1884 7 2 5 5 0 8 1 sosppl 168 19 0 19 2 2 0 1 0 8 0 sockpl 480 641 0 616 6 2 4 6 0 8 0 mcl64k 65536 4 0 0 1 0 1 1 0 8 0 mcl12k 12288 6 0 0 1 0 1 1 0 8 0 mcl9k 9216 3 0 0 1 0 1 1 0 8 0 mcl8k 8192 5 0 0 1 0 1 1 0 8 0 mcl4k 4096 11 0 0 2 0 2 2 0 8 0 mcl2k 2048 156 0 0 16 0 16 16 0 8 0 mtagpl 96 38 0 0 1 0 1 1 0 8 0 mbufpl 256 472 0 0 28 0 28 28 0 8 0 bufpl 280 4205 0 135 291 0 291 291 0 8 0 anonpl 24 248776 0 241597 73 5 68 68 0 186 22 amapchunkpl 152 24879 0 24439 22 4 18 18 0 158 1 amappl16 200 2799 0 2634 25 8 17 22 0 8 8 amappl14 184 7 0 6 1 0 1 1 0 8 0 amappl13 176 757 0 750 1 0 1 1 0 8 0 amappl12 168 3 0 2 1 0 1 1 0 8 0 amappl11 160 45 0 29 1 0 1 1 0 8 0 amappl10 152 36 0 29 1 0 1 1 0 8 0 amappl9 144 21 0 16 1 0 1 1 0 8 0 amappl8 136 386 0 348 2 0 2 2 0 8 0 amappl7 128 70 0 56 1 0 1 1 0 8 0 amappl6 120 131 0 119 1 0 1 1 0 8 0 amappl5 112 623 0 605 1 0 1 1 0 8 0 amappl4 104 601 0 576 1 0 1 1 0 8 0 amappl3 96 778 0 770 1 0 1 1 0 8 0 amappl2 88 1196 0 1140 2 0 2 2 0 8 0 amappl1 80 19985 0 19522 13 3 10 13 0 8 0 amappl 88 10398 0 10253 4 0 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 64 2 0 0 1 0 1 1 0 8 0 uaddrrnd 24 991 0 970 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 991 0 970 1 0 1 1 0 8 0 vmmpekpl 168 9584 0 9554 2 0 2 2 0 8 0 vmmpepl 168 108426 0 106836 82 3 79 80 0 357 9 vmsppl 368 990 0 970 2 0 2 2 0 8 0 rwobjpl 56 22886 0 21962 19 2 17 17 0 8 2 pdppl 4096 1990 0 1941 73 24 49 50 0 8 0 pvpl 32 570547 0 559801 160 37 123 137 0 265 32 pmappl 224 990 0 970 2 0 2 2 0 8 0 extentpl 40 58 0 40 1 0 1 1 0 8 0 phpool 112 338 0 32 9 0 9 9 0 8 0 ddb{0}> machine ddbcpu 0 Invalid cpu 0 ddb{0}> trace db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:440 panic(ffffffff824526a8) at panic+0x177 sys/kern/subr_prf.c:202 __assert(ffffffff824c05ca,ffffffff824cce5d,e39,ffffffff824ced3e) at __assert+0x25 sys/kern/subr_prf.c:161 uvmspace_free(fffffd806f3445c8) at uvmspace_free+0xe4 sys/uvm/uvm_map.c:3641 vm_impl_init_vmx(ffff8000222b75e0,ffff80002126fce0) at vm_impl_init_vmx+0x159 vm_create(ffff800000b5e000,ffff80002126fce0) at vm_create+0x19b vm_impl_init sys/arch/amd64/amd64/vmm.c:1690 [inline] vm_create(ffff800000b5e000,ffff80002126fce0) at vm_create+0x19b sys/arch/amd64/amd64/vmm.c:1510 vmmioctl(a00,c5005601,ffff800000b5e000,1,ffff80002126fce0) at vmmioctl+0x1f2 VOP_IOCTL(fffffd806e214590,c5005601,ffff800000b5e000,1,fffffd807f7d8720,ffff80002126fce0) at VOP_IOCTL+0x9a sys/kern/vfs_vops.c:295 vn_ioctl(fffffd8069fdcd30,c5005601,ffff800000b5e000,ffff80002126fce0) at vn_ioctl+0xba sys/kern/vfs_vnops.c:531 sys_ioctl(ffff80002126fce0,ffff8000222b5838,ffff8000222b5880) at sys_ioctl+0x4a2 syscall(ffff8000222b5900) at syscall+0x5a9 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff8000222b5900) at syscall+0x5a9 sys/arch/amd64/amd64/trap.c:587 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xa10675b7d40, count: -12 ddb{0}> machine ddbcpu 1 Stopped at x86_ipi_db+0x1a: addq $0x8,%rsp x86_ipi_db(ffff800020d38ff0) 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(ffffffff8283fd68) at __mp_lock+0x12e __mp_lock_spin sys/kern/kern_lock.c:116 [inline] __mp_lock(ffffffff8283fd68) at __mp_lock+0x12e sys/kern/kern_lock.c:147 __mp_acquire_count(ffffffff8283fd68,2) at __mp_acquire_count+0x4c sys/kern/kern_lock.c:227 mi_switch() at mi_switch+0x3d3 sys/kern/sched_bsd.c:433 sleep_finish(ffff8000222cdaf0,1) at sleep_finish+0x1b2 sys/kern/kern_synch.c:433 rwsleep(ffff8000ffff7cf0,ffffffff82797730,120,ffffffff82447812,0) at rwsleep+0xd6 sys/kern/kern_synch.c:313 futex_wait(d54347e9be0,2,0,2) at futex_wait+0x13c sys/kern/sys_futex.c:255 sys_futex(ffff8000ffff7cf0,ffff8000222cdc80,ffff8000222cdcd0) at sys_futex+0x119 sys/kern/sys_futex.c:111 syscall(ffff8000222cdd50) at syscall+0x5a9 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff8000222cdd50) at syscall+0x5a9 sys/arch/amd64/amd64/trap.c:587 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xd538e0afd90, count: 3 ddb{1}> trace x86_ipi_db(ffff800020d38ff0) 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(ffffffff8283fd68) at __mp_lock+0x12e __mp_lock_spin sys/kern/kern_lock.c:116 [inline] __mp_lock(ffffffff8283fd68) at __mp_lock+0x12e sys/kern/kern_lock.c:147 __mp_acquire_count(ffffffff8283fd68,2) at __mp_acquire_count+0x4c sys/kern/kern_lock.c:227 mi_switch() at mi_switch+0x3d3 sys/kern/sched_bsd.c:433 sleep_finish(ffff8000222cdaf0,1) at sleep_finish+0x1b2 sys/kern/kern_synch.c:433 rwsleep(ffff8000ffff7cf0,ffffffff82797730,120,ffffffff82447812,0) at rwsleep+0xd6 sys/kern/kern_synch.c:313 futex_wait(d54347e9be0,2,0,2) at futex_wait+0x13c sys/kern/sys_futex.c:255 sys_futex(ffff8000ffff7cf0,ffff8000222cdc80,ffff8000222cdcd0) at sys_futex+0x119 sys/kern/sys_futex.c:111 syscall(ffff8000222cdd50) at syscall+0x5a9 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff8000222cdd50) at syscall+0x5a9 sys/arch/amd64/amd64/trap.c:587 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xd538e0afd90, count: -12