panic: kernel diagnostic assertion "uvn->u_obj.uo_refs == 0" failed: file "/syzkaller/managers/setuid/kernel/sys/uvm/uvm_vnode.c", line 234 Stopped at db_enter+0x18: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND * 76882 31861 32767 0x10 0x4000000 0K syz-executor.3 460568 16040 32767 0x10 0 1 syz-executor.0 db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:437 panic(ffffffff825a566a) at panic+0x177 sys/kern/subr_prf.c:202 __assert(ffffffff8261a2b2,ffffffff8263e388,ea,ffffffff82636a65) at __assert+0x25 sys/kern/subr_prf.c:161 uvn_attach(fffffd807b31e5f0,6) at uvn_attach+0x444 sys/uvm/uvm_vnode.c:234 uvm_mmapfile(fffffd80751385d8,ffff80002b05da48,10000,2,6,11,2e8db16d2c52e7d3,fffffd80751385d8,0,11) at uvm_mmapfile+0x194 sys/uvm/uvm_mmap.c:1029 sys_mmap(ffff8000ffff7270,ffff80002b05daf0,ffff80002b05dbc0) at sys_mmap+0xb4a sys/uvm/uvm_mmap.c:395 sys_pad_mmap(ffff8000ffff7270,ffff80002b05db78,ffff80002b05dbc0) at sys_pad_mmap+0x68 sys/uvm/uvm_mmap.c:470 syscall(ffff80002b05dc40) at syscall+0x435 mi_syscall sys/sys/syscall_mi.h:101 [inline] syscall(ffff80002b05dc40) at syscall+0x435 sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xcdcff45e610, count: 6 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 "uvn->u_obj.uo_refs == 0" failed: file "/syzkaller/managers/setuid/kernel/sys/uvm/uvm_vnode.c", line 234 ddb{0}> trace db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:437 panic(ffffffff825a566a) at panic+0x177 sys/kern/subr_prf.c:202 __assert(ffffffff8261a2b2,ffffffff8263e388,ea,ffffffff82636a65) at __assert+0x25 sys/kern/subr_prf.c:161 uvn_attach(fffffd807b31e5f0,6) at uvn_attach+0x444 sys/uvm/uvm_vnode.c:234 uvm_mmapfile(fffffd80751385d8,ffff80002b05da48,10000,2,6,11,2e8db16d2c52e7d3,fffffd80751385d8,0,11) at uvm_mmapfile+0x194 sys/uvm/uvm_mmap.c:1029 sys_mmap(ffff8000ffff7270,ffff80002b05daf0,ffff80002b05dbc0) at sys_mmap+0xb4a sys/uvm/uvm_mmap.c:395 sys_pad_mmap(ffff8000ffff7270,ffff80002b05db78,ffff80002b05dbc0) at sys_pad_mmap+0x68 sys/uvm/uvm_mmap.c:470 syscall(ffff80002b05dc40) at syscall+0x435 mi_syscall sys/sys/syscall_mi.h:101 [inline] syscall(ffff80002b05dc40) at syscall+0x435 sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xcdcff45e610, count: -9 ddb{0}> show registers rdi 0 rsi 0x1 rbp 0xffff80002b05d6e0 rbx 0xffffffff82932b8f cpu_info_full_primary+0x2b8f rdx 0 rcx 0 rax 0xffff8000ffff7270 r8 0x101010101010101 r9 0x8080808080808080 r10 0xdcf35924ef364fe1 r11 0xc27ca194ea514351 r12 0xffffffff82932990 cpu_info_full_primary+0x2990 r13 0 r14 0 r15 0x1 rip 0xffffffff82293d58 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff80002b05d6d0 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb{0}> show proc PROC (syz-executor.3) pid=76882 stat=onproc flags process=10 proc=4000000 pri=83, usrpri=83, nice=20 forw=0xffffffffffffffff, list=0xffff8000296342b0,0xffff80002b06cd30 process=0xffff80002960e158 user=0xffff80002b058000, vmspace=0xfffffd80751385d8 estcpu=33, cpticks=1, pctcpu=0.0 user=0, sys=1, intr=0 ddb{0}> ps PID TID PPID UID S FLAGS WAIT COMMAND 31861 222882 38856 32767 2 0x10 syz-executor.3 31861 470011 38856 32767 2 0x4000010 syz-executor.3 *31861 76882 38856 32767 7 0x4000010 syz-executor.3 31861 310868 38856 32767 3 0x4000090 fsleep syz-executor.3 1788 167173 77318 32767 3 0x90 nanoslp syz-executor.1 1788 334339 77318 32767 3 0x4000090 netcon2 syz-executor.1 1788 255947 77318 32767 3 0x4000090 fsleep syz-executor.1 1788 64705 77318 32767 3 0x4000090 fsleep syz-executor.1 81204 182441 15046 32767 2 0x10 syz-executor.2 81204 368648 15046 32767 3 0x4000090 fsleep syz-executor.2 524 169321 59046 32767 2 0x10 syz-executor.7 524 139221 59046 32767 3 0x4000090 fsleep syz-executor.7 64632 437349 16040 32767 3 0x90 nanoslp syz-executor.0 64632 407170 16040 32767 3 0x4000090 kqsel syz-executor.0 38856 290236 85793 32767 2 0x490 syz-executor.3 85793 345792 14726 0 3 0x82 wait syz-executor.3 75302 147093 16102 32767 2 0x10 syz-executor.6 16102 400455 14726 0 3 0x82 wait syz-executor.6 15046 61928 65878 32767 2 0x490 syz-executor.2 65878 16213 14726 0 3 0x82 wait syz-executor.2 77318 190904 55082 32767 3 0x90 nanoslp syz-executor.1 55082 460960 14726 0 3 0x82 wait syz-executor.1 98868 376473 76480 32767 2 0x10 syz-executor.5 76480 444336 14726 0 3 0x82 wait syz-executor.5 23913 248336 0 0 3 0x14200 bored sosplice 59046 330096 78065 32767 2 0x490 syz-executor.7 17789 457253 1493 32767 3 0x90 piperd syz-executor.4 78065 14101 14726 0 3 0x82 wait syz-executor.7 1493 372883 14726 0 3 0x82 wait syz-executor.4 16040 460568 68248 32767 7 0x10 syz-executor.0 68248 330594 14726 0 3 0x82 wait syz-executor.0 14726 81224 72801 0 3 0x82 thrsleep syz-fuzzer 14726 66089 72801 0 2 0x4000482 syz-fuzzer 14726 160457 72801 0 3 0x4000082 thrsleep syz-fuzzer 14726 271788 72801 0 3 0x4000082 wait syz-fuzzer 14726 28262 72801 0 3 0x4000082 thrsleep syz-fuzzer 14726 418276 72801 0 3 0x4000082 wait syz-fuzzer 14726 498616 72801 0 3 0x4000082 wait syz-fuzzer 14726 11926 72801 0 3 0x4000082 wait syz-fuzzer 14726 255517 72801 0 3 0x4000082 thrsleep syz-fuzzer 14726 241680 72801 0 3 0x4000082 wait syz-fuzzer 14726 342614 72801 0 3 0x4000082 kqread syz-fuzzer 14726 412259 72801 0 3 0x4000082 wait syz-fuzzer 14726 202122 72801 0 3 0x4000082 wait syz-fuzzer 14726 147107 72801 0 3 0x4000082 wait syz-fuzzer 14726 281809 72801 0 3 0x4000082 thrsleep syz-fuzzer 14726 387487 72801 0 3 0x4000082 thrsleep syz-fuzzer 72801 29632 60484 0 3 0x10008a sigsusp ksh 60484 523929 96026 0 3 0x9a kqread sshd 60992 445349 1 0 3 0x100083 ttyin getty 96026 315448 1 0 3 0x88 kqread sshd 90999 370743 77760 73 3 0x1100090 kqread syslogd 77760 471962 1 0 3 0x100082 netio syslogd 73357 65170 1 0 3 0x100080 kqread resolvd 44455 418155 46866 77 3 0x100092 kqread dhcpleased 56952 294713 46866 77 3 0x100092 kqread dhcpleased 46866 354531 1 0 3 0x80 kqread dhcpleased 14872 466111 0 0 3 0x14200 bored smr 99271 99947 0 0 2 0x14200 zerothread 72340 129012 0 0 3 0x14200 aiodoned aiodoned 27306 126408 0 0 3 0x14200 syncer update 54182 78771 0 0 3 0x14200 cleaner cleaner 11183 304710 0 0 3 0x14200 reaper reaper 46466 120749 0 0 3 0x14200 pgdaemon pagedaemon 54705 378135 0 0 3 0x14200 bored viomb 85875 448621 0 0 3 0x40014200 acpi0 acpi0 86791 503092 0 0 3 0x40014200 idle1 51563 276518 0 0 3 0x14200 bored softnet 7929 440130 0 0 3 0x14200 bored softnet 27571 117857 0 0 3 0x14200 bored softnet 92234 76724 0 0 3 0x14200 bored softnet 32209 12031 0 0 3 0x14200 bored systqmp 22084 478781 0 0 3 0x14200 bored systq 7930 1615 0 0 2 0x40014200 softclock 77915 229802 0 0 3 0x40014200 idle0 1 524238 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{0}> show all locks CPU 1: exclusive sched_lock &sched_lock r = 0 (0xffffffff82b79370) #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 sleep_finish+0x180 sys/kern/kern_synch.c:420 #4 tsleep+0x12c sys/kern/kern_synch.c:158 #5 sys_nanosleep+0x1f5 sys/kern/kern_time.c:300 #6 syscall+0x4c3 mi_syscall sys/sys/syscall_mi.h:101 [inline] #6 syscall+0x4c3 sys/arch/amd64/amd64/trap.c:585 #7 Xsyscall+0x128 Process 31861 (syz-executor.3) thread 0xffff8000ffff7270 (76882) exclusive kernel_lock &kernel_lock r = 1 (0xffffffff82ac95a0) #0 witness_lock+0x44d #1 syscall+0x41d mi_syscall sys/sys/syscall_mi.h:100 [inline] #1 syscall+0x41d sys/arch/amd64/amd64/trap.c:585 #2 Xsyscall+0x128 Process 98868 (syz-executor.5) thread 0xffff80002b06c7e0 (376473) exclusive rrwlock inode r = 0 (0xfffffd8064093e68) #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:1353 #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+0x435 mi_syscall sys/sys/syscall_mi.h:101 [inline] #10 syscall+0x435 sys/arch/amd64/amd64/trap.c:585 #11 Xsyscall+0x128 exclusive rrwlock inode r = 0 (0xfffffd806c6790a0) #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+0x435 mi_syscall sys/sys/syscall_mi.h:101 [inline] #8 syscall+0x435 sys/arch/amd64/amd64/trap.c:585 #9 Xsyscall+0x128 ddb{0}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 10209 6412K 6419K 78643K 11358 0 pcb 13 10K 12K 78643K 15 0 rtable 242 6K 7K 78643K 1251 0 ifaddr 82 17K 17K 78643K 219 0 sysctl 2 0K 0K 78643K 2 0 counters 56 35K 35K 78643K 94 0 ioctlops 0 0K 2K 78643K 96 0 iov 0 0K 24K 78643K 1112 0 mount 1 1K 1K 78643K 1 0 log 0 0K 0K 78643K 4 0 vnodes 1270 79K 79K 78643K 2898 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 9K 78643K 47 0 VM map 2 1K 1K 78643K 2 0 sem 12 0K 1K 78643K 2680 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1697 195K 286K 78643K 12548 0 file desc 23 85K 125K 78643K 7363 0 sigio 0 0K 0K 78643K 119 0 proc 56 78K 115K 78643K 1479 0 subproc 104 6K 6K 78643K 351 0 NFS srvsock 1 0K 0K 78643K 1 0 NFS daemon 1 16K 16K 78643K 1 0 ip_moptions 0 0K 0K 78643K 490 0 in_multi 99 6K 7K 78643K 367 0 ether_multi 1 0K 0K 78643K 14 0 mrt 1 0K 0K 78643K 2 0 ISOFS mount 1 32K 32K 78643K 1 0 MSDOSFS mount 1 16K 16K 78643K 1 0 ttys 235 1049K 1049K 78643K 235 0 exec 0 0K 2K 78643K 1697 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 8 62K 62K 78643K 8 0 UVM amap 343 103K 106K 78643K 46043 0 UVM aobj 131 4K 4K 78643K 134 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 186 0 NDP 11 0K 2K 78643K 84 0 temp 124 4726K 4790K 78643K 21281 0 kqueue 13 20K 28K 78643K 693 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 503 0 500 6 5 1 5 0 8 0 rtentry 112 333 0 219 4 0 4 4 0 8 0 unpcb 144 5860 0 5847 53 44 9 10 0 8 8 syncache 296 70 0 70 18 17 1 1 0 8 1 tcpqe 32 70 0 70 10 10 0 1 0 8 0 tcpcb 768 2698 0 2687 105 96 9 12 0 8 7 arp 120 59 0 40 1 0 1 1 0 8 0 ipq 40 8 0 7 5 4 1 1 0 8 0 ipqe 40 122 0 121 5 4 1 1 0 8 0 inpcb 320 7095 0 7080 95 88 7 13 0 8 5 nd6 48 91 0 64 1 0 1 1 0 8 0 kcovpl 48 27 0 19 1 0 1 1 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 1353 0 875 31 1 30 30 0 8 0 art_table 32 1354 0 875 4 0 4 4 0 8 0 art_node 16 332 0 228 1 0 1 1 0 8 0 sysvmsgpl 40 4 0 0 1 0 1 1 0 8 0 semupl 112 4 0 4 1 1 0 1 0 8 0 semapl 112 2677 0 2667 1 0 1 1 0 8 0 shmpl 112 131 0 3 4 0 4 4 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 12305 0 10864 91 0 91 91 0 8 0 ffsino 272 12305 0 10864 97 0 97 97 0 8 0 nchpl 144 23375 0 21741 63 0 63 63 0 8 0 uvmvnodes 80 5926 0 0 121 0 121 121 0 8 0 vnodes 216 5926 0 0 330 0 330 330 0 8 0 namei 1024 87109 0 87108 4 3 1 2 0 8 0 percpumem 16 59 0 19 1 0 1 1 0 8 0 kstatmem 264 60 0 38 2 0 2 2 0 8 0 scxspl 216 66530 0 66530 33 32 1 8 0 8 1 plimitpl 152 2815 0 2793 16 15 1 2 0 8 0 sigapl 424 7601 0 7549 7 0 7 7 0 8 0 futexpl 64 73801 0 73796 5 4 1 1 0 8 0 knotepl 120 584 0 0 11 1 10 10 0 8 0 kqueuepl 216 2085 0 2075 30 25 5 8 0 8 4 pipepl 320 2896 0 2868 48 39 9 11 0 8 6 fdescpl 496 7583 0 7549 7 2 5 6 0 8 0 filepl 152 62835 0 62599 117 99 18 20 0 8 8 lockfpl 104 2043 0 2040 1 0 1 1 0 8 0 lockfspl 48 917 0 914 1 0 1 1 0 8 0 sessionpl 144 42 0 26 1 0 1 1 0 8 0 pgrppl 48 130 0 114 1 0 1 1 0 8 0 ucredpl 104 12529 0 12511 1 0 1 1 0 8 0 zombiepl 144 7549 0 7549 2 1 1 1 0 8 1 processpl 1064 7601 0 7549 5 1 4 5 0 8 0 procpl 672 22270 0 22194 26 18 8 9 0 8 1 sosppl 168 115 0 114 13 12 1 1 0 8 0 sockpl 488 13649 0 13622 295 283 12 38 0 8 8 mcl64k 65536 26 0 0 3 0 3 3 0 8 0 mcl16k 16384 57 0 0 6 3 3 3 0 8 0 mcl12k 12288 25 0 0 2 0 2 2 0 8 0 mcl9k 9216 25 0 0 2 0 2 2 0 8 0 mcl8k 8192 33 0 0 4 1 3 3 0 8 0 mcl4k 4096 26 0 0 3 1 2 3 0 8 0 mcl2k2 2112 5 0 0 1 0 1 1 0 8 0 mcl2k 2048 360 0 0 23 2 21 23 0 8 0 mtagpl 96 2 0 0 1 0 1 1 0 8 0 mbufpl 256 854 0 0 38 0 38 38 0 8 0 bufpl 288 15545 0 9215 453 0 453 453 0 8 0 anonpl 24 1535972 0 1523353 200 106 94 108 0 186 0 amapchunkpl 152 133547 0 132697 84 50 34 40 0 158 1 amappl16 200 23340 0 22957 144 117 27 34 0 8 6 amappl15 192 3080 0 3071 1 0 1 1 0 8 0 amappl14 184 1280 0 1272 1 0 1 1 0 8 0 amappl13 176 448 0 444 1 0 1 1 0 8 0 amappl12 168 819 0 815 1 0 1 1 0 8 0 amappl11 160 103 0 88 1 0 1 1 0 8 0 amappl10 152 1036 0 1035 1 0 1 1 0 8 0 amappl9 144 1441 0 1439 1 0 1 1 0 8 0 amappl8 136 2086 0 1966 7 2 5 5 0 8 0 amappl7 128 1343 0 1317 1 0 1 1 0 8 0 amappl6 120 1155 0 1139 2 1 1 2 0 8 0 amappl5 112 7126 0 7108 1 0 1 1 0 8 0 amappl4 104 2646 0 2612 2 0 2 2 0 8 0 amappl3 96 24004 0 23940 2 0 2 2 0 8 0 amappl2 88 1142 0 1096 2 0 2 2 0 8 0 amappl1 80 188808 0 188073 19 2 17 19 0 8 0 amappl 88 44968 0 44773 5 0 5 5 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 133 0 3 3 0 3 3 0 8 0 uaddrrnd 24 7583 0 7549 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 7583 0 7549 1 0 1 1 0 8 0 vmmpekpl 168 68433 0 68366 4 0 4 4 0 8 0 vmmpepl 168 757992 0 755244 226 91 135 143 0 357 5 vmsppl 368 7582 0 7549 4 0 4 4 0 8 0 rwobjpl 56 193820 0 186317 118 9 109 111 0 8 0 pdppl 4096 15173 0 15098 381 300 81 95 0 8 6 pvpl 32 2995503 0 2977614 434 243 191 251 0 265 29 pmappl 248 7582 0 7549 4 1 3 3 0 8 0 extentpl 40 56 0 38 1 0 1 1 0 8 0 phpool 112 1145 0 313 24 0 24 24 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:437 panic(ffffffff825a566a) at panic+0x177 sys/kern/subr_prf.c:202 __assert(ffffffff8261a2b2,ffffffff8263e388,ea,ffffffff82636a65) at __assert+0x25 sys/kern/subr_prf.c:161 uvn_attach(fffffd807b31e5f0,6) at uvn_attach+0x444 sys/uvm/uvm_vnode.c:234 uvm_mmapfile(fffffd80751385d8,ffff80002b05da48,10000,2,6,11,2e8db16d2c52e7d3,fffffd80751385d8,0,11) at uvm_mmapfile+0x194 sys/uvm/uvm_mmap.c:1029 sys_mmap(ffff8000ffff7270,ffff80002b05daf0,ffff80002b05dbc0) at sys_mmap+0xb4a sys/uvm/uvm_mmap.c:395 sys_pad_mmap(ffff8000ffff7270,ffff80002b05db78,ffff80002b05dbc0) at sys_pad_mmap+0x68 sys/uvm/uvm_mmap.c:470 syscall(ffff80002b05dc40) at syscall+0x435 mi_syscall sys/sys/syscall_mi.h:101 [inline] syscall(ffff80002b05dc40) at syscall+0x435 sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xcdcff45e610, count: -9 ddb{0}> machine ddbcpu 1 Stopped at x86_ipi_db+0x1a: addq $0x8,%rsp x86_ipi_db(ffff800020dd8ff0) 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(ffffffff82ac9398) at __mp_lock+0x122 __mp_lock_spin sys/kern/kern_lock.c:116 [inline] __mp_lock(ffffffff82ac9398) at __mp_lock+0x122 sys/kern/kern_lock.c:147 syscall(ffff800022d521c0) at syscall+0x41d mi_syscall sys/sys/syscall_mi.h:100 [inline] syscall(ffff800022d521c0) at syscall+0x41d sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffd6920, count: 9 ddb{1}> trace x86_ipi_db(ffff800020dd8ff0) 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(ffffffff82ac9398) at __mp_lock+0x122 __mp_lock_spin sys/kern/kern_lock.c:116 [inline] __mp_lock(ffffffff82ac9398) at __mp_lock+0x122 sys/kern/kern_lock.c:147 syscall(ffff800022d521c0) at syscall+0x41d mi_syscall sys/sys/syscall_mi.h:100 [inline] syscall(ffff800022d521c0) at syscall+0x41d sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffd6920, count: -6