panic: acquiring blockable sleep lock with spinlock or critical section held (rwlock) vmmaplk Stopped at db_enter+0x18: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND 475729 37867 0 0 0 1 syz-executor.0 db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff8220ca90) at panic+0x15c sys/kern/subr_prf.c:207 witness_checkorder(fffffd807f0002f8,1,0) at witness_checkorder+0x10e0 sys/kern/subr_witness.c:821 rw_enter_read(fffffd807f0002e8) at rw_enter_read+0x66 sys/kern/kern_rwlock.c:111 uvmfault_lookup(ffff800023fa6d18,0) at uvmfault_lookup+0xd9 sys/uvm/uvm_fault.c:1448 uvm_fault(fffffd807f0002e0,2e2e02040000,0,2) at uvm_fault+0x7f sys/uvm/uvm_fault.c:524 pageflttrap(ffff800023fa6eb0,0) at pageflttrap+0x1b8 sys/arch/amd64/amd64/trap.c:221 kerntrap(ffff800023fa6eb0) at kerntrap+0xec sys/arch/amd64/amd64/trap.c:302 alltraps_kern_meltdown() at alltraps_kern_meltdown+0x7b pool_cache_get(ffffffff826636d0) at pool_cache_get+0x10d pool_cache_list_alloc sys/kern/subr_pool.c:1809 [inline] pool_cache_get(ffffffff826636d0) at pool_cache_get+0x10d sys/kern/subr_pool.c:1879 pool_get(ffffffff826636d0,2) at pool_get+0x91 sys/kern/subr_pool.c:572 m_copyback(fffffd807b858d00,80,20,ffff8000009d5b20,2) at m_copyback+0x4d7 m_get sys/kern/uipc_mbuf.c:250 [inline] m_copyback(fffffd807b858d00,80,20,ffff8000009d5b20,2) at m_copyback+0x4d7 sys/kern/uipc_mbuf.c:790 rtm_msg1(2,ffff800023fa7220) at rtm_msg1+0x1b2 sys/net/rtsock.c:1552 rtm_send(fffffd80655cbe08,2,0,0) at rtm_send+0x120 rtm_miss sys/net/rtsock.c:1679 [inline] rtm_send(fffffd80655cbe08,2,0,0) at rtm_send+0x120 sys/net/rtsock.c:1657 end trace frame: 0xffff800023fa7450, 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 acquiring blockable sleep lock with spinlock or critical section held (rwlock) vmmaplk ddb{0}> trace db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff8220ca90) at panic+0x15c sys/kern/subr_prf.c:207 witness_checkorder(fffffd807f0002f8,1,0) at witness_checkorder+0x10e0 sys/kern/subr_witness.c:821 rw_enter_read(fffffd807f0002e8) at rw_enter_read+0x66 sys/kern/kern_rwlock.c:111 uvmfault_lookup(ffff800023fa6d18,0) at uvmfault_lookup+0xd9 sys/uvm/uvm_fault.c:1448 uvm_fault(fffffd807f0002e0,2e2e02040000,0,2) at uvm_fault+0x7f sys/uvm/uvm_fault.c:524 pageflttrap(ffff800023fa6eb0,0) at pageflttrap+0x1b8 sys/arch/amd64/amd64/trap.c:221 kerntrap(ffff800023fa6eb0) at kerntrap+0xec sys/arch/amd64/amd64/trap.c:302 alltraps_kern_meltdown() at alltraps_kern_meltdown+0x7b pool_cache_get(ffffffff826636d0) at pool_cache_get+0x10d pool_cache_list_alloc sys/kern/subr_pool.c:1809 [inline] pool_cache_get(ffffffff826636d0) at pool_cache_get+0x10d sys/kern/subr_pool.c:1879 pool_get(ffffffff826636d0,2) at pool_get+0x91 sys/kern/subr_pool.c:572 m_copyback(fffffd807b858d00,80,20,ffff8000009d5b20,2) at m_copyback+0x4d7 m_get sys/kern/uipc_mbuf.c:250 [inline] m_copyback(fffffd807b858d00,80,20,ffff8000009d5b20,2) at m_copyback+0x4d7 sys/kern/uipc_mbuf.c:790 rtm_msg1(2,ffff800023fa7220) at rtm_msg1+0x1b2 sys/net/rtsock.c:1552 rtm_send(fffffd80655cbe08,2,0,0) at rtm_send+0x120 rtm_miss sys/net/rtsock.c:1679 [inline] rtm_send(fffffd80655cbe08,2,0,0) at rtm_send+0x120 sys/net/rtsock.c:1657 rtdeletemsg(fffffd80655cbe08,ffff800000a24800,0) at rtdeletemsg+0x199 sys/net/route.c:682 rt_ifa_purge(ffff800000a0d500) at rt_ifa_purge+0x104 sys/net/route.c:1320 in6_unlink_ifa(ffff800000a0d500,ffff800000a24800) at in6_unlink_ifa+0x580 sys/netinet6/in6.c:948 in6_purgeaddr(ffff800000a0d500) at in6_purgeaddr+0x1d7 sys/netinet6/in6.c:929 in6_ifdetach(ffff800000a24800) at in6_ifdetach+0x74 sys/netinet6/in6_ifattach.c:422 if_detach(ffff800000a24800) at if_detach+0x148 sys/net/if.c:1152 tun_clone_destroy(ffff800000a24800) at tun_clone_destroy+0x1f2 sys/net/if_tun.c:329 tun_dev_close(5d01,7) at tun_dev_close+0x160 sys/net/if_tun.c:480 spec_close(ffff800023fa7790) at spec_close+0x311 sys/kern/spec_vnops.c:555 VOP_CLOSE(fffffd806e2eb0d8,7,fffffd807f7bf960,ffff800020ed6288) at VOP_CLOSE+0xc0 sys/kern/vfs_vops.c:174 vn_closefile(fffffd80681f6c90,ffff800020ed6288) at vn_closefile+0xd7 vn_close sys/kern/vfs_vnops.c:298 [inline] vn_closefile(fffffd80681f6c90,ffff800020ed6288) at vn_closefile+0xd7 sys/kern/vfs_vnops.c:614 fdrop(fffffd80681f6c90,ffff800020ed6288) at fdrop+0xc2 sys/kern/kern_descrip.c:1276 closef(fffffd80681f6c90,ffff800020ed6288) at closef+0x11c sys/kern/kern_descrip.c:1260 fdfree(ffff800020ed6288) at fdfree+0x101 sys/kern/kern_descrip.c:1192 exit1(ffff800020ed6288,0,0,1) at exit1+0x32c sys/kern/kern_exit.c:197 sys_exit(ffff800020ed6288,ffff800023fa7a20,ffff800023fa7a70) at sys_exit+0x16 sys/kern/kern_exit.c:95 syscall(ffff800023fa7af0) at syscall+0x4a4 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff800023fa7af0) at syscall+0x4a4 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffefdf0, count: -32 ddb{0}> show registers rdi 0 rsi 0x1 rbp 0xffff800023fa6990 rbx 0xffff800023fa6a40 rdx 0xffff800020ed6288 rcx 0 rax 0 r8 0xffffffff812e6c3f kprintf+0x16f r9 0x1 r10 0x25 r11 0xe93fa2f6ed5b002f r12 0x3000000008 r13 0xffff800023fa69a0 r14 0x100 r15 0x1 rip 0xffffffff81078cb8 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff800023fa6980 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb{0}> show proc PROC (syz-executor.1) pid=463614 stat=onproc flags process=1008 proc=2000 pri=32, usrpri=70, nice=20 forw=0xffffffffffffffff, list=0xffff800020ed69d8,0xffff800020ed7888 process=0xffff800020e93358 user=0xffff800023fa2000, vmspace=0xfffffd807f0002e0 estcpu=20, cpticks=1, pctcpu=0.12 user=0, sys=1, intr=0 ddb{0}> ps PID TID PPID UID S FLAGS WAIT COMMAND 37867 475729 29996 0 7 0 syz-executor.0 16096 251399 0 0 3 0x14200 bored sosplice 29996 453271 6842 0 3 0x82 nanosleep syz-executor.0 6842 467956 26055 0 2 0x2 syz-fuzzer 6842 447670 26055 0 3 0x4000082 nanosleep syz-fuzzer 6842 495169 26055 0 3 0x4000082 thrsleep syz-fuzzer 6842 168164 26055 0 3 0x4000082 thrsleep syz-fuzzer 6842 186081 26055 0 3 0x4000082 thrsleep syz-fuzzer 6842 219060 26055 0 3 0x4000082 kqread syz-fuzzer 6842 417122 26055 0 3 0x4000082 thrsleep syz-fuzzer 6842 465569 26055 0 3 0x4000082 thrsleep syz-fuzzer 6842 16257 26055 0 3 0x4000082 thrsleep syz-fuzzer 6842 291323 26055 0 3 0x4000082 thrsleep syz-fuzzer 26055 180176 67222 0 3 0x10008a pause ksh 67222 258355 46209 0 3 0x92 select sshd 16918 260438 1 0 3 0x100083 ttyin getty 46209 93676 1 0 3 0x80 select sshd 91928 166462 6253 74 3 0x100092 bpf pflogd 6253 134051 1 0 3 0x80 netio pflogd 26047 194818 1221 73 3 0x100090 kqread syslogd 1221 380879 1 0 3 0x100082 netio syslogd 39071 246377 1 77 2 0x100090 dhclient 93317 69490 1 0 3 0x80 poll dhclient 2949 169502 0 0 3 0x14200 bored smr 38654 132431 0 0 2 0x14200 zerothread 45202 47968 0 0 3 0x14200 aiodoned aiodoned 54010 109809 0 0 3 0x14200 syncer update 98731 254425 0 0 3 0x14200 cleaner cleaner 55947 298539 0 0 3 0x14200 reaper reaper 76061 140051 0 0 3 0x14200 pgdaemon pagedaemon 80902 361503 0 0 3 0x14200 bored crynlk 36048 507443 0 0 3 0x14200 bored crypto 65748 135463 0 0 3 0x40014200 acpi0 acpi0 64221 67696 0 0 3 0x40014200 idle1 17481 138557 0 0 3 0x14200 bored softnet 83075 492783 0 0 2 0x14200 systqmp 56604 174623 0 0 3 0x14200 bored systq 31206 157943 0 0 3 0x40014200 bored softclock 31973 368184 0 0 3 0x40014200 idle0 1 356974 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{0}> show all locks CPU 0: exclusive mutex mbufpl r = 0 (0xffffffff826637c8) #0 witness_lock+0x4c7 stacktrace_save sys/sys/stacktrace.h:36 [inline] #0 witness_lock+0x4c7 sys/kern/subr_witness.c:1164 #1 mtx_enter_try+0x102 #2 pool_cache_get+0xa3 pl_enter_try sys/kern/subr_pool.c:109 [inline] #2 pool_cache_get+0xa3 pool_list_enter sys/kern/subr_pool.c:1789 [inline] #2 pool_cache_get+0xa3 pool_cache_list_alloc sys/kern/subr_pool.c:1806 [inline] #2 pool_cache_get+0xa3 sys/kern/subr_pool.c:1879 #3 pool_get+0x91 sys/kern/subr_pool.c:572 #4 m_copyback+0x4d7 m_get sys/kern/uipc_mbuf.c:250 [inline] #4 m_copyback+0x4d7 sys/kern/uipc_mbuf.c:790 #5 rtm_msg1+0x1b2 sys/net/rtsock.c:1552 #6 rtm_send+0x120 rtm_miss sys/net/rtsock.c:1679 [inline] #6 rtm_send+0x120 sys/net/rtsock.c:1657 #7 rtdeletemsg+0x199 sys/net/route.c:682 #8 rt_ifa_purge+0x104 sys/net/route.c:1320 #9 in6_unlink_ifa+0x580 sys/netinet6/in6.c:948 #10 in6_purgeaddr+0x1d7 sys/netinet6/in6.c:929 #11 in6_ifdetach+0x74 sys/netinet6/in6_ifattach.c:422 #12 if_detach+0x148 sys/net/if.c:1152 #13 tun_clone_destroy+0x1f2 sys/net/if_tun.c:329 #14 tun_dev_close+0x160 sys/net/if_tun.c:480 #15 spec_close+0x311 sys/kern/spec_vnops.c:555 #16 VOP_CLOSE+0xc0 sys/kern/vfs_vops.c:174 #17 vn_closefile+0xd7 vn_close sys/kern/vfs_vnops.c:298 [inline] #17 vn_closefile+0xd7 sys/kern/vfs_vnops.c:614 #18 fdrop+0xc2 sys/kern/kern_descrip.c:1276 ddb{0}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 9493 6407K 6724K 78643K 10813 0 pcb 13 8K 8K 78643K 38 0 rtable 83 2K 3K 78643K 221 0 ifaddr 59 12K 13K 78643K 73 0 counters 43 33K 34K 78643K 45 0 ioctlops 0 0K 4K 78643K 1485 0 iov 0 0K 16K 78643K 25 0 mount 1 1K 1K 78643K 1 0 vnodes 1220 77K 77K 78643K 1289 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 8 0K 0K 78643K 20 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1824 197K 290K 78643K 13058 0 file desc 5 13K 25K 78643K 130 0 sigio 0 0K 0K 78643K 4 0 proc 60 63K 95K 78643K 453 0 subproc 23 1K 2K 78643K 38 0 NFS srvsock 1 0K 0K 78643K 1 0 NFS daemon 1 16K 16K 78643K 1 0 ip_moptions 0 0K 0K 78643K 14 0 in_multi 37 2K 2K 78643K 62 0 ether_multi 1 0K 0K 78643K 3 0 ISOFS mount 1 32K 32K 78643K 1 0 MSDOSFS mount 1 16K 16K 78643K 1 0 ttys 31 148K 148K 78643K 31 0 exec 0 0K 1K 78643K 215 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 114 22K 38K 78643K 1411 0 UVM aobj 4 2K 2K 78643K 4 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 12 0 NDP 9 0K 0K 78643K 15 0 temp 82 3040K 3104K 78643K 2721 0 kqueue 3 4K 8K 78643K 11 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 arp 64 6 0 2 1 0 1 1 0 8 0 plcache 128 20 0 0 1 0 1 1 0 8 0 rtpcb 80 23 0 21 1 0 1 1 0 8 0 rtentry 112 49 0 16 2 0 2 2 0 8 0 unpcb 120 67 0 57 1 0 1 1 0 8 0 syncache 264 6 0 6 2 1 1 1 0 8 1 tcpqe 32 378 0 378 2 1 1 1 0 8 1 tcpcb 544 54 0 49 1 0 1 1 0 8 0 inpcb 280 176 0 168 3 1 2 2 0 8 1 nd6 48 7 0 5 1 0 1 1 0 8 0 pfosfp 40 846 0 423 5 0 5 5 0 8 0 pfosfpen 112 1428 0 714 21 0 21 21 0 8 0 pfstitem 24 23 0 4 1 0 1 1 0 8 0 pfstkey 112 23 0 4 1 0 1 1 0 8 0 pfstate 328 23 0 4 2 0 2 2 0 8 0 pfrule 1360 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 212 0 40 13 0 13 13 0 8 0 art_table 32 213 0 40 2 0 2 2 0 8 0 art_node 16 48 0 10 1 0 1 1 0 8 0 semupl 112 2 0 1 2 1 1 1 0 8 0 semapl 112 10 0 4 1 0 1 1 0 8 0 shmpl 112 2 0 0 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 1575 0 174 89 1 88 89 0 8 0 ffsino 272 1575 0 174 94 0 94 94 0 8 0 nchpl 144 1936 0 350 60 0 60 60 0 8 0 uvmvnodes 72 1669 0 0 31 0 31 31 0 8 0 vnodes 208 1669 0 0 88 0 88 88 0 8 0 namei 1024 5141 0 5141 1 0 1 1 0 8 1 percpumem 16 33 0 1 1 0 1 1 0 8 0 scxspl 192 5478 0 5478 6 5 1 5 0 8 1 plimitpl 152 19 0 11 1 0 1 1 0 8 0 sigapl 424 346 0 314 4 0 4 4 0 8 0 futexpl 56 1935 0 1935 1 0 1 1 0 8 1 knotepl 112 69 0 56 1 0 1 1 0 8 0 kqueuepl 144 181 0 179 1 0 1 1 0 8 0 pipelkpl 48 89 0 82 1 0 1 1 0 8 0 pipepl 120 178 0 165 1 0 1 1 0 8 0 fdescpl 496 330 0 314 4 1 3 3 0 8 0 filepl 152 1868 0 1783 6 1 5 6 0 8 1 lockfpl 104 24 0 23 1 0 1 1 0 8 0 lockfspl 48 10 0 9 1 0 1 1 0 8 0 sessionpl 112 18 0 7 1 0 1 1 0 8 0 pgrppl 48 18 0 7 1 0 1 1 0 8 0 ucredpl 96 88 0 79 1 0 1 1 0 8 0 zombiepl 144 315 0 314 1 0 1 1 0 8 0 processpl 984 346 0 314 5 0 5 5 0 8 0 procpl 624 601 0 560 4 0 4 4 0 8 0 sosppl 128 2 0 2 1 0 1 1 0 8 1 sockpl 400 266 0 246 4 0 4 4 0 8 1 mcl64k 65536 6 0 0 1 0 1 1 0 8 0 mcl12k 12288 2 0 0 1 0 1 1 0 8 0 mcl9k 9216 1 0 0 1 0 1 1 0 8 0 mcl8k 8192 3 0 0 1 0 1 1 0 8 0 mcl4k 4096 3 0 0 1 0 1 1 0 8 0 mcl2k 2048 155 0 0 19 0 19 19 0 8 0 mtagpl 80 17 0 0 1 0 1 1 0 8 0 mbufpl 256 183 0 0 11 0 11 11 0 8 0 bufpl 280 3817 0 134 264 0 264 264 0 8 0 anonpl 16 187994 0 174049 89 1 88 88 0 124 15 amapchunkpl 152 2608 0 2466 21 5 16 21 0 158 9 amappl16 192 9645 0 8910 78 21 57 61 0 8 11 amappl15 184 2 0 1 2 1 1 1 0 8 0 amappl14 176 27 0 21 1 0 1 1 0 8 0 amappl13 168 25 0 24 1 0 1 1 0 8 0 amappl12 160 6 0 3 1 0 1 1 0 8 0 amappl11 152 154 0 137 1 0 1 1 0 8 0 amappl10 144 22 0 17 1 0 1 1 0 8 0 amappl9 136 386 0 385 1 0 1 1 0 8 0 amappl8 128 344 0 310 2 0 2 2 0 8 0 amappl7 120 118 0 106 1 0 1 1 0 8 0 amappl6 112 122 0 115 1 0 1 1 0 8 0 amappl5 104 131 0 116 1 0 1 1 0 8 0 amappl4 96 579 0 550 1 0 1 1 0 8 0 amappl3 88 103 0 98 1 0 1 1 0 8 0 amappl2 80 1687 0 1618 2 0 2 2 0 8 0 amappl1 72 17450 0 17000 24 14 10 18 0 8 0 amappl 80 897 0 848 2 0 2 2 0 84 0 dma4096 4096 1 0 1 1 1 0 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 3 0 0 1 0 1 1 0 8 0 uaddrrnd 24 330 0 314 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 330 0 314 1 0 1 1 0 8 0 vmmpekpl 168 6662 0 6631 2 0 2 2 0 8 0 vmmpepl 168 55171 0 53268 113 5 108 108 0 357 13 vmsppl 368 329 0 314 2 0 2 2 0 8 0 pdppl 4096 668 0 628 7 1 6 6 0 8 0 pvpl 32 322494 0 305068 220 1 219 219 0 265 44 pmappl 232 329 0 314 2 1 1 2 0 8 0 extentpl 40 53 0 36 1 0 1 1 0 8 0 phpool 112 256 0 5 8 0 8 8 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:398 panic(ffffffff8220ca90) at panic+0x15c sys/kern/subr_prf.c:207 witness_checkorder(fffffd807f0002f8,1,0) at witness_checkorder+0x10e0 sys/kern/subr_witness.c:821 rw_enter_read(fffffd807f0002e8) at rw_enter_read+0x66 sys/kern/kern_rwlock.c:111 uvmfault_lookup(ffff800023fa6d18,0) at uvmfault_lookup+0xd9 sys/uvm/uvm_fault.c:1448 uvm_fault(fffffd807f0002e0,2e2e02040000,0,2) at uvm_fault+0x7f sys/uvm/uvm_fault.c:524 pageflttrap(ffff800023fa6eb0,0) at pageflttrap+0x1b8 sys/arch/amd64/amd64/trap.c:221 kerntrap(ffff800023fa6eb0) at kerntrap+0xec sys/arch/amd64/amd64/trap.c:302 alltraps_kern_meltdown() at alltraps_kern_meltdown+0x7b pool_cache_get(ffffffff826636d0) at pool_cache_get+0x10d pool_cache_list_alloc sys/kern/subr_pool.c:1809 [inline] pool_cache_get(ffffffff826636d0) at pool_cache_get+0x10d sys/kern/subr_pool.c:1879 pool_get(ffffffff826636d0,2) at pool_get+0x91 sys/kern/subr_pool.c:572 m_copyback(fffffd807b858d00,80,20,ffff8000009d5b20,2) at m_copyback+0x4d7 m_get sys/kern/uipc_mbuf.c:250 [inline] m_copyback(fffffd807b858d00,80,20,ffff8000009d5b20,2) at m_copyback+0x4d7 sys/kern/uipc_mbuf.c:790 rtm_msg1(2,ffff800023fa7220) at rtm_msg1+0x1b2 sys/net/rtsock.c:1552 rtm_send(fffffd80655cbe08,2,0,0) at rtm_send+0x120 rtm_miss sys/net/rtsock.c:1679 [inline] rtm_send(fffffd80655cbe08,2,0,0) at rtm_send+0x120 sys/net/rtsock.c:1657 rtdeletemsg(fffffd80655cbe08,ffff800000a24800,0) at rtdeletemsg+0x199 sys/net/route.c:682 rt_ifa_purge(ffff800000a0d500) at rt_ifa_purge+0x104 sys/net/route.c:1320 in6_unlink_ifa(ffff800000a0d500,ffff800000a24800) at in6_unlink_ifa+0x580 sys/netinet6/in6.c:948 in6_purgeaddr(ffff800000a0d500) at in6_purgeaddr+0x1d7 sys/netinet6/in6.c:929 in6_ifdetach(ffff800000a24800) at in6_ifdetach+0x74 sys/netinet6/in6_ifattach.c:422 if_detach(ffff800000a24800) at if_detach+0x148 sys/net/if.c:1152 tun_clone_destroy(ffff800000a24800) at tun_clone_destroy+0x1f2 sys/net/if_tun.c:329 tun_dev_close(5d01,7) at tun_dev_close+0x160 sys/net/if_tun.c:480 spec_close(ffff800023fa7790) at spec_close+0x311 sys/kern/spec_vnops.c:555 VOP_CLOSE(fffffd806e2eb0d8,7,fffffd807f7bf960,ffff800020ed6288) at VOP_CLOSE+0xc0 sys/kern/vfs_vops.c:174 vn_closefile(fffffd80681f6c90,ffff800020ed6288) at vn_closefile+0xd7 vn_close sys/kern/vfs_vnops.c:298 [inline] vn_closefile(fffffd80681f6c90,ffff800020ed6288) at vn_closefile+0xd7 sys/kern/vfs_vnops.c:614 fdrop(fffffd80681f6c90,ffff800020ed6288) at fdrop+0xc2 sys/kern/kern_descrip.c:1276 closef(fffffd80681f6c90,ffff800020ed6288) at closef+0x11c sys/kern/kern_descrip.c:1260 fdfree(ffff800020ed6288) at fdfree+0x101 sys/kern/kern_descrip.c:1192 exit1(ffff800020ed6288,0,0,1) at exit1+0x32c sys/kern/kern_exit.c:197 sys_exit(ffff800020ed6288,ffff800023fa7a20,ffff800023fa7a70) at sys_exit+0x16 sys/kern/kern_exit.c:95 syscall(ffff800023fa7af0) at syscall+0x4a4 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff800023fa7af0) at syscall+0x4a4 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffefdf0, count: -32 ddb{0}> machine ddbcpu 1 Stopped at x86_ipi_db+0x1a: addq $0x8,%rsp x86_ipi_db(ffff800020e00ff0) at x86_ipi_db+0x1a sys/arch/amd64/amd64/db_interface.c:352 x86_ipi_handler() at x86_ipi_handler+0xc6 sys/arch/amd64/amd64/ipi.c:106 Xresume_lapic_ipi() at Xresume_lapic_ipi+0x23 __mp_lock(ffffffff8265c780) at __mp_lock+0x127 __mp_lock_spin sys/kern/kern_lock.c:116 [inline] __mp_lock(ffffffff8265c780) at __mp_lock+0x127 sys/kern/kern_lock.c:147 end trace frame: 0x0, count: 11 ddb{1}> trace x86_ipi_db(ffff800020e00ff0) at x86_ipi_db+0x1a sys/arch/amd64/amd64/db_interface.c:352 x86_ipi_handler() at x86_ipi_handler+0xc6 sys/arch/amd64/amd64/ipi.c:106 Xresume_lapic_ipi() at Xresume_lapic_ipi+0x23 __mp_lock(ffffffff8265c780) at __mp_lock+0x127 __mp_lock_spin sys/kern/kern_lock.c:116 [inline] __mp_lock(ffffffff8265c780) at __mp_lock+0x127 sys/kern/kern_lock.c:147 end trace frame: 0x0, count: -4