panic: broken type ref goroutine 42 [running]: github.com/google/syzkaller/prog.ArgCommon.Type(...) /syzkaller/gopath/src/github.com/google/syzkaller/prog/prog.go:39 github.com/google/syzkaller/prog.(*ConstArg).Size(0xc0032ddaf0, 0xc0032ddaf0) /syzkaller/gopath/src/github.com/google/syzkaller/prog/prog.go:59 +0xed github.com/google/syzkaller/prog.foreachArgImpl(0x9b2c80, 0xc0033c82a0, 0xc0033c3f40, 0xc000a0d320) /syzkaller/gopath/src/github.com/google/syzkaller/prog/analysis.go:142 +0x2ba github.com/google/syzkaller/prog.foreachArgImpl(0x9b2c80, 0xc0033c8280, 0xc0033c3f40, 0xc000a0d320) /syzkaller/gopath/src/github.com/google/syzkaller/prog/analysis.go:141 +0x2a3 github.com/google/syzkaller/prog.foreachArgImpl(0x9b2c80, 0xc0033c81e0, 0xc0033c3f40, 0xc000a0d320) /syzkaller/gopath/src/github.com/google/syzkaller/prog/analysis.go:141 +0x2a3 github.com/google/syzkaller/prog.foreachArgImpl(0x9b2c80, 0xc0033c81a0, 0xc0033c3f40, 0xc000a0d320) /syzkaller/gopath/src/github.com/google/syzkaller/prog/analysis.go:141 +0x2a3 github.com/google/syzkaller/prog.foreachArgImpl(0x9b2cc0, 0xc0033c7a70, 0xc0033c3f40, 0xc000a0d320) /syzkaller/gopath/src/github.com/google/syzkaller/prog/analysis.go:156 +0x5e5 github.com/google/syzkaller/prog.foreachArgImpl(0x9b2c80, 0xc0033c8180, 0xc0033c3f40, 0xc000a0d320) /syzkaller/gopath/src/github.com/google/syzkaller/prog/analysis.go:141 +0x2a3 github.com/google/syzkaller/prog.foreachArgImpl(0x9b2cc0, 0xc0033c7a40, 0xc0033c3f40, 0xc000a0d320) /syzkaller/gopath/src/github.com/google/syzkaller/prog/analysis.go:156 +0x5e5 github.com/google/syzkaller/prog.ForeachArg(0xc0033c3a00, 0xc000a0d320) /syzkaller/gopath/src/github.com/google/syzkaller/prog/analysis.go:122 +0xdd github.com/google/syzkaller/prog.getCompatibleResources(0xc0033c3440, 0x900149, 0xb, 0xc002c795a0, 0x0, 0x0, 0x0) /syzkaller/gopath/src/github.com/google/syzkaller/prog/rand.go:892 +0xb9 github.com/google/syzkaller/prog.(*randGen).resourceCentric(0xc002c795a0, 0xc0025745f0, 0xcac6a0, 0x0, 0x41424344, 0xc0025b5650, 0xc00254b680, 0xc000a0d528, 0x792d89) /syzkaller/gopath/src/github.com/google/syzkaller/prog/rand.go:840 +0xfe github.com/google/syzkaller/prog.(*ResourceType).generate(0xcac6a0, 0xc002c795a0, 0xc0025745f0, 0x0, 0x9b2d00, 0xc0025b5650, 0x0, 0x0, 0x0) /syzkaller/gopath/src/github.com/google/syzkaller/prog/rand.go:669 +0x27c github.com/google/syzkaller/prog.(*randGen).generateArgImpl(0xc002c795a0, 0xc0025745f0, 0x9b8fa0, 0xcac6a0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /syzkaller/gopath/src/github.com/google/syzkaller/prog/rand.go:658 +0x450 github.com/google/syzkaller/prog.(*randGen).generateArg(...) /syzkaller/gopath/src/github.com/google/syzkaller/prog/rand.go:608 github.com/google/syzkaller/prog.(*randGen).generateArgs(0xc002c795a0, 0xc0025745f0, 0xd402e0, 0xc, 0xc, 0xaaaaaaaaaaaaaa00, 0x38, 0x8, 0x2, 0x2, ...) /syzkaller/gopath/src/github.com/google/syzkaller/prog/rand.go:596 +0x116 github.com/google/syzkaller/prog.(*StructType).generate(0xcb6c60, 0xc002c795a0, 0xc0025745f0, 0x0, 0xd79600, 0xc002c794a8, 0x9b9060, 0x20, 0x20) /syzkaller/gopath/src/github.com/google/syzkaller/prog/rand.go:780 +0x7c github.com/google/syzkaller/prog.(*randGen).generateArgImpl(0xc002c795a0, 0xc0025745f0, 0x9b9060, 0xcb6c60, 0x420000, 0x0, 0x0, 0x0, 0x0, 0x0) /syzkaller/gopath/src/github.com/google/syzkaller/prog/rand.go:658 +0x450 github.com/google/syzkaller/prog.(*randGen).generateArg(...) /syzkaller/gopath/src/github.com/google/syzkaller/prog/rand.go:608 github.com/google/syzkaller/prog.(*randGen).generateArgs(0xc002c795a0, 0xc0025745f0, 0xcb6e20, 0x2, 0x2, 0x0, 0x0, 0x0, 0x0, 0x0, ...) /syzkaller/gopath/src/github.com/google/syzkaller/prog/rand.go:596 +0x116 github.com/google/syzkaller/prog.(*StructType).generate(0xcb6de0, 0xc002c795a0, 0xc0025745f0, 0x0, 0xd79600, 0x0, 0x0, 0x0, 0x0) /syzkaller/gopath/src/github.com/google/syzkaller/prog/rand.go:780 +0x7c github.com/google/syzkaller/prog.(*randGen).generateArgImpl(0xc002c795a0, 0xc0025745f0, 0x9b9060, 0xcb6de0, 0xd70000, 0x0, 0x0, 0x0, 0x0, 0x0) /syzkaller/gopath/src/github.com/google/syzkaller/prog/rand.go:658 +0x450 github.com/google/syzkaller/prog.(*randGen).generateArg(...) /syzkaller/gopath/src/github.com/google/syzkaller/prog/rand.go:608 github.com/google/syzkaller/prog.(*UnionType).mutate(0xcaf9e0, 0xc002c795a0, 0xc0025745f0, 0x9b2d40, 0xc002c79420, 0xc002c79308, 0xcb5c60, 0x2, 0x2, 0xc0025b4390, ...) /syzkaller/gopath/src/github.com/google/syzkaller/prog/mutation.go:457 +0x178 github.com/google/syzkaller/prog.(*Target).mutateArg(0xc0000d36c0, 0xc002c795a0, 0xc0025745f0, 0x9b2d40, 0xc002c79420, 0xc002c79308, 0xcb5c60, 0x2, 0x2, 0xc0025b4390, ...) /syzkaller/gopath/src/github.com/google/syzkaller/prog/mutation.go:229 +0xe3 github.com/google/syzkaller/prog.(*mutator).mutateArg(0xc000a0dec0, 0xa) /syzkaller/gopath/src/github.com/google/syzkaller/prog/mutation.go:182 +0x288 github.com/google/syzkaller/prog.(*Prog).Mutate(0xc0025c0980, 0x9ac300, 0xc002be6c30, 0x14, 0xc002d43b40, 0xc002636000, 0x2728, 0x3000) /syzkaller/gopath/src/github.com/google/syzkaller/prog/mutation.go:47 +0x32c main.(*Proc).loop(0xc002aed500) /syzkaller/gopath/src/github.com/google/syzkaller/syz-fuzzer/proc.go:95 +0x434 created by main.main /syzkaller/gopath/src/github.com/google/syzkaller/syz-fuzzer/fuzzer.go:260 +0x1188 OpenBSD/amd64 (ci-openbsd-multicore-5.c.syzkalkernel: protection fault trap, code=0 Stopped at in_delmulti+0x8d: movl 0xc(%r14),%r15d ddb{1}> set $lines = 0 ddb{1}> set $maxwidth = 0 ddb{1}> show panic the kernel did not panic ddb{1}> trace in_delmulti(d7fffffffdffffff) at in_delmulti+0x8d sys/netinet/in.c:914 in_purgeaddr(ffff800000b11000) at in_purgeaddr+0x156 sys/netinet/in.c:760 in_ifdetach(ffff800000b5c800) at in_ifdetach+0x74 sys/netinet/in.c:971 if_detach(ffff800000b5c800) at if_detach+0x140 sys/net/if.c:1148 tun_clone_destroy(ffff800000b5c800) at tun_clone_destroy+0x1f2 sys/net/if_tun.c:329 tun_dev_close(5d00,7) at tun_dev_close+0x160 sys/net/if_tun.c:480 spec_close(ffff800023f313a0) at spec_close+0x311 sys/kern/spec_vnops.c:560 VOP_CLOSE(fffffd806e6dd348,7,fffffd807f7bfa20,ffff800020e09878) at VOP_CLOSE+0xc0 sys/kern/vfs_vops.c:174 vn_closefile(fffffd80667c3740,ffff800020e09878) at vn_closefile+0xd7 vn_close sys/kern/vfs_vnops.c:298 [inline] vn_closefile(fffffd80667c3740,ffff800020e09878) at vn_closefile+0xd7 sys/kern/vfs_vnops.c:614 fdrop(fffffd80667c3740,ffff800020e09878) at fdrop+0xc2 sys/kern/kern_descrip.c:1279 closef(fffffd80667c3740,ffff800020e09878) at closef+0x11c sys/kern/kern_descrip.c:1263 fdfree(ffff800020e09878) at fdfree+0x101 sys/kern/kern_descrip.c:1195 exit1(ffff800020e09878,0,d,1) at exit1+0x32c sys/kern/kern_exit.c:197 postsig(ffff800020e09878,d) at postsig+0x4ed sigexit sys/kern/kern_sig.c:1483 [inline] postsig(ffff800020e09878,d) at postsig+0x4ed sys/kern/kern_sig.c:1415 userret(ffff800020e09878) at userret+0x199 sys/kern/kern_sig.c:1872 syscall(ffff800023f31820) at syscall+0x55f mi_syscall_return sys/sys/syscall_mi.h:129 [inline] syscall(ffff800023f31820) at syscall+0x55f sys/arch/amd64/amd64/trap.c:592 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffe1340, count: -17 ddb{1}> show registers rdi 0x2 rsi 0 rbp 0xffff800023f31170 rbx 0 rdx 0xffff800020e09878 rcx 0 rax 0 r8 0xffffffff81cb7c83 rt_ifa_purge+0x153 r9 0x5 r10 0x3 r11 0x8f64ef03a455e371 r12 0 r13 0x3 r14 0xd7fffffffdffffff r15 0x1 rip 0xffffffff811c24ed in_delmulti+0x8d cs 0x8 rflags 0x10246 __ALIGN_SIZE+0xf246 rsp 0xffff800023f31110 ss 0x10 in_delmulti+0x8d: movl 0xc(%r14),%r15d ddb{1}> show proc PROC (syz-executor.0) pid=454737 stat=onproc flags process=a proc=2000 pri=32, usrpri=77, nice=20 forw=0xffffffffffffffff, list=0xffff800020e084f8,0xffffffff8289a920 process=0xffff800020e22bb0 user=0xffff800023f2c000, vmspace=0xfffffd806e8fe8a8 estcpu=27, cpticks=0, pctcpu=0.22 user=0, sys=0, intr=0 ddb{1}> ps PID TID PPID UID S FLAGS WAIT COMMAND 57382 367560 0 0 3 0x14200 acct acct 94717 403648 0 0 3 0x14200 bored sosplice 21713 430605 44345 0 7 0x12 sshd 23136 387341 1 0 3 0x100083 ttyin getty 44345 258337 1 0 3 0x80 select sshd 21270 78862 87036 74 3 0x100092 bpf pflogd 87036 49990 1 0 3 0x80 netio pflogd 28966 156565 78068 73 3 0x100090 kqread syslogd 78068 303591 1 0 3 0x100082 netio syslogd 19284 510977 1 77 2 0x100090 dhclient 77450 213706 1 0 3 0x80 poll dhclient 7411 429051 0 0 3 0x14200 bored smr 50451 166763 0 0 2 0x14200 zerothread 3608 413070 0 0 3 0x14200 aiodoned aiodoned 15849 112241 0 0 3 0x14200 syncer update 7276 400181 0 0 3 0x14200 cleaner cleaner 59785 292355 0 0 3 0x14200 reaper reaper 90965 414749 0 0 3 0x14200 pgdaemon pagedaemon 96408 495312 0 0 3 0x14200 bored crynlk 7741 514857 0 0 3 0x14200 bored crypto 93201 320798 0 0 3 0x40014200 acpi0 acpi0 9830 18997 0 0 3 0x40014200 idle1 29616 36643 0 0 3 0x14200 bored softnet 19550 337356 0 0 2 0x14200 systqmp 9245 291869 0 0 3 0x14200 bored systq 62655 91364 0 0 3 0x40014200 bored softclock 20288 301147 0 0 3 0x40014200 idle0 1 504653 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{1}> show all locks ddb{1}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 9554 6438K 7452K 78643K 13076 0 pcb 13 8K 8K 78643K 129 0 rtable 106 6K 9K 78643K 532 0 ifaddr 106 19K 21K 78643K 238 0 sysctl 2 0K 0K 78643K 2 0 counters 43 33K 34K 78643K 67 0 ioctlops 0 0K 4K 78643K 1564 0 iov 0 0K 16K 78643K 93 0 mount 1 1K 1K 78643K 1 0 vnodes 1232 77K 78K 78643K 1837 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 5K 78643K 10 0 VM map 2 1K 1K 78643K 2 0 sem 12 0K 0K 78643K 87 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1824 197K 290K 78643K 13058 0 file desc 3 8K 25K 78643K 634 0 sigio 0 0K 0K 78643K 53 0 proc 61 63K 95K 78643K 565 0 subproc 14 0K 2K 78643K 51 0 NFS srvsock 1 0K 0K 78643K 1 0 NFS daemon 1 16K 16K 78643K 1 0 ip_moptions 0 0K 0K 78643K 45 0 in_multi 87 4K 4K 78643K 151 0 ether_multi 1 0K 0K 78643K 19 0 mrt 0 0K 0K 78643K 2 0 ISOFS mount 1 32K 32K 78643K 1 0 MSDOSFS mount 1 16K 16K 78643K 1 0 ttys 49 228K 228K 78643K 49 0 exec 0 0K 1K 78643K 283 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 72 68K 72K 78643K 3018 0 UVM aobj 27 2K 2K 78643K 27 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 97 0 NDP 17 0K 0K 78643K 35 0 temp 145 3861K 3925K 78643K 9256 0 kqueue 2 2K 14K 78643K 42 0 SYN cache 2 16K 16K 78643K 2 0 ddb{1}> show all pools Name Size Requests Fail Releases Pgreq Pgrel Npage Hiwat Minpg Maxpg Idle arp 64 19 0 9 1 0 1 1 0 8 0 plcache 128 20 0 0 1 0 1 1 0 8 0 rtpcb 80 51 0 49 1 0 1 1 0 8 0 rtentry 112 78 0 42 2 0 2 2 0 8 0 unpcb 120 403 0 393 1 0 1 1 0 8 0 syncache 264 8 0 8 3 2 1 1 0 8 1 tcpqe 32 353 0 353 1 1 0 1 0 8 0 tcpcb 544 222 0 219 3 2 1 2 0 8 0 inpcb 280 666 0 660 5 3 2 2 0 8 1 rttmr 72 1 0 1 1 1 0 1 0 8 0 nd6 48 10 0 6 1 0 1 1 0 8 0 ppxss 1128 2 0 2 2 2 0 1 0 8 0 pfstscr 40 4 0 4 1 0 1 1 0 8 1 pffrent 40 1 0 1 1 1 0 1 0 8 0 pfosfp 40 847 0 423 5 0 5 5 0 8 0 pfosfpen 112 1429 0 714 21 0 21 21 0 8 0 pfrktable 1344 55 0 50 1 0 1 1 0 8 0 pftag 88 6 0 6 2 1 1 1 0 8 1 pfstitem 24 13 0 7 1 0 1 1 0 8 0 pfstkey 112 15 0 9 1 0 1 1 0 8 0 pfstate 328 13 0 7 1 0 1 1 0 8 0 pfrule 1360 37 0 26 4 2 2 2 0 8 1 art_heap8 4096 2 0 0 2 0 2 2 0 8 0 art_heap4 256 370 0 161 16 2 14 14 0 8 0 art_table 32 372 0 161 2 0 2 2 0 8 0 art_node 16 77 0 42 1 0 1 1 0 8 0 sysvmsgpl 40 47 0 7 1 0 1 1 0 8 0 semupl 112 2 0 2 1 1 0 1 0 8 0 semapl 112 85 0 75 1 0 1 1 0 8 0 shmpl 112 25 0 0 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 2266 0 857 89 0 89 89 0 8 0 ffsino 272 2266 0 857 96 1 95 95 0 8 0 nchpl 144 3551 0 1969 60 0 60 60 0 8 0 uvmvnodes 72 2840 0 0 52 0 52 52 0 8 0 vnodes 208 2840 0 0 150 0 150 150 0 8 0 namei 1024 9975 0 9975 3 2 1 1 0 8 1 percpumem 16 44 0 12 1 0 1 1 0 8 0 vcpupl 1984 6 0 0 1 0 1 1 0 8 0 vmpool 560 8 0 2 1 0 1 1 0 8 0 pfiaddrpl 120 17 0 14 1 0 1 1 0 8 0 scxspl 192 10320 0 10320 10 9 1 5 0 8 1 plimitpl 152 49 0 41 1 0 1 1 0 8 0 sigapl 424 848 0 818 4 0 4 4 0 8 0 futexpl 56 9825 0 9825 2 1 1 1 0 8 1 knotepl 112 148 0 143 2 0 2 2 0 8 1 kqueuepl 144 127 0 125 1 0 1 1 0 8 0 pipepl 304 203 0 198 3 2 1 2 0 8 0 fdescpl 496 831 0 818 3 0 3 3 0 8 0 filepl 152 5319 0 5256 9 3 6 6 0 8 2 lockfpl 104 149 0 148 1 0 1 1 0 8 0 lockfspl 48 49 0 48 1 0 1 1 0 8 0 sessionpl 112 19 0 8 1 0 1 1 0 8 0 pgrppl 48 23 0 12 1 0 1 1 0 8 0 ucredpl 96 400 0 389 1 0 1 1 0 8 0 zombiepl 144 820 0 817 2 1 1 1 0 8 0 processpl 984 848 0 817 6 1 5 5 0 8 0 procpl 624 2155 0 2124 4 0 4 4 0 8 0 sosppl 128 10 0 10 2 2 0 1 0 8 0 sockpl 400 1123 0 1105 11 6 5 5 0 8 3 mcl64k 65536 11 0 0 2 0 2 2 0 8 0 mcl16k 16384 1 0 0 1 0 1 1 0 8 0 mcl12k 12288 11 0 0 2 0 2 2 0 8 0 mcl9k 9216 3 0 0 1 0 1 1 0 8 0 mcl8k 8192 5 0 0 1 0 1 1 0 8 0 mcl4k 4096 9 0 0 2 0 2 2 0 8 0 mcl2k2 2112 1 0 0 1 0 1 1 0 8 0 mcl2k 2048 232 0 0 28 0 28 28 0 8 0 mtagpl 80 286 0 0 6 0 6 6 0 8 0 mbufpl 256 725 0 0 46 1 45 45 0 8 0 bufpl 280 4851 0 135 337 0 337 337 0 8 0 anonpl 16 92417 0 91163 85 16 69 83 0 124 46 amapchunkpl 152 6136 0 6098 26 19 7 21 0 158 4 amappl16 192 3771 0 3752 58 13 45 56 0 8 37 amappl15 184 125 0 124 1 0 1 1 0 8 0 amappl14 176 183 0 179 1 0 1 1 0 8 0 amappl13 168 338 0 335 1 0 1 1 0 8 0 amappl12 160 166 0 165 1 0 1 1 0 8 0 amappl11 152 61 0 46 1 0 1 1 0 8 0 amappl10 144 31 0 28 1 0 1 1 0 8 0 amappl9 136 377 0 375 1 0 1 1 0 8 0 amappl8 128 409 0 407 2 0 2 2 0 8 1 amappl7 120 126 0 118 1 0 1 1 0 8 0 amappl6 112 25 0 25 1 0 1 1 0 8 1 amappl5 104 756 0 740 1 0 1 1 0 8 0 amappl4 96 802 0 779 1 0 1 1 0 8 0 amappl3 88 138 0 132 1 0 1 1 0 8 0 amappl2 80 5930 0 5874 2 0 2 2 0 8 0 amappl1 72 27536 0 27149 23 13 10 18 0 8 0 amappl 80 2437 0 2411 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 26 0 0 1 0 1 1 0 8 0 uaddrrnd 24 839 0 820 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 839 0 820 1 0 1 1 0 8 0 vmmpekpl 168 10261 0 10228 2 0 2 2 0 8 0 vmmpepl 168 107641 0 106737 146 49 97 124 0 357 39 vmsppl 368 838 0 820 3 0 3 3 0 8 1 pdppl 4096 1685 0 1646 8 1 7 7 0 8 1 pvpl 32 279041 0 276028 204 36 168 196 0 265 110 pmappl 232 838 0 820 2 0 2 2 0 8 0 extentpl 40 53 0 36 1 0 1 1 0 8 0 phpool 112 324 0 19 9 0 9 9 0 8 0 ddb{1}> machine ddbcpu 0 Stopped at x86_ipi_db+0x1a: addq $0x8,%rsp ddb{0}> trace x86_ipi_db(ffffffff826f6ff0) 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 __sanitizer_cov_trace_cmp4(ffffffff82897478,ffffffff82897478) at __sanitizer_cov_trace_cmp4+0xb sys/dev/kcov.c:134 intr_handler(ffff800020e63b30,ffff80000065ad80) at intr_handler+0x5e sys/arch/amd64/amd64/intr.c:532 Xintr_ioapic_edge4_untramp() at Xintr_ioapic_edge4_untramp+0x19f __mp_lock(ffffffff82897478) at __mp_lock+0x127 __mp_lock_spin sys/kern/kern_lock.c:116 [inline] __mp_lock(ffffffff82897478) at __mp_lock+0x127 sys/kern/kern_lock.c:147 userret(ffff800020e41d50) at userret+0xed sys/kern/kern_sig.c:1872 syscall(ffff800020e63d50) at syscall+0x55f mi_syscall_return sys/sys/syscall_mi.h:129 [inline] syscall(ffff800020e63d50) at syscall+0x55f sys/arch/amd64/amd64/trap.c:592 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffc8d00, count: -10 ddb{0}> machine ddbcpu 1 Stopped at in_delmulti+0x8d: movl 0xc(%r14),%r15d ddb{1}> trace in_delmulti(d7fffffffdffffff) at in_delmulti+0x8d sys/netinet/in.c:914 in_purgeaddr(ffff800000b11000) at in_purgeaddr+0x156 sys/netinet/in.c:760 in_ifdetach(ffff800000b5c800) at in_ifdetach+0x74 sys/netinet/in.c:971 if_detach(ffff800000b5c800) at if_detach+0x140 sys/net/if.c:1148 tun_clone_destroy(ffff800000b5c800) at tun_clone_destroy+0x1f2 sys/net/if_tun.c:329 tun_dev_close(5d00,7) at tun_dev_close+0x160 sys/net/if_tun.c:480 spec_close(ffff800023f313a0) at spec_close+0x311 sys/kern/spec_vnops.c:560 VOP_CLOSE(fffffd806e6dd348,7,fffffd807f7bfa20,ffff800020e09878) at VOP_CLOSE+0xc0 sys/kern/vfs_vops.c:174 vn_closefile(fffffd80667c3740,ffff800020e09878) at vn_closefile+0xd7 vn_close sys/kern/vfs_vnops.c:298 [inline] vn_closefile(fffffd80667c3740,ffff800020e09878) at vn_closefile+0xd7 sys/kern/vfs_vnops.c:614 fdrop(fffffd80667c3740,ffff800020e09878) at fdrop+0xc2 sys/kern/kern_descrip.c:1279 closef(fffffd80667c3740,ffff800020e09878) at closef+0x11c sys/kern/kern_descrip.c:1263 fdfree(ffff800020e09878) at fdfree+0x101 sys/kern/kern_descrip.c:1195 exit1(ffff800020e09878,0,d,1) at exit1+0x32c sys/kern/kern_exit.c:197 postsig(ffff800020e09878,d) at postsig+0x4ed sigexit sys/kern/kern_sig.c:1483 [inline] postsig(ffff800020e09878,d) at postsig+0x4ed sys/kern/kern_sig.c:1415 userret(ffff800020e09878) at userret+0x199 sys/kern/kern_sig.c:1872 syscall(ffff800023f31820) at syscall+0x55f mi_syscall_return sys/sys/syscall_mi.h:129 [inline] syscall(ffff800023f31820) at syscall+0x55f sys/arch/amd64/amd64/trap.c:592 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffe1340, count: -17