panic: kernel diagnostic assertion "refs != ~0" failed: file "/syzkaller/managers/multicore/kernel/sys/kern/kern_synch.c", line 959 Stopped at db_enter+0x25: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND 121910 80781 0 0 0x1 0 syz-executor *321781 22272 0 0 0x4000000 1K syz-executor db_enter() at db_enter+0x25 sys/arch/amd64/amd64/db_interface.c:438 panic(ffffffff834c1ffe) at panic+0x1e5 sys/kern/subr_prf.c:198 __assert(ffffffff8350285d,ffffffff8350d54e,3bf,ffffffff8353617b) at __assert+0x29 sys/kern/subr_prf.c:-1 refcnt_finalize(ffff80002a32c638,ffffffff834ba4a0) at refcnt_finalize+0x1e7 sys/kern/kern_synch.c:960 pppx_if_destroy(ffff80002b783000,ffff80002a32c630) at pppx_if_destroy+0x3d sys/net/if_pppx.c:794 pppxclose(285b9c,1,2000,ffff800045fea2b8) at pppxclose+0xa0 sys/net/if_pppx.c:541 spec_close(ffff80003c3fcd10) at spec_close+0x417 sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffff5007ccc1958,1,fffff500097fd340,ffff800045fea2b8) at VOP_CLOSE+0x132 sys/kern/vfs_vops.c:156 vn_closefile(fffff5006b3fd9a8,ffff800045fea2b8) at vn_closefile+0x12b vn_close sys/kern/vfs_vnops.c:298 [inline] vn_closefile(fffff5006b3fd9a8,ffff800045fea2b8) at vn_closefile+0x12b sys/kern/vfs_vnops.c:621 fdrop(fffff5006b3fd9a8,ffff800045fea2b8) at fdrop+0x121 sys/kern/kern_descrip.c:1281 closef(fffff5006b3fd9a8,ffff800045fea2b8) at closef+0x192 sys/kern/kern_descrip.c:1265 sys_closefrom(ffff800045fea2b8,ffff80003c3fcfe0,ffff80003c3fcf30) at sys_closefrom+0x13c sys/kern/kern_descrip.c:1471 syscall(ffff80003c3fcfe0) at syscall+0xbd4 mi_syscall sys/sys/syscall_mi.h:176 [inline] syscall(ffff80003c3fcfe0) at syscall+0xbd4 sys/arch/amd64/amd64/trap.c:791 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x39faaf8d4a0, count: 1 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 "refs != ~0" failed: file "/syzkaller/managers/multicore/kernel/sys/kern/kern_synch.c", line 959 ddb{1}> show kasan No such command ddb{1}> trace db_enter() at db_enter+0x25 sys/arch/amd64/amd64/db_interface.c:438 panic(ffffffff834c1ffe) at panic+0x1e5 sys/kern/subr_prf.c:198 __assert(ffffffff8350285d,ffffffff8350d54e,3bf,ffffffff8353617b) at __assert+0x29 sys/kern/subr_prf.c:-1 refcnt_finalize(ffff80002a32c638,ffffffff834ba4a0) at refcnt_finalize+0x1e7 sys/kern/kern_synch.c:960 pppx_if_destroy(ffff80002b783000,ffff80002a32c630) at pppx_if_destroy+0x3d sys/net/if_pppx.c:794 pppxclose(285b9c,1,2000,ffff800045fea2b8) at pppxclose+0xa0 sys/net/if_pppx.c:541 spec_close(ffff80003c3fcd10) at spec_close+0x417 sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffff5007ccc1958,1,fffff500097fd340,ffff800045fea2b8) at VOP_CLOSE+0x132 sys/kern/vfs_vops.c:156 vn_closefile(fffff5006b3fd9a8,ffff800045fea2b8) at vn_closefile+0x12b vn_close sys/kern/vfs_vnops.c:298 [inline] vn_closefile(fffff5006b3fd9a8,ffff800045fea2b8) at vn_closefile+0x12b sys/kern/vfs_vnops.c:621 fdrop(fffff5006b3fd9a8,ffff800045fea2b8) at fdrop+0x121 sys/kern/kern_descrip.c:1281 closef(fffff5006b3fd9a8,ffff800045fea2b8) at closef+0x192 sys/kern/kern_descrip.c:1265 sys_closefrom(ffff800045fea2b8,ffff80003c3fcfe0,ffff80003c3fcf30) at sys_closefrom+0x13c sys/kern/kern_descrip.c:1471 syscall(ffff80003c3fcfe0) at syscall+0xbd4 mi_syscall sys/sys/syscall_mi.h:176 [inline] syscall(ffff80003c3fcfe0) at syscall+0xbd4 sys/arch/amd64/amd64/trap.c:791 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x39faaf8d4a0, count: -14 ddb{1}> show registers rdi 0 rsi 0x1 rbp 0xffff80003c3fcad0 rbx 0xffff80002999ee0f rdx 0xffff8000015fe900 rcx 0xffff800045fea2b8 rax 0xffff80002999dff0 r8 0x101010101010101 r9 0x8080808080808080 r10 0x51538bed1314b347 r11 0x9627d7afac8ce4b5 r12 0xffff80002999ec10 r13 0 r14 0 r15 0x1 rip 0xffffffff82cbc215 db_enter+0x25 cs 0x8 rflags 0x246 rsp 0xffff80003c3fcac0 ss 0 db_enter+0x25: addq $0x8,%rsp ddb{1}> show proc PROC (syz-executor) tid=321781 pid=22272 tcnt=3 stat=onproc flags process=0 proc=4000000 runpri=0, usrpri=80, slppri=0, nice=20 wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0 forw=0xffffffffffffffff, list=0xffff800045feb4e0,0xffffffff83b3b770 process=0xffff80003479c4f8 user=0xffff80003c3f8000, vmspace=0xfffff5006cf28018 estcpu=30, cpticks=1, pctcpu=0.0, user=0, sys=1, intr=0 ddb{1}> ps PID TID PPID UID S PRLAGS PFLAGS WAIT COMMAND 52051 504070 78255 0 3 0x2 0 clonelk ifconfig 38697 460675 93952 0 2 0x2 0 syz-executor 78255 29088 97127 0 3 0x100002 0x88 sigsusp sh 80781 121910 19538 0 7 0 0x1 syz-executor 89616 427103 85157 0 2 0 0 syz-executor 89616 138886 85157 0 3 0 0x4000080 fsleep syz-executor 89616 134879 85157 0 3 0 0x4000080 fsleep syz-executor 89616 3614 85157 0 2 0 0x4000000 syz-executor 74222 312270 37378 0 3 0 0x80 nanoslp syz-executor 74222 298204 37378 0 2 0 0x4000000 syz-executor 74222 496944 37378 0 3 0 0x4000080 fsleep syz-executor 22272 315387 70799 0 2 0 0 syz-executor 22272 46564 70799 0 3 0 0x4000000 smrbar syz-executor *22272 321781 70799 0 7 0 0x4000000 syz-executor 97127 301421 93952 0 3 0x2 0x80 wait syz-executor 85157 35298 93952 0 3 0x2 0x80 nanoslp syz-executor 19538 501250 93952 0 3 0x2 0x80 nanoslp syz-executor 70799 190128 93952 0 3 0x2 0x80 nanoslp syz-executor 84910 165471 1 0 3 0x100003 0x80 ttyin getty 37378 178950 93952 0 3 0x2 0x80 nanoslp syz-executor 93952 222083 64425 0 3 0x2 0x80 wait syz-executor 64425 332777 16794 0 3 0x100002 0x88 sigsusp ksh 16794 269631 55970 0 3 0x10 0x88 kqread sshd-session 55970 184231 85023 0 3 0x12 0x80 kqread sshd-session 85023 176473 1 0 3 0 0x88 kqread sshd 33888 284342 88366 74 3 0x1100012 0x80 bpf pflogd 88366 130395 1 0 3 0 0x80 sbwait pflogd 67174 159836 77773 73 3 0x1100010 0x80 kqread syslogd 77773 204586 1 0 3 0x100002 0x80 sbwait syslogd 75999 468280 1 0 3 0x100000 0x80 kqread resolvd 40720 448880 73527 77 3 0x100012 0x80 kqread dhcpleased 75046 317582 73527 77 3 0x100012 0x80 kqread dhcpleased 73527 16662 1 0 3 0 0x80 kqread dhcpleased 77739 509941 0 0 3 0x14000 0x200 bored smr 66488 366905 0 0 2 0x14000 0x200 zerothread 8678 182367 0 0 3 0x14000 0x200 aiodoned aiodoned 29133 2536 0 0 3 0x14000 0x200 syncer update 4785 271747 0 0 3 0x14000 0x200 cleaner cleaner 22818 521389 0 0 3 0x14000 0x200 reaper reaper 31351 313374 0 0 3 0x14000 0x200 pgdaemon pagedaemon 43287 520757 0 0 3 0x14000 0x200 bored viomb 27759 128767 0 0 3 0x14000 0x40000200 acpi0 acpi0 86089 98211 0 0 3 0x14000 0x40000200 idle1 73384 278962 0 0 3 0x14000 0x200 bored softnet1 25639 400885 0 0 3 0x14000 0x200 bored softnet0 49131 46693 0 0 3 0x14000 0x200 smrbar systqmp 85127 252026 0 0 3 0x14000 0x200 bored systq 82965 486068 0 0 3 0x14000 0x200 tmoslp softclockmp 92712 501633 0 0 3 0x14000 0x40000200 tmoslp softclock 42403 397979 0 0 3 0x14000 0x40000200 idle0 1 405901 0 0 3 0x2 0x80 wait init 0 0 -1 0 3 0x10000 0x200 scheduler swapper ddb{1}> show all locks Process 22272 (syz-executor) thread 0xffff800045fea2b8 (321781) exclusive kernel_lock &kernel_lock r = 0 (0xffffffff83b12380) #0 witness_lock+0x5f1 stacktrace_save sys/sys/stacktrace.h:37 [inline] #0 witness_lock+0x5f1 sys/kern/subr_witness.c:1160 #1 vn_closefile+0x41 sys/kern/vfs_vnops.c:614 #2 fdrop+0x121 sys/kern/kern_descrip.c:1281 #3 closef+0x192 sys/kern/kern_descrip.c:1265 #4 sys_closefrom+0x13c sys/kern/kern_descrip.c:1471 #5 syscall+0xbd4 mi_syscall sys/sys/syscall_mi.h:176 [inline] #5 syscall+0xbd4 sys/arch/amd64/amd64/trap.c:791 #6 Xsyscall+0x128 Process 49131 (systqmp) thread 0xffff800045ffe298 (46693) shared rwlock systqmp r = 0 (0xffffffff83916d58) #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{1}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 11067 12087K 12161K 166960K 12430 0 pcb 17 13K 14K 166960K 365 0 rtable 220 15K 16K 166960K 2008 0 pf 39 18K 24K 166960K 227 0 ifaddr 38 7K 7K 166960K 277 0 ifgroup 60 2K 2K 166960K 306 0 sysctl 3 1K 9K 166960K 8 0 counters 76 37K 37K 166960K 206 0 ioctlops 0 0K 4K 166960K 1578 0 iov 0 0K 28K 166960K 79 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1352 85K 85K 166960K 2342 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 5K 166960K 11 0 VM map 2 1K 1K 166960K 2 0 sem 19 1K 1K 166960K 24 0 dirhash 12 2K 2K 166960K 15 0 ACPI 1692 195K 286K 166960K 12470 0 file desc 16 57K 106K 166960K 1189 0 sigio 0 0K 0K 166960K 3 0 proc 79 131K 180K 166960K 2074 0 subproc 72 4K 4K 166960K 567 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 0 0K 0K 166960K 15 0 in_multi 74 5K 6K 166960K 695 0 ether_multi 1 0K 0K 166960K 1 0 mrt 0 0K 0K 166960K 22 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 73 334K 334K 166960K 73 0 exec 0 0K 1K 166960K 1166 0 fusefs mount 1 32K 32K 166960K 1 0 pfkey data 0 0K 4K 166960K 6 0 tdb 3 0K 0K 166960K 3 0 VM swap 8 62K 64K 166960K 10 0 UVM amap 213 175K 192K 166960K 9795 0 UVM aobj 15 2K 2K 166960K 16 0 pinsyscall 41 82K 104K 166960K 3724 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 6 0 NDP 13 0K 2K 166960K 198 0 temp 39 9119K 9166K 166960K 20046 0 kqueue 14 22K 25K 166960K 58 0 SYN cache 2 16K 16K 166960K 2 0 ddb{1}> show all pools Name Size Requests Fail Releases Pgreq Pgrel Npage Hiwat Minpg Maxpg Idle plcache 128 28 0 0 1 0 1 1 0 8 0 rtpcb 120 248 0 245 2 0 2 2 0 8 1 rtentry 176 706 0 616 6 1 5 6 0 8 0 unpcb 144 161 0 144 1 0 1 1 0 8 0 syncache 336 6 0 6 1 1 0 1 0 8 0 tcpcb 736 110 0 106 1 0 1 1 0 8 0 arp 136 124 0 110 1 0 1 1 0 8 0 inpcb 328 850 0 841 4 0 4 4 0 8 3 nd6 152 184 0 168 1 0 1 1 0 8 0 pkpcb 40 7 0 7 2 1 1 1 0 8 1 kcovpl 48 63 0 55 1 0 1 1 0 8 0 ppxss 1192 8 0 6 3 2 1 1 0 8 0 pppxif 1576 4 0 2 2 1 1 1 0 8 0 pfstscr 40 3 0 3 1 1 0 1 0 8 0 pffrag 232 2 0 0 1 0 1 1 0 482 0 pffrnode 88 2 0 0 1 0 1 1 0 8 0 pffrent 40 2 0 0 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 pfsrclim 320 1 0 1 1 1 0 1 0 8 0 pfanchor 1288 9 0 9 1 1 0 1 0 8 0 pfqueue 320 1 0 1 1 1 0 1 0 8 0 pfstitem 24 28 0 9 1 0 1 1 0 8 0 pfstkey 128 32 0 13 1 0 1 1 0 8 0 pfstate 448 30 0 11 4 0 4 4 0 8 1 pfrule 1360 22 0 21 2 1 1 2 0 8 0 art_heap8 4096 3 0 0 3 0 3 3 0 8 0 art_heap4 256 2859 0 2484 32 6 26 30 0 8 1 art_table 40 2862 0 2484 5 0 5 5 0 8 0 art_node 32 706 0 622 1 0 1 1 0 8 0 sysvmsgpl 40 6 0 5 2 1 1 1 0 8 0 semupl 112 2 0 2 1 1 0 1 0 8 0 semapl 72 22 0 5 1 0 1 1 0 8 0 shmpl 120 13 0 1 1 0 1 1 0 8 0 dirhash 1024 19 0 2 3 0 3 3 0 8 0 dino2pl 256 2132 0 524 101 0 101 101 0 8 0 ffsino 296 2132 0 524 124 0 124 124 0 8 0 nchpl 144 2670 0 757 71 0 71 71 0 8 0 vnodes 216 3097 0 0 173 0 173 173 0 8 0 namei 1024 16118 0 16118 4 3 1 3 0 8 1 percpumem 16 119 0 65 1 0 1 1 0 8 0 kstatmem 264 155 0 124 3 0 3 3 0 8 0 scsiplug 72 2 0 2 1 1 0 1 0 8 0 scxspl 216 9715 0 9715 11 10 1 8 1 8 1 plimitpl 152 114 0 97 1 0 1 1 0 8 0 sigapl 424 1390 0 1344 7 1 6 7 0 8 0 knotepl 120 300 0 0 9 0 9 9 0 8 0 kqueuepl 224 144 0 134 5 4 1 5 0 8 0 pipepl 344 305 0 278 4 0 4 4 0 8 1 fdescpl 528 1374 0 1344 3 0 3 3 0 8 0 filepl 160 5568 0 5359 15 4 11 14 0 8 1 lockfpl 104 95 0 92 1 0 1 1 0 8 0 lockfspl 48 48 0 45 1 0 1 1 0 8 0 sessionpl 144 84 0 75 1 0 1 1 0 8 0 pgrppl 48 344 0 327 1 0 1 1 0 8 0 ucredpl 104 434 0 421 1 0 1 1 0 8 0 zombiepl 144 1346 0 1344 1 0 1 1 0 8 0 processpl 1232 1390 0 1344 6 1 5 5 0 8 0 procpl 664 1915 0 1862 6 0 6 6 0 8 1 sockpl 752 1275 0 1246 7 0 7 7 0 8 4 mcl64k 65536 2 0 0 1 0 1 1 0 8 0 mcl8k 8192 2 0 0 1 0 1 1 0 8 0 mcl4k 4096 123 0 0 16 0 16 16 0 8 0 mcl2k 2048 33 0 0 5 0 5 5 0 8 0 mextrefs 64 30 0 0 1 0 1 1 0 8 0 mtagpl 96 3 0 0 1 0 1 1 0 8 0 mbufpl 256 233 0 0 15 0 15 15 0 8 0 bufpl 272 3126 0 107 202 0 202 202 0 8 0 anonpl 32 7048 0 0 57 0 57 57 0 247 0 amapchunkpl 152 27291 0 26884 30 8 22 30 0 158 6 amappl16 200 2120 0 2105 19 9 10 13 0 8 8 amappl15 192 4 0 4 1 1 0 1 0 8 0 amappl14 184 1065 0 1063 1 0 1 1 0 8 0 amappl13 176 230 0 218 1 0 1 1 0 8 0 amappl12 168 1834 0 1806 2 0 2 2 0 8 0 amappl11 160 6 0 6 1 1 0 1 0 8 0 amappl10 152 67 0 52 1 0 1 1 0 8 0 amappl9 144 271 0 271 1 1 0 1 0 8 0 amappl8 136 314 0 310 1 0 1 1 0 8 0 amappl7 128 256 0 243 1 0 1 1 0 8 0 amappl6 120 685 0 681 1 0 1 1 0 8 0 amappl5 112 101 0 91 1 0 1 1 0 8 0 amappl4 104 455 0 435 1 0 1 1 0 8 0 amappl3 96 4970 0 4888 3 0 3 3 0 8 0 amappl2 88 1295 0 1217 2 0 2 2 0 8 0 amappl1 80 18286 0 17689 15 1 14 15 0 8 0 amappl 88 8132 0 7992 5 1 4 5 0 92 0 uvmvnodes 80 108 0 0 3 0 3 3 0 8 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 7 0 7 2 2 0 1 0 8 0 dma128 128 254 0 254 2 2 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 20 0 19 1 0 1 1 0 8 0 aobjpl 72 15 0 1 1 0 1 1 0 8 0 uaddrrnd 24 1374 0 1344 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 1374 0 1344 1 0 1 1 0 8 0 vmmpekpl 168 12496 0 12440 4 0 4 4 0 8 0 vmmpepl 168 96868 0 95101 88 5 83 88 0 357 4 vmsppl 488 1373 0 1344 5 0 5 5 0 8 0 rwobjpl 80 28896 0 27873 26 0 26 26 0 8 2 pdppl 4096 2755 0 2688 167 98 69 85 0 8 2 pvpl 32 12538 0 0 101 0 101 101 0 265 0 pmappl 256 1373 0 1344 3 0 3 3 0 8 0 extentpl 40 45 0 27 1 0 1 1 0 8 0 phpool 112 565 0 112 14 0 14 14 0 8 0 ddb{1}> machine ddbcpu 0 Stopped at x86_ipi_db+0x27: addq $0x8,%rsp x86_ipi_db(ffffffff839bbff0) 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(ffffffff83b11b80) at __mp_lock+0x192 __mp_lock_spin sys/kern/kern_lock.c:142 [inline] __mp_lock(ffffffff83b11b80) at __mp_lock+0x192 sys/kern/kern_lock.c:173 softintr_dispatch(0) at softintr_dispatch+0x125 sys/kern/kern_softintr.c:83 dosoftint(0) at dosoftint+0x54 sys/arch/amd64/amd64/intr.c:862 Xsoftclock() at Xsoftclock+0x27 __mp_lock(ffffffff83b11b80) at __mp_lock+0x192 __mp_lock_spin sys/kern/kern_lock.c:142 [inline] __mp_lock(ffffffff83b11b80) at __mp_lock+0x192 sys/kern/kern_lock.c:173 ktrsyscall(ffff80003c409780,31,30,ffff80002a3022a0) at ktrsyscall+0x2c7 ktrwrite sys/kern/kern_ktrace.c:-1 [inline] ktrsyscall(ffff80003c409780,31,30,ffff80002a3022a0) at ktrsyscall+0x2c7 sys/kern/kern_ktrace.c:183 syscall(ffff80002a3022a0) at syscall+0x305 mi_syscall sys/sys/syscall_mi.h:154 [inline] syscall(ffff80002a3022a0) at syscall+0x305 sys/arch/amd64/amd64/trap.c:791 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x780f8a6f69c0, count: 4 ddb{0}> trace x86_ipi_db(ffffffff839bbff0) 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(ffffffff83b11b80) at __mp_lock+0x192 __mp_lock_spin sys/kern/kern_lock.c:142 [inline] __mp_lock(ffffffff83b11b80) at __mp_lock+0x192 sys/kern/kern_lock.c:173 softintr_dispatch(0) at softintr_dispatch+0x125 sys/kern/kern_softintr.c:83 dosoftint(0) at dosoftint+0x54 sys/arch/amd64/amd64/intr.c:862 Xsoftclock() at Xsoftclock+0x27 __mp_lock(ffffffff83b11b80) at __mp_lock+0x192 __mp_lock_spin sys/kern/kern_lock.c:142 [inline] __mp_lock(ffffffff83b11b80) at __mp_lock+0x192 sys/kern/kern_lock.c:173 ktrsyscall(ffff80003c409780,31,30,ffff80002a3022a0) at ktrsyscall+0x2c7 ktrwrite sys/kern/kern_ktrace.c:-1 [inline] ktrsyscall(ffff80003c409780,31,30,ffff80002a3022a0) at ktrsyscall+0x2c7 sys/kern/kern_ktrace.c:183 syscall(ffff80002a3022a0) at syscall+0x305 mi_syscall sys/sys/syscall_mi.h:154 [inline] syscall(ffff80002a3022a0) at syscall+0x305 sys/arch/amd64/amd64/trap.c:791 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x780f8a6f69c0, count: -11 ddb{0}> machine ddbcpu 1 Stopped at db_enter+0x25: addq $0x8,%rsp db_enter() at db_enter+0x25 sys/arch/amd64/amd64/db_interface.c:438 panic(ffffffff834c1ffe) at panic+0x1e5 sys/kern/subr_prf.c:198 __assert(ffffffff8350285d,ffffffff8350d54e,3bf,ffffffff8353617b) at __assert+0x29 sys/kern/subr_prf.c:-1 refcnt_finalize(ffff80002a32c638,ffffffff834ba4a0) at refcnt_finalize+0x1e7 sys/kern/kern_synch.c:960 pppx_if_destroy(ffff80002b783000,ffff80002a32c630) at pppx_if_destroy+0x3d sys/net/if_pppx.c:794 pppxclose(285b9c,1,2000,ffff800045fea2b8) at pppxclose+0xa0 sys/net/if_pppx.c:541 spec_close(ffff80003c3fcd10) at spec_close+0x417 sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffff5007ccc1958,1,fffff500097fd340,ffff800045fea2b8) at VOP_CLOSE+0x132 sys/kern/vfs_vops.c:156 vn_closefile(fffff5006b3fd9a8,ffff800045fea2b8) at vn_closefile+0x12b vn_close sys/kern/vfs_vnops.c:298 [inline] vn_closefile(fffff5006b3fd9a8,ffff800045fea2b8) at vn_closefile+0x12b sys/kern/vfs_vnops.c:621 fdrop(fffff5006b3fd9a8,ffff800045fea2b8) at fdrop+0x121 sys/kern/kern_descrip.c:1281 closef(fffff5006b3fd9a8,ffff800045fea2b8) at closef+0x192 sys/kern/kern_descrip.c:1265 sys_closefrom(ffff800045fea2b8,ffff80003c3fcfe0,ffff80003c3fcf30) at sys_closefrom+0x13c sys/kern/kern_descrip.c:1471 syscall(ffff80003c3fcfe0) at syscall+0xbd4 mi_syscall sys/sys/syscall_mi.h:176 [inline] syscall(ffff80003c3fcfe0) at syscall+0xbd4 sys/arch/amd64/amd64/trap.c:791 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x39faaf8d4a0, count: 1 ddb{1}> trace db_enter() at db_enter+0x25 sys/arch/amd64/amd64/db_interface.c:438 panic(ffffffff834c1ffe) at panic+0x1e5 sys/kern/subr_prf.c:198 __assert(ffffffff8350285d,ffffffff8350d54e,3bf,ffffffff8353617b) at __assert+0x29 sys/kern/subr_prf.c:-1 refcnt_finalize(ffff80002a32c638,ffffffff834ba4a0) at refcnt_finalize+0x1e7 sys/kern/kern_synch.c:960 pppx_if_destroy(ffff80002b783000,ffff80002a32c630) at pppx_if_destroy+0x3d sys/net/if_pppx.c:794 pppxclose(285b9c,1,2000,ffff800045fea2b8) at pppxclose+0xa0 sys/net/if_pppx.c:541 spec_close(ffff80003c3fcd10) at spec_close+0x417 sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffff5007ccc1958,1,fffff500097fd340,ffff800045fea2b8) at VOP_CLOSE+0x132 sys/kern/vfs_vops.c:156 vn_closefile(fffff5006b3fd9a8,ffff800045fea2b8) at vn_closefile+0x12b vn_close sys/kern/vfs_vnops.c:298 [inline] vn_closefile(fffff5006b3fd9a8,ffff800045fea2b8) at vn_closefile+0x12b sys/kern/vfs_vnops.c:621 fdrop(fffff5006b3fd9a8,ffff800045fea2b8) at fdrop+0x121 sys/kern/kern_descrip.c:1281 closef(fffff5006b3fd9a8,ffff800045fea2b8) at closef+0x192 sys/kern/kern_descrip.c:1265 sys_closefrom(ffff800045fea2b8,ffff80003c3fcfe0,ffff80003c3fcf30) at sys_closefrom+0x13c sys/kern/kern_descrip.c:1471 syscall(ffff80003c3fcfe0) at syscall+0xbd4 mi_syscall sys/sys/syscall_mi.h:176 [inline] syscall(ffff80003c3fcfe0) at syscall+0xbd4 sys/arch/amd64/amd64/trap.c:791 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x39faaf8d4a0, count: -14