panic: kernel diagnostic assertion "refs != ~0" failed: file "/syzkaller/managers/multicore/kernel/sys/kern/kern_synch.c", line 953 Stopped at db_enter+0x25: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND 312233 64254 0 0x10000002 0x1 1 syz-executor db_enter() at db_enter+0x25 sys/arch/amd64/amd64/db_interface.c:438 panic(ffffffff8337140e) at panic+0x1e5 sys/kern/subr_prf.c:198 __assert(ffffffff833ad9a8,ffffffff833b9c95,3b9,ffffffff833e35b0) at __assert+0x29 sys/kern/subr_prf.c:-1 refcnt_finalize(ffff800032c2b4f0,ffffffff83369f59) at refcnt_finalize+0x1db sys/kern/kern_synch.c:954 pppx_if_destroy(0,ffff800032c2b4e8) at pppx_if_destroy+0x3d sys/net/if_pppx.c:794 pppxclose(205b9a,2,2000,ffff800031019248) at pppxclose+0xa0 sys/net/if_pppx.c:541 spec_close(ffff80003c4a9ac0) at spec_close+0x417 sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd8069b56600,2,fffffd80097fb0d0,ffff800031019248) at VOP_CLOSE+0x132 sys/kern/vfs_vops.c:156 vn_closefile(fffffd806571a5f0,ffff800031019248) at vn_closefile+0x12b vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd806571a5f0,ffff800031019248) at vn_closefile+0x12b sys/kern/vfs_vnops.c:615 fdrop(fffffd806571a5f0,ffff800031019248) at fdrop+0x121 sys/kern/kern_descrip.c:1280 closef(fffffd806571a5f0,ffff800031019248) at closef+0x192 sys/kern/kern_descrip.c:1264 fdfree(ffff800031019248) at fdfree+0x116 sys/kern/kern_descrip.c:1195 exit1(ffff800031019248,0,0,1) at exit1+0x576 sys/kern/kern_exit.c:215 sys_exit(ffff800031019248,ffff80003c4a9e30,ffff80003c4a9d80) at sys_exit+0x1a sys/kern/kern_exit.c:-1 end trace frame: 0xffff80003c4a9e20, count: 0 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 "refs != ~0" failed: file "/syzkaller/managers/multicore/kernel/sys/kern/kern_synch.c", line 953 ddb{0}> trace db_enter() at db_enter+0x25 sys/arch/amd64/amd64/db_interface.c:438 panic(ffffffff8337140e) at panic+0x1e5 sys/kern/subr_prf.c:198 __assert(ffffffff833ad9a8,ffffffff833b9c95,3b9,ffffffff833e35b0) at __assert+0x29 sys/kern/subr_prf.c:-1 refcnt_finalize(ffff800032c2b4f0,ffffffff83369f59) at refcnt_finalize+0x1db sys/kern/kern_synch.c:954 pppx_if_destroy(0,ffff800032c2b4e8) at pppx_if_destroy+0x3d sys/net/if_pppx.c:794 pppxclose(205b9a,2,2000,ffff800031019248) at pppxclose+0xa0 sys/net/if_pppx.c:541 spec_close(ffff80003c4a9ac0) at spec_close+0x417 sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd8069b56600,2,fffffd80097fb0d0,ffff800031019248) at VOP_CLOSE+0x132 sys/kern/vfs_vops.c:156 vn_closefile(fffffd806571a5f0,ffff800031019248) at vn_closefile+0x12b vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd806571a5f0,ffff800031019248) at vn_closefile+0x12b sys/kern/vfs_vnops.c:615 fdrop(fffffd806571a5f0,ffff800031019248) at fdrop+0x121 sys/kern/kern_descrip.c:1280 closef(fffffd806571a5f0,ffff800031019248) at closef+0x192 sys/kern/kern_descrip.c:1264 fdfree(ffff800031019248) at fdfree+0x116 sys/kern/kern_descrip.c:1195 exit1(ffff800031019248,0,0,1) at exit1+0x576 sys/kern/kern_exit.c:215 sys_exit(ffff800031019248,ffff80003c4a9e30,ffff80003c4a9d80) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff80003c4a9e30) at syscall+0xb17 mi_syscall sys/sys/syscall_mi.h:176 [inline] syscall(ffff80003c4a9e30) at syscall+0xb17 sys/arch/amd64/amd64/trap.c:746 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x71fca4f00620, count: -16 ddb{0}> show registers rdi 0 rsi 0x1 rbp 0xffff80003c4a9890 rbx 0xffffffff83852ddf cpu_info_full_primary+0x2ddf rdx 0 rcx 0xffff800031019248 rax 0xffffffff83851ff0 cpu_info_full_primary+0x1ff0 r8 0x101010101010101 r9 0x8080808080808080 r10 0xe1ff231bbfaa7f2d r11 0x5d1fe8b8cf15cef4 r12 0xffffffff83852be0 cpu_info_full_primary+0x2be0 r13 0 r14 0 r15 0x1 rip 0xffffffff814225a5 db_enter+0x25 cs 0x8 rflags 0x246 rsp 0xffff80003c4a9880 ss 0x10 db_enter+0x25: addq $0x8,%rsp ddb{0}> show proc PROC (syz-executor) tid=480253 pid=1261 tcnt=0 stat=onproc flags process=1008 proc=2000 runpri=32, usrpri=84, slppri=32, nice=20 wchan=0x0, wmesg=, ps_single=0xffff800031019248 scnt=-1 ecnt=1 forw=0xffffffffffffffff, list=0xffff80003c472fb8,0xffff800031019788 process=0xffff800033435d00 user=0xffff80003c4a4000, vmspace=0xfffffd806b8143f0 estcpu=34, cpticks=5, pctcpu=0.3, user=0, sys=1, intr=0 ddb{0}> ps PID TID PPID UID S FLAGS WAIT COMMAND 81498 476071 87903 0 2 0xc80 syz-executor 81498 94685 87903 0 3 0x4000080 fsleep syz-executor 81498 144158 87903 0 3 0x4000080 fsleep syz-executor 56394 247036 82508 0 2 0 syz-executor 56394 109603 82508 0 3 0x4000080 fsleep syz-executor 37325 24121 15628 0 2 0xc80 syz-executor 37325 287027 15628 0 2 0x4000000 syz-executor 96419 420181 67427 0 2 0 syz-executor 96419 339452 67427 0 3 0x4000080 sbwait syz-executor 96419 138960 67427 0 2 0x4000000 syz-executor 67820 359752 38124 0 2 0xc80 syz-executor 67820 277031 38124 0 3 0x4000080 kqread syz-executor 67820 439046 38124 0 3 0x4000080 fsleep syz-executor 67820 159618 38124 0 3 0x4000080 fsleep syz-executor 97717 68427 0 0 3 0x14200 bored sosplice 64254 312233 53553 0 7 0x10000003 syz-executor 69206 360931 53553 0 2 0xc82 syz-executor 67427 274391 53553 0 2 0xc82 syz-executor 15628 143667 53553 0 2 0xc82 syz-executor 87903 516863 53553 0 2 0xc82 syz-executor 82508 359699 53553 0 2 0xc82 syz-executor 38124 144569 53553 0 2 0xc82 syz-executor 23281 322188 53553 0 2 0x2 syz-executor 53553 351199 27980 0 3 0x82 kqread syz-executor 27980 193021 38944 0 3 0x10008a sigsusp ksh 38944 89011 25117 0 3 0x98 kqread sshd-session 25117 212648 65687 0 3 0x92 kqread sshd-session 58255 189564 1 0 3 0x100083 ttyin getty 65687 102127 1 0 3 0x88 kqread sshd 43563 380736 19181 74 3 0x1100092 bpf pflogd 19181 470932 1 0 3 0x80 sbwait pflogd 23509 152522 59783 73 3 0x1100090 kqread syslogd 59783 97107 1 0 3 0x100082 sbwait syslogd 14351 233342 1 0 3 0x100080 kqread resolvd 55492 87775 28652 77 3 0x100092 kqread dhcpleased 64615 37556 28652 77 3 0x100092 kqread dhcpleased 28652 199789 1 0 3 0x80 kqread dhcpleased 79992 5334 0 0 3 0x14200 bored smr 33606 416527 0 0 2 0x14200 zerothread 27252 313622 0 0 3 0x14200 aiodoned aiodoned 11836 357155 0 0 3 0x14200 syncer update 71631 64658 0 0 3 0x14200 cleaner cleaner 42610 415961 0 0 3 0x14200 reaper reaper 77218 369014 0 0 3 0x14200 pgdaemon pagedaemon 24937 6663 0 0 3 0x14200 bored viomb 53248 126314 0 0 3 0x40014200 acpi0 acpi0 57410 499312 0 0 3 0x40014200 idle1 68355 152172 0 0 3 0x14200 bored softnet7 71449 29700 0 0 3 0x14200 bored softnet6 80680 306017 0 0 3 0x14200 bored softnet5 88722 432515 0 0 3 0x14200 bored softnet4 64980 293398 0 0 3 0x14200 bored softnet3 20588 260088 0 0 3 0x14200 bored softnet2 87732 149800 0 0 3 0x14200 bored softnet1 65983 491795 0 0 2 0x14200 softnet0 85246 250160 0 0 3 0x14200 smrbar systqmp 39338 414550 0 0 3 0x14200 bored systq 39396 101592 0 0 3 0x14200 tmoslp softclockmp 63810 502715 0 0 2 0x40014200 softclock 35012 106316 0 0 3 0x40014200 idle0 1 147180 0 0 3 0x82 wait init 0 0 -1 0 3 0x10010200 scheduler swapper ddb{0}> show all locks Process 65983 (softnet0) thread 0xffff8000ffffe000 (491795) shared rwlock softnet0 r = 0 (0xffff80000002c078) #0 witness_lock+0x5f1 stacktrace_save sys/sys/stacktrace.h:37 [inline] #0 witness_lock+0x5f1 sys/kern/subr_witness.c:1160 #1 taskq_thread+0x12a sys/kern/kern_task.c:442 #2 proc_trampoline+0x10 Process 85246 (systqmp) thread 0xffff8000ffffe530 (250160) shared rwlock systqmp r = 0 (0xffffffff83789978) #0 witness_lock+0x5f1 stacktrace_save sys/sys/stacktrace.h:37 [inline] #0 witness_lock+0x5f1 sys/kern/subr_witness.c:1160 #1 taskq_thread+0x12a sys/kern/kern_task.c:442 #2 proc_trampoline+0x10 ddb{0}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 10213 11032K 11281K 166960K 12035 0 pcb 17 12K 12K 166960K 113 0 rtable 183 9K 10K 166960K 456 0 pf 38 18K 131090K 166960K 139 0 ifaddr 36 6K 7K 166960K 85 0 ifgroup 58 2K 3K 166960K 148 0 sysctl 4 1K 9K 166960K 11 0 counters 70 37K 37K 166960K 160 0 ioctlops 0 0K 4K 166960K 1602 0 iov 0 0K 16K 166960K 32 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1397 88K 88K 166960K 1838 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 5K 166960K 15 0 VM map 2 1K 1K 166960K 2 0 sem 12 0K 1K 166960K 59 0 dirhash 12 2K 2K 166960K 12 0 ACPI 1692 195K 286K 166960K 12470 0 file desc 16 57K 240K 166960K 672 0 sigio 0 0K 0K 166960K 11 0 proc 72 115K 164K 166960K 582 0 subproc 72 4K 4K 166960K 72 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 0 0K 0K 166960K 66 0 in_multi 74 5K 7K 166960K 121 0 ether_multi 1 0K 0K 166960K 3 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 91 413K 413K 166960K 91 0 exec 0 0K 1K 166960K 417 0 fusefs mount 1 32K 32K 166960K 1 0 tdb 3 0K 0K 166960K 3 0 VM swap 8 62K 64K 166960K 10 0 UVM amap 234 159K 169K 166960K 7513 0 UVM aobj 23 4K 4K 166960K 23 0 pinsyscall 41 82K 99K 166960K 1744 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 32 0 NDP 12 0K 2K 166960K 56 0 temp 100 8653K 8726K 166960K 22591 0 kqueue 15 24K 29K 166960K 146 0 SYN cache 2 16K 16K 166960K 2 0 ddb{0}> show all pools Name Size Requests Fail Releases Pgreq Pgrel Npage Hiwat Minpg Maxpg Idle plcache 128 26 0 0 1 0 1 1 0 8 0 rtpcb 120 170 0 166 3 2 1 3 0 8 0 rtentry 176 145 0 73 5 0 5 5 0 8 0 unpcb 144 517 0 498 6 2 4 4 0 8 3 syncache 336 9 0 9 3 2 1 1 0 8 1 tcpqe 32 2 0 2 1 0 1 1 0 8 1 tcpcb 736 130 0 123 1 0 1 1 0 8 0 arp 136 10 0 2 1 0 1 1 0 8 0 inpcb 328 484 0 473 2 0 2 2 0 8 0 nd6 144 21 0 4 1 0 1 1 0 8 0 pkpcb 40 1 0 1 1 1 0 1 0 8 0 kcovpl 48 8 0 0 1 0 1 1 0 8 0 ppxss 1192 34 0 33 2 1 1 1 0 8 0 pppxif 1504 8 0 7 2 1 1 1 0 8 0 pfstscr 40 2 0 2 1 1 0 1 0 8 0 pffrag 232 3 0 0 1 0 1 1 0 482 0 pffrnode 88 3 0 0 1 0 1 1 0 8 0 pffrent 40 4 0 1 1 0 1 1 0 8 0 pfosfp 40 1428 0 1005 5 0 5 5 0 8 0 pfosfpen 112 1428 0 714 21 0 21 21 0 8 0 pfrktable 1344 3 0 3 1 1 0 1 0 8 0 pfanchor 1288 2 0 2 1 1 0 1 0 8 0 pftag 88 2 0 2 1 1 0 1 0 8 0 pfstitem 24 54 0 10 1 0 1 1 0 8 0 pfstkey 128 55 0 11 2 0 2 2 0 8 0 pfstate 384 54 0 11 5 0 5 5 0 8 0 pfrule 1344 25 0 20 2 1 1 2 0 8 0 art_heap8 4096 3 0 0 3 0 3 3 0 8 0 art_heap4 256 506 0 173 30 5 25 30 0 8 0 art_table 40 509 0 173 5 0 5 5 0 8 0 art_node 32 144 0 79 1 0 1 1 0 8 0 sysvmsgpl 40 8 0 2 1 0 1 1 0 8 0 semupl 112 1 0 1 1 1 0 1 0 8 0 semapl 112 56 0 46 1 0 1 1 0 8 0 shmpl 112 20 0 0 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 2573 0 1067 96 1 95 96 0 8 0 ffsino 296 2573 0 1067 117 0 117 117 0 8 0 nchpl 144 3506 0 1811 63 0 63 63 0 8 0 rtmask 32 6 0 6 1 1 0 1 0 8 0 uvmvnodes 80 2896 0 0 60 0 60 60 0 8 0 vnodes 216 2896 0 0 161 0 161 161 0 8 0 namei 1024 11470 0 11470 2 1 1 2 0 8 1 percpumem 16 95 0 45 1 0 1 1 0 8 0 pfiaddrpl 120 1 0 1 1 1 0 1 0 8 0 kstatmem 264 84 0 56 4 1 3 3 0 8 1 scsiplug 72 1 0 1 1 0 1 1 0 8 1 scxspl 216 17892 0 17892 11 9 2 8 1 8 2 plimitpl 152 334 0 316 1 0 1 1 0 8 0 sigapl 424 955 0 901 7 0 7 7 0 8 0 knotepl 120 347 0 0 11 0 11 11 0 8 0 kqueuepl 224 238 0 226 4 2 2 3 0 8 1 pipepl 344 146 0 119 3 0 3 3 0 8 0 fdescpl 528 930 0 900 3 0 3 3 0 8 0 filepl 160 5237 0 5014 15 2 13 13 0 8 3 lockfpl 104 160 0 158 1 0 1 1 0 8 0 lockfspl 48 74 0 72 1 0 1 1 0 8 0 sessionpl 144 26 0 17 1 0 1 1 0 8 0 pgrppl 48 37 0 20 1 0 1 1 0 8 0 ucredpl 104 879 0 866 1 0 1 1 0 8 0 zombiepl 144 903 0 901 1 0 1 1 0 8 0 processpl 1232 955 0 901 5 0 5 5 0 8 0 procpl 664 1874 0 1811 8 1 7 7 0 8 0 sosppl 168 2 0 2 2 1 1 1 0 8 1 sockpl 752 1220 0 1186 16 6 10 11 0 8 6 mcl64k 65536 18 0 0 3 0 3 3 0 8 0 mcl16k 16384 1 0 0 1 0 1 1 0 8 0 mcl9k 9216 2 0 0 1 0 1 1 0 8 0 mcl8k 8192 3 0 0 1 0 1 1 0 8 0 mcl4k 4096 107 0 0 14 0 14 14 0 8 0 mcl2k2 2112 1 0 0 1 0 1 1 0 8 0 mcl2k 2048 28 0 0 4 0 4 4 0 8 0 mtagpl 96 9 0 0 1 0 1 1 0 8 0 mbufpl 256 1160 0 0 72 0 72 72 0 8 0 bufpl 280 7173 0 1029 439 0 439 439 0 8 0 anonpl 32 11842 0 0 96 0 96 96 0 246 0 amapchunkpl 152 23993 0 23522 36 7 29 29 0 158 8 amappl16 200 3329 0 3296 38 24 14 28 0 8 8 amappl15 192 6 0 6 1 1 0 1 0 8 0 amappl14 184 135 0 123 1 0 1 1 0 8 0 amappl13 176 42 0 42 1 1 0 1 0 8 0 amappl12 168 1588 0 1558 3 1 2 2 0 8 0 amappl11 160 50 0 36 1 0 1 1 0 8 0 amappl10 152 6 0 6 1 1 0 1 0 8 0 amappl9 144 254 0 254 1 1 0 1 0 8 0 amappl8 136 20 0 17 1 0 1 1 0 8 0 amappl7 128 120 0 107 1 0 1 1 0 8 0 amappl6 120 217 0 214 1 0 1 1 0 8 0 amappl5 112 137 0 128 1 0 1 1 0 8 0 amappl4 104 316 0 294 1 0 1 1 0 8 0 amappl3 96 4217 0 4124 3 0 3 3 0 8 0 amappl2 88 1188 0 1112 2 0 2 2 0 8 0 amappl1 80 11091 0 10488 15 0 15 15 0 8 0 amappl 88 6745 0 6583 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 8 0 8 2 1 1 1 0 8 1 dma128 128 254 0 254 2 1 1 1 0 8 1 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 22 0 0 1 0 1 1 0 8 0 uaddrrnd 24 930 0 900 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 930 0 900 1 0 1 1 0 8 0 vmmpekpl 168 9334 0 9293 3 0 3 3 0 8 0 vmmpepl 168 65292 0 63356 118 9 109 111 0 357 14 vmsppl 488 929 0 900 6 1 5 5 0 8 0 rwobjpl 80 22686 0 18835 84 3 81 81 0 8 0 pdppl 4096 1867 0 1800 97 24 73 81 0 8 6 pvpl 32 19136 0 0 156 1 155 155 0 265 0 pmappl 256 929 0 900 3 0 3 3 0 8 0 extentpl 40 45 0 27 1 0 1 1 0 8 0 phpool 112 337 0 35 9 0 9 9 0 8 0 ddb{0}> machine ddbcpu 0 Invalid cpu 0 ddb{0}> trace db_enter() at db_enter+0x25 sys/arch/amd64/amd64/db_interface.c:438 panic(ffffffff8337140e) at panic+0x1e5 sys/kern/subr_prf.c:198 __assert(ffffffff833ad9a8,ffffffff833b9c95,3b9,ffffffff833e35b0) at __assert+0x29 sys/kern/subr_prf.c:-1 refcnt_finalize(ffff800032c2b4f0,ffffffff83369f59) at refcnt_finalize+0x1db sys/kern/kern_synch.c:954 pppx_if_destroy(0,ffff800032c2b4e8) at pppx_if_destroy+0x3d sys/net/if_pppx.c:794 pppxclose(205b9a,2,2000,ffff800031019248) at pppxclose+0xa0 sys/net/if_pppx.c:541 spec_close(ffff80003c4a9ac0) at spec_close+0x417 sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd8069b56600,2,fffffd80097fb0d0,ffff800031019248) at VOP_CLOSE+0x132 sys/kern/vfs_vops.c:156 vn_closefile(fffffd806571a5f0,ffff800031019248) at vn_closefile+0x12b vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd806571a5f0,ffff800031019248) at vn_closefile+0x12b sys/kern/vfs_vnops.c:615 fdrop(fffffd806571a5f0,ffff800031019248) at fdrop+0x121 sys/kern/kern_descrip.c:1280 closef(fffffd806571a5f0,ffff800031019248) at closef+0x192 sys/kern/kern_descrip.c:1264 fdfree(ffff800031019248) at fdfree+0x116 sys/kern/kern_descrip.c:1195 exit1(ffff800031019248,0,0,1) at exit1+0x576 sys/kern/kern_exit.c:215 sys_exit(ffff800031019248,ffff80003c4a9e30,ffff80003c4a9d80) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff80003c4a9e30) at syscall+0xb17 mi_syscall sys/sys/syscall_mi.h:176 [inline] syscall(ffff80003c4a9e30) at syscall+0xb17 sys/arch/amd64/amd64/trap.c:746 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x71fca4f00620, count: -16 ddb{0}> machine ddbcpu 1 Stopped at x86_ipi_db+0x27: addq $0x8,%rsp x86_ipi_db(ffff8000299fdff0) at x86_ipi_db+0x27 sys/arch/amd64/amd64/db_interface.c:394 x86_ipi_handler() at x86_ipi_handler+0xd9 sys/arch/amd64/amd64/ipi.c:106 Xresume_lapic_ipi() at Xresume_lapic_ipi+0x27 __mp_lock(ffffffff83993bc8) at __mp_lock+0x192 __mp_lock_spin sys/kern/kern_lock.c:134 [inline] __mp_lock(ffffffff83993bc8) at __mp_lock+0x192 sys/kern/kern_lock.c:165 ktrsyscall(ffff8000ffff2fa0,67,8,ffff80002a405140) at ktrsyscall+0x2c7 ktrwrite sys/kern/kern_ktrace.c:-1 [inline] ktrsyscall(ffff8000ffff2fa0,67,8,ffff80002a405140) at ktrsyscall+0x2c7 sys/kern/kern_ktrace.c:183 syscall(ffff80002a405140) at syscall+0x304 mi_syscall sys/sys/syscall_mi.h:154 [inline] syscall(ffff80002a405140) at syscall+0x304 sys/arch/amd64/amd64/trap.c:746 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7817de0b55c0, count: 8 ddb{1}> trace x86_ipi_db(ffff8000299fdff0) at x86_ipi_db+0x27 sys/arch/amd64/amd64/db_interface.c:394 x86_ipi_handler() at x86_ipi_handler+0xd9 sys/arch/amd64/amd64/ipi.c:106 Xresume_lapic_ipi() at Xresume_lapic_ipi+0x27 __mp_lock(ffffffff83993bc8) at __mp_lock+0x192 __mp_lock_spin sys/kern/kern_lock.c:134 [inline] __mp_lock(ffffffff83993bc8) at __mp_lock+0x192 sys/kern/kern_lock.c:165 ktrsyscall(ffff8000ffff2fa0,67,8,ffff80002a405140) at ktrsyscall+0x2c7 ktrwrite sys/kern/kern_ktrace.c:-1 [inline] ktrsyscall(ffff8000ffff2fa0,67,8,ffff80002a405140) at ktrsyscall+0x2c7 sys/kern/kern_ktrace.c:183 syscall(ffff80002a405140) at syscall+0x304 mi_syscall sys/sys/syscall_mi.h:154 [inline] syscall(ffff80002a405140) at syscall+0x304 sys/arch/amd64/amd64/trap.c:746 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7817de0b55c0, count: -7