panic: kernel diagnostic assertion "refs != ~0" failed: file "/syzkaller/managers/multicore/kernel/sys/kern/kern_synch.c", line 995 Stopped at db_enter+0x25: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND 78005 25293 0 0 0 0 syz-executor db_enter() at db_enter+0x25 sys/arch/amd64/amd64/db_interface.c:438 panic(ffffffff8345e957) at panic+0x1e5 sys/kern/subr_prf.c:198 __assert(ffffffff83408ab0,ffffffff8340f6f5,3e3,ffffffff8340f73d) at __assert+0x29 sys/kern/subr_prf.c:-1 refcnt_finalize(ffff80003b4074e8,ffffffff8335025e) at refcnt_finalize+0x1c8 sys/kern/kern_synch.c:996 pppx_if_destroy(0,ffff80003b4074e0) at pppx_if_destroy+0x3d sys/net/if_pppx.c:806 pppxclose(205b9a,1,2000,ffff800036ffc560) at pppxclose+0xa0 sys/net/if_pppx.c:553 spec_close(ffff8000363f3fb0) at spec_close+0x412 sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd806bc37978,1,fffffd807f7d21a0,ffff800036ffc560) at VOP_CLOSE+0x133 sys/kern/vfs_vops.c:156 vn_closefile(fffffd80697c9878,ffff800036ffc560) at vn_closefile+0x12b vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd80697c9878,ffff800036ffc560) at vn_closefile+0x12b sys/kern/vfs_vnops.c:615 fdrop(fffffd80697c9878,ffff800036ffc560) at fdrop+0x126 sys/kern/kern_descrip.c:1265 closef(fffffd80697c9878,ffff800036ffc560) at closef+0x192 sys/kern/kern_descrip.c:1249 fdfree(ffff800036ffc560) at fdfree+0x116 sys/kern/kern_descrip.c:1181 exit1(ffff800036ffc560,0,0,1) at exit1+0x58f sys/kern/kern_exit.c:214 sys_exit(ffff800036ffc560,ffff8000363f4320,ffff8000363f4270) at sys_exit+0x1a sys/kern/kern_exit.c:-1 end trace frame: 0xffff8000363f4310, 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{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 995 ddb{1}> trace db_enter() at db_enter+0x25 sys/arch/amd64/amd64/db_interface.c:438 panic(ffffffff8345e957) at panic+0x1e5 sys/kern/subr_prf.c:198 __assert(ffffffff83408ab0,ffffffff8340f6f5,3e3,ffffffff8340f73d) at __assert+0x29 sys/kern/subr_prf.c:-1 refcnt_finalize(ffff80003b4074e8,ffffffff8335025e) at refcnt_finalize+0x1c8 sys/kern/kern_synch.c:996 pppx_if_destroy(0,ffff80003b4074e0) at pppx_if_destroy+0x3d sys/net/if_pppx.c:806 pppxclose(205b9a,1,2000,ffff800036ffc560) at pppxclose+0xa0 sys/net/if_pppx.c:553 spec_close(ffff8000363f3fb0) at spec_close+0x412 sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd806bc37978,1,fffffd807f7d21a0,ffff800036ffc560) at VOP_CLOSE+0x133 sys/kern/vfs_vops.c:156 vn_closefile(fffffd80697c9878,ffff800036ffc560) at vn_closefile+0x12b vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd80697c9878,ffff800036ffc560) at vn_closefile+0x12b sys/kern/vfs_vnops.c:615 fdrop(fffffd80697c9878,ffff800036ffc560) at fdrop+0x126 sys/kern/kern_descrip.c:1265 closef(fffffd80697c9878,ffff800036ffc560) at closef+0x192 sys/kern/kern_descrip.c:1249 fdfree(ffff800036ffc560) at fdfree+0x116 sys/kern/kern_descrip.c:1181 exit1(ffff800036ffc560,0,0,1) at exit1+0x58f sys/kern/kern_exit.c:214 sys_exit(ffff800036ffc560,ffff8000363f4320,ffff8000363f4270) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff8000363f4320) at syscall+0xb08 mi_syscall sys/sys/syscall_mi.h:176 [inline] syscall(ffff8000363f4320) at syscall+0xb08 sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x78d12a272540, count: -16 ddb{1}> show registers rdi 0 rsi 0x1 rbp 0xffff8000363f3d80 rbx 0xffff8000299dedcf rdx 0 rcx 0xffff800036ffc560 rax 0xffff8000299ddff0 r8 0x101010101010101 r9 0x8080808080808080 r10 0xa99d0b5dbea1f089 r11 0xf4579c7be8ceb503 r12 0xffff8000299debd0 r13 0 r14 0 r15 0x1 rip 0xffffffff826069e5 db_enter+0x25 cs 0x8 rflags 0x246 rsp 0xffff8000363f3d70 ss 0x10 db_enter+0x25: addq $0x8,%rsp ddb{1}> show proc PROC (syz-executor) tid=515352 pid=75549 tcnt=0 stat=onproc flags process=1008 proc=2000 runpri=32, usrpri=62, slppri=32, nice=20 wchan=0x0, wmesg=, ps_single=0xffff800036ffc560 scnt=-1 ecnt=1 forw=0xffffffffffffffff, list=0xffff80002a237ff8,0xffff800033fe4aa0 process=0xffff8000fffece60 user=0xffff8000363ef000, vmspace=0xfffffd806bd4d7a0 estcpu=12, cpticks=3, pctcpu=0.0, user=0, sys=1, intr=0 ddb{1}> ps PID TID PPID UID S FLAGS WAIT COMMAND 80944 153202 20745 0 2 0 syz-executor 25293 78005 95817 0 7 0 syz-executor 49254 22340 0 0 3 0x14200 bored sosplice 39336 332089 52831 0 2 0 syz-executor 39336 344655 52831 0 2 0x4000000 syz-executor 20923 246090 69920 0 2 0 syz-executor 95817 195646 85232 0 3 0x82 nanoslp syz-executor 69920 521104 85232 0 3 0x82 nanoslp syz-executor 98172 50301 85232 0 3 0x10000082 nanoslp syz-executor 52831 154273 85232 0 3 0x82 nanoslp syz-executor 19225 225063 85232 0 3 0x82 nanoslp syz-executor 20745 520861 85232 0 3 0x82 nanoslp syz-executor 31151 421667 85232 0 3 0x10000082 nanoslp syz-executor 52543 352068 85232 0 3 0x2 biowait syz-executor 85232 194953 22257 0 3 0x82 kqread syz-executor 22257 210136 94529 0 3 0x10008a sigsusp ksh 94529 123330 30100 0 3 0x98 kqread sshd-session 30100 309877 97064 0 3 0x92 kqread sshd-session 84653 41469 1 0 3 0x100083 ttyin getty 97064 510338 1 0 3 0x88 kqread sshd 56902 53387 52690 74 3 0x1100092 bpf pflogd 52690 51305 1 0 3 0x80 sbwait pflogd 45796 288537 88395 73 3 0x1100090 kqread syslogd 88395 421852 1 0 3 0x100082 sbwait syslogd 90599 34234 1 0 3 0x100080 kqread resolvd 12647 326487 3474 77 2 0x100012 dhcpleased 87697 112467 3474 77 3 0x100092 kqread dhcpleased 3474 223965 1 0 3 0x80 kqread dhcpleased 48294 63638 0 0 3 0x14200 bored smr 95616 284337 0 0 2 0x14200 zerothread 22889 411793 0 0 3 0x14200 aiodoned aiodoned 80567 392617 0 0 3 0x14200 syncer update 87835 23658 0 0 3 0x14200 cleaner cleaner 67193 252093 0 0 3 0x14200 reaper reaper 89961 184541 0 0 3 0x14200 pgdaemon pagedaemon 91873 113316 0 0 3 0x14200 bored viomb 99609 334467 0 0 3 0x40014200 acpi0 acpi0 90497 123782 0 0 3 0x40014200 idle1 33043 62022 0 0 3 0x14200 bored softnet3 37781 420913 0 0 3 0x14200 bored softnet2 16947 421226 0 0 3 0x14200 bored softnet1 41450 463136 0 0 2 0x14200 softnet0 17061 137468 0 0 3 0x14200 bored systqmp 21108 375397 0 0 3 0x14200 bored systq 26823 192873 0 0 3 0x14200 tmoslp softclockmp 61210 272461 0 0 3 0x40014200 tmoslp softclock 98975 308948 0 0 3 0x40014200 idle0 1 140519 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{1}> show all locks Process 25293 (syz-executor) thread 0xffff800036ffbac0 (78005) exclusive rwlock vmmaplk r = 0 (0xfffffd806bd4d300) #0 witness_lock+0x5bb stacktrace_save sys/sys/stacktrace.h:37 [inline] #0 witness_lock+0x5bb sys/kern/subr_witness.c:1160 #1 rw_do_enter_write+0x3ea sys/kern/kern_rwlock.c:316 #2 vm_map_lock_ln+0x12e sys/uvm/uvm_map.c:5250 #3 uvm_mapanon+0x292 sys/uvm/uvm_map.c:-1 #4 uvm_mmapanon+0x1d0 sys/uvm/uvm_mmap.c:1031 #5 sys_mmap+0xa96 sys/uvm/uvm_mmap.c:426 #6 syscall+0xbc6 mi_syscall sys/sys/syscall_mi.h:176 [inline] #6 syscall+0xbc6 sys/arch/amd64/amd64/trap.c:577 #7 Xsyscall+0x128 Process 52543 (syz-executor) thread 0xffff80002a292008 (352068) exclusive rrwlock inode r = 0 (0xfffffd806c5e4f80) #0 witness_lock+0x5bb stacktrace_save sys/sys/stacktrace.h:37 [inline] #0 witness_lock+0x5bb sys/kern/subr_witness.c:1160 #1 rw_do_enter_write+0x3ea sys/kern/kern_rwlock.c:316 #2 rrw_enter+0xc6 sys/kern/kern_rwlock.c:616 #3 VOP_LOCK+0xa6 sys/kern/vfs_vops.c:527 #4 ufs_ihashins+0x4f ufs_ihash sys/ufs/ufs/ufs_ihash.c:-1 [inline] #4 ufs_ihashins+0x4f sys/ufs/ufs/ufs_ihash.c:159 #5 ffs_vget+0x187 sys/ufs/ffs/ffs_vfsops.c:1230 #6 ffs_inode_alloc+0x283 sys/ufs/ffs/ffs_alloc.c:393 #7 ufs_mkdir+0x113 sys/ufs/ufs/ufs_vnops.c:1112 #8 VOP_MKDIR+0x102 sys/kern/vfs_vops.c:394 #9 domkdirat+0x179 sys/kern/vfs_syscalls.c:3109 #10 syscall+0xb08 mi_syscall sys/sys/syscall_mi.h:176 [inline] #10 syscall+0xb08 sys/arch/amd64/amd64/trap.c:577 #11 Xsyscall+0x128 exclusive rrwlock inode r = 0 (0xfffffd806cd38790) #0 witness_lock+0x5bb stacktrace_save sys/sys/stacktrace.h:37 [inline] #0 witness_lock+0x5bb sys/kern/subr_witness.c:1160 #1 rw_do_enter_write+0x3ea sys/kern/kern_rwlock.c:316 #2 rrw_enter+0xc6 sys/kern/kern_rwlock.c:616 #3 VOP_LOCK+0xa6 sys/kern/vfs_vops.c:527 #4 vn_lock+0xa4 sys/kern/vfs_vnops.c:570 #5 vfs_lookup+0x109 sys/kern/vfs_lookup.c:418 #6 namei+0x7aa sys/kern/vfs_lookup.c:250 #7 domkdirat+0x8b sys/kern/vfs_syscalls.c:3094 #8 syscall+0xb08 mi_syscall sys/sys/syscall_mi.h:176 [inline] #8 syscall+0xb08 sys/arch/amd64/amd64/trap.c:577 #9 Xsyscall+0x128 Process 41450 (softnet0) thread 0xffff80002a1ed7f8 (463136) shared rwlock softnet0 r = 0 (0xffff80000002c078) #0 witness_lock+0x5bb stacktrace_save sys/sys/stacktrace.h:37 [inline] #0 witness_lock+0x5bb 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 10196 11033K 11294K 166960K 11392 0 pcb 17 12K 12K 166960K 26 0 rtable 238 7K 7K 166960K 356 0 pf 39 18K 19K 166960K 57 0 ifaddr 45 7K 8K 166960K 54 0 ifgroup 62 2K 3K 166960K 73 0 sysctl 1 1K 1K 166960K 1 0 counters 70 37K 37K 166960K 78 0 ioctlops 0 0K 4K 166960K 1488 0 iov 0 0K 12K 166960K 3 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1398 88K 88K 166960K 1446 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 1K 166960K 2 0 VM map 2 1K 1K 166960K 2 0 sem 2 0K 0K 166960K 2 0 dirhash 12 2K 2K 166960K 12 0 ACPI 1692 195K 286K 166960K 12470 0 file desc 15 53K 89K 166960K 171 0 sigio 0 0K 0K 166960K 1 0 proc 70 91K 128K 166960K 529 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 4 0 in_multi 99 7K 7K 166960K 102 0 ether_multi 1 0K 0K 166960K 1 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 43 201K 201K 166960K 43 0 exec 0 0K 1K 166960K 364 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 198 158K 170K 166960K 3226 0 UVM aobj 3 2K 2K 166960K 3 0 pinsyscall 40 80K 104K 166960K 1249 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 1 0 NDP 22 1K 2K 166960K 33 0 temp 35 8682K 8746K 166960K 4102 0 kqueue 14 22K 24K 166960K 25 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 26 0 0 1 0 1 1 0 8 0 rtpcb 120 35 0 32 1 0 1 1 0 8 0 rtentry 176 114 0 3 6 0 6 6 0 8 0 unpcb 144 56 0 39 1 0 1 1 0 8 0 syncache 336 3 0 3 1 0 1 1 0 8 1 tcpcb 808 13 0 9 1 0 1 1 0 8 0 arp 128 18 0 0 1 0 1 1 0 8 0 inpcb 384 151 0 144 8 0 8 8 0 8 7 nd6 144 25 0 0 1 0 1 1 0 8 0 kcovpl 48 8 0 0 1 0 1 1 0 8 0 ppxss 1192 4 0 2 1 0 1 1 0 8 0 pppxif 1504 2 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 pfstitem 24 19 0 0 1 0 1 1 0 8 0 pfstkey 128 19 0 0 1 0 1 1 0 8 0 pfstate 384 19 0 0 2 0 2 2 0 8 0 pfrule 1344 21 0 16 2 1 1 2 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 459 0 6 29 0 29 29 0 8 0 art_table 32 460 0 6 4 0 4 4 0 8 0 art_node 16 112 0 11 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 1618 0 107 95 0 95 95 0 8 0 ffsino 288 1618 0 107 108 0 108 108 0 8 0 nchpl 144 1848 0 161 63 0 63 63 0 8 0 uvmvnodes 80 1781 0 0 37 0 37 37 0 8 0 vnodes 216 1781 0 0 99 0 99 99 0 8 0 namei 1024 5670 0 5669 2 0 2 2 0 8 1 percpumem 16 54 0 4 1 0 1 1 0 8 0 kstatmem 264 34 0 6 3 0 3 3 0 8 0 scxspl 216 5952 0 5951 3 2 1 2 1 8 0 plimitpl 152 29 0 12 1 0 1 1 0 8 0 sigapl 424 470 0 420 7 0 7 7 0 8 1 futexpl 64 531 0 531 1 0 1 1 0 8 1 knotepl 120 54 0 0 2 0 2 2 0 8 0 kqueuepl 224 29 0 18 1 0 1 1 0 8 0 pipepl 336 105 0 78 3 0 3 3 0 8 0 fdescpl 520 451 0 422 3 0 3 3 0 8 0 filepl 160 1716 0 1502 13 0 13 13 0 8 2 lockfpl 104 21 0 19 1 0 1 1 0 8 0 lockfspl 48 10 0 8 1 0 1 1 0 8 0 sessionpl 144 22 0 13 1 0 1 1 0 8 0 pgrppl 48 30 0 13 1 0 1 1 0 8 0 ucredpl 104 95 0 82 1 0 1 1 0 8 0 zombiepl 144 423 0 420 1 0 1 1 0 8 0 processpl 1216 470 0 420 5 0 5 5 0 8 0 procpl 680 548 0 497 6 0 6 6 0 8 0 sockpl 728 244 0 217 10 0 10 10 0 8 7 mcl64k 65536 2 0 0 1 0 1 1 0 8 0 mcl16k 16384 1 0 0 1 0 1 1 0 8 0 mcl8k 8192 2 0 0 1 0 1 1 0 8 0 mcl4k 4096 125 0 0 16 0 16 16 0 8 0 mcl2k 2048 20 0 0 3 0 3 3 0 8 0 mtagpl 96 4 0 0 1 0 1 1 0 8 0 mbufpl 256 126 0 0 8 0 8 8 0 8 0 bufpl 280 2338 0 124 159 0 159 159 0 8 0 anonpl 32 9518 0 0 77 0 77 77 0 246 0 amapchunkpl 152 8976 0 8624 25 0 25 25 0 158 5 amappl16 200 1343 0 1324 14 0 14 14 0 8 11 amappl15 192 6 0 6 1 1 0 1 0 8 0 amappl14 184 106 0 94 1 0 1 1 0 8 0 amappl13 176 4 0 4 1 1 0 1 0 8 0 amappl12 168 1086 0 1057 4 1 3 3 0 8 0 amappl11 160 49 0 35 1 0 1 1 0 8 0 amappl10 152 3 0 3 1 1 0 1 0 8 0 amappl9 144 255 0 254 2 1 1 1 0 8 0 amappl8 136 43 0 40 1 0 1 1 0 8 0 amappl7 128 128 0 116 1 0 1 1 0 8 0 amappl6 120 171 0 168 1 0 1 1 0 8 0 amappl5 112 118 0 109 1 0 1 1 0 8 0 amappl4 104 325 0 308 1 0 1 1 0 8 0 amappl3 96 1457 0 1376 4 1 3 3 0 8 0 amappl2 88 632 0 574 2 0 2 2 0 8 0 amappl1 80 8173 0 7587 14 0 14 14 0 8 0 amappl 88 2553 0 2427 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 8 0 8 2 1 1 1 0 8 1 dma16 16 18 0 17 1 0 1 1 0 8 0 aobjpl 72 2 0 0 1 0 1 1 0 8 0 uaddrrnd 24 451 0 422 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 451 0 422 1 0 1 1 0 8 0 vmmpekpl 168 5416 0 5377 3 0 3 3 0 8 1 vmmpepl 168 34656 0 32873 98 0 98 98 0 357 10 vmsppl 480 450 0 422 5 0 5 5 0 8 1 rwobjpl 72 13732 0 11096 54 0 54 54 0 8 1 pdppl 4096 910 0 844 98 18 80 86 0 8 14 pvpl 32 16360 0 0 132 0 132 132 0 265 0 pmappl 256 450 0 422 3 0 3 3 0 8 0 extentpl 40 45 0 27 1 0 1 1 0 8 0 phpool 112 383 0 20 11 0 11 11 0 8 0 ddb{1}> machine ddbcpu 0 Stopped at x86_ipi_db+0x27: addq $0x8,%rsp x86_ipi_db(ffffffff837ebff0) 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 __sanitizer_cov_trace_pc() at __sanitizer_cov_trace_pc+0x33 kd_curproc sys/dev/kcov.c:585 [inline] __sanitizer_cov_trace_pc() at __sanitizer_cov_trace_pc+0x33 sys/dev/kcov.c:153 __mp_lock(ffffffff8394e630) at __mp_lock+0x1a3 __mp_lock_spin sys/kern/kern_lock.c:113 [inline] __mp_lock(ffffffff8394e630) at __mp_lock+0x1a3 sys/kern/kern_lock.c:144 intr_handler(ffff800032bdcb30,ffff800000079f00) at intr_handler+0xe1 sys/arch/amd64/amd64/intr.c:559 Xintr_ioapic_edge23_untramp() at Xintr_ioapic_edge23_untramp+0x18f __mp_lock(ffffffff8394e630) at __mp_lock+0x192 __mp_lock_spin sys/kern/kern_lock.c:113 [inline] __mp_lock(ffffffff8394e630) at __mp_lock+0x192 sys/kern/kern_lock.c:144 syscall(ffff800032bdcd00) at syscall+0xae6 mi_syscall sys/sys/syscall_mi.h:176 [inline] syscall(ffff800032bdcd00) at syscall+0xae6 sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7e42e91e0d00, count: 5 ddb{0}> trace x86_ipi_db(ffffffff837ebff0) 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 __sanitizer_cov_trace_pc() at __sanitizer_cov_trace_pc+0x33 kd_curproc sys/dev/kcov.c:585 [inline] __sanitizer_cov_trace_pc() at __sanitizer_cov_trace_pc+0x33 sys/dev/kcov.c:153 __mp_lock(ffffffff8394e630) at __mp_lock+0x1a3 __mp_lock_spin sys/kern/kern_lock.c:113 [inline] __mp_lock(ffffffff8394e630) at __mp_lock+0x1a3 sys/kern/kern_lock.c:144 intr_handler(ffff800032bdcb30,ffff800000079f00) at intr_handler+0xe1 sys/arch/amd64/amd64/intr.c:559 Xintr_ioapic_edge23_untramp() at Xintr_ioapic_edge23_untramp+0x18f __mp_lock(ffffffff8394e630) at __mp_lock+0x192 __mp_lock_spin sys/kern/kern_lock.c:113 [inline] __mp_lock(ffffffff8394e630) at __mp_lock+0x192 sys/kern/kern_lock.c:144 syscall(ffff800032bdcd00) at syscall+0xae6 mi_syscall sys/sys/syscall_mi.h:176 [inline] syscall(ffff800032bdcd00) at syscall+0xae6 sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7e42e91e0d00, count: -10 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(ffffffff8345e957) at panic+0x1e5 sys/kern/subr_prf.c:198 __assert(ffffffff83408ab0,ffffffff8340f6f5,3e3,ffffffff8340f73d) at __assert+0x29 sys/kern/subr_prf.c:-1 refcnt_finalize(ffff80003b4074e8,ffffffff8335025e) at refcnt_finalize+0x1c8 sys/kern/kern_synch.c:996 pppx_if_destroy(0,ffff80003b4074e0) at pppx_if_destroy+0x3d sys/net/if_pppx.c:806 pppxclose(205b9a,1,2000,ffff800036ffc560) at pppxclose+0xa0 sys/net/if_pppx.c:553 spec_close(ffff8000363f3fb0) at spec_close+0x412 sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd806bc37978,1,fffffd807f7d21a0,ffff800036ffc560) at VOP_CLOSE+0x133 sys/kern/vfs_vops.c:156 vn_closefile(fffffd80697c9878,ffff800036ffc560) at vn_closefile+0x12b vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd80697c9878,ffff800036ffc560) at vn_closefile+0x12b sys/kern/vfs_vnops.c:615 fdrop(fffffd80697c9878,ffff800036ffc560) at fdrop+0x126 sys/kern/kern_descrip.c:1265 closef(fffffd80697c9878,ffff800036ffc560) at closef+0x192 sys/kern/kern_descrip.c:1249 fdfree(ffff800036ffc560) at fdfree+0x116 sys/kern/kern_descrip.c:1181 exit1(ffff800036ffc560,0,0,1) at exit1+0x58f sys/kern/kern_exit.c:214 sys_exit(ffff800036ffc560,ffff8000363f4320,ffff8000363f4270) at sys_exit+0x1a sys/kern/kern_exit.c:-1 end trace frame: 0xffff8000363f4310, count: 0 ddb{1}> trace db_enter() at db_enter+0x25 sys/arch/amd64/amd64/db_interface.c:438 panic(ffffffff8345e957) at panic+0x1e5 sys/kern/subr_prf.c:198 __assert(ffffffff83408ab0,ffffffff8340f6f5,3e3,ffffffff8340f73d) at __assert+0x29 sys/kern/subr_prf.c:-1 refcnt_finalize(ffff80003b4074e8,ffffffff8335025e) at refcnt_finalize+0x1c8 sys/kern/kern_synch.c:996 pppx_if_destroy(0,ffff80003b4074e0) at pppx_if_destroy+0x3d sys/net/if_pppx.c:806 pppxclose(205b9a,1,2000,ffff800036ffc560) at pppxclose+0xa0 sys/net/if_pppx.c:553 spec_close(ffff8000363f3fb0) at spec_close+0x412 sys/kern/spec_vnops.c:-1 VOP_CLOSE(fffffd806bc37978,1,fffffd807f7d21a0,ffff800036ffc560) at VOP_CLOSE+0x133 sys/kern/vfs_vops.c:156 vn_closefile(fffffd80697c9878,ffff800036ffc560) at vn_closefile+0x12b vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd80697c9878,ffff800036ffc560) at vn_closefile+0x12b sys/kern/vfs_vnops.c:615 fdrop(fffffd80697c9878,ffff800036ffc560) at fdrop+0x126 sys/kern/kern_descrip.c:1265 closef(fffffd80697c9878,ffff800036ffc560) at closef+0x192 sys/kern/kern_descrip.c:1249 fdfree(ffff800036ffc560) at fdfree+0x116 sys/kern/kern_descrip.c:1181 exit1(ffff800036ffc560,0,0,1) at exit1+0x58f sys/kern/kern_exit.c:214 sys_exit(ffff800036ffc560,ffff8000363f4320,ffff8000363f4270) at sys_exit+0x1a sys/kern/kern_exit.c:-1 syscall(ffff8000363f4320) at syscall+0xb08 mi_syscall sys/sys/syscall_mi.h:176 [inline] syscall(ffff8000363f4320) at syscall+0xb08 sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x78d12a272540, count: -16