panic: kernel diagnostic assertion "ifp != NULL" failed: file "/syzkaller/managers/multicore/kernel/sys/netinet/if_ether.c", line 776 Stopped at db_enter+0x18: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND *486362 34975 0 0x14000 0x40000200 0K softclock db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:437 panic(ffffffff825acedf) at panic+0x177 sys/kern/subr_prf.c:198 __assert(ffffffff82621fd6,ffffffff82621853,308,ffffffff8257ad23) at __assert+0x25 sys/kern/subr_prf.c:157 arptfree(fffffd806f1dc9a0) at arptfree+0x12e sys/netinet/if_ether.c:776 arptimer(ffffffff82bb26b8) at arptimer+0x88 sys/netinet/if_ether.c:135 timeout_run(ffffffff82bb26b8) at timeout_run+0xcc sys/kern/kern_timeout.c:641 softclock_thread(ffff8000211e8fc0) at softclock_thread+0x134 sys/kern/kern_timeout.c:765 end trace frame: 0x0, count: 8 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 "ifp != NULL" failed: file "/syzkaller/managers/multicore/kernel/sys/netinet/if_ether.c", line 776 ddb{0}> trace db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:437 panic(ffffffff825acedf) at panic+0x177 sys/kern/subr_prf.c:198 __assert(ffffffff82621fd6,ffffffff82621853,308,ffffffff8257ad23) at __assert+0x25 sys/kern/subr_prf.c:157 arptfree(fffffd806f1dc9a0) at arptfree+0x12e sys/netinet/if_ether.c:776 arptimer(ffffffff82bb26b8) at arptimer+0x88 sys/netinet/if_ether.c:135 timeout_run(ffffffff82bb26b8) at timeout_run+0xcc sys/kern/kern_timeout.c:641 softclock_thread(ffff8000211e8fc0) at softclock_thread+0x134 sys/kern/kern_timeout.c:765 end trace frame: 0x0, count: -7 ddb{0}> show registers rdi 0 rsi 0x1 rbp 0xffff8000211f5240 rbx 0xffffffff829e1b8f cpu_info_full_primary+0x2b8f rdx 0 rcx 0 rax 0xffff8000211e8fc0 r8 0x101010101010101 r9 0x8080808080808080 r10 0x7ad7d50655dca2f0 r11 0xd938196ea29a8e78 r12 0xffffffff829e1990 cpu_info_full_primary+0x2990 r13 0 r14 0 r15 0x1 rip 0xffffffff81343498 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff8000211f5230 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb{0}> show proc PROC (softclock) pid=486362 stat=onproc flags process=14000 proc=40000200 pri=50, usrpri=50, nice=20 forw=0xffffffffffffffff, list=0xffff8000211e9260,0xffff8000211e8d30 process=0xffff8000ffffe180 user=0xffff8000211f0000, vmspace=0xffffffff82ad75e8 estcpu=0, cpticks=1, pctcpu=0.0 user=0, sys=1, intr=0 ddb{0}> ps PID TID PPID UID S FLAGS WAIT COMMAND 28377 263390 61827 0 2 0 syz-executor.2 28377 440472 61827 0 2 0x4000000 syz-executor.2 46653 356662 50802 0 2 0 syz-executor.1 18497 94615 64539 0 2 0 syz-executor.3 18497 360841 64539 0 3 0x4000080 fsleep syz-executor.3 61368 363035 18717 0 2 0 syz-executor.5 61368 467451 18717 0 2 0x4000000 syz-executor.5 61368 468530 18717 0 3 0x4000080 fsleep syz-executor.5 95086 78986 89324 0 2 0 syz-executor.6 95086 256601 89324 0 3 0x4000080 fsleep syz-executor.6 50802 257568 10200 0 2 0x482 syz-executor.1 89324 75853 10200 0 2 0x482 syz-executor.6 18717 462505 10200 0 2 0x482 syz-executor.5 90908 243229 10200 0 2 0x2 syz-executor.4 64539 364767 10200 0 2 0x482 syz-executor.3 61827 320890 10200 0 2 0x482 syz-executor.2 26301 20217 0 0 3 0x14200 bored sosplice 62829 233400 0 0 3 0x14200 acct acct 57563 235368 10200 0 2 0x2 syz-executor.7 10200 84458 57543 0 3 0x82 wait syz-fuzzer 10200 251018 57543 0 3 0x4000082 nanoslp syz-fuzzer 10200 89458 57543 0 2 0x4000002 syz-fuzzer 10200 425525 57543 0 3 0x4000082 thrsleep syz-fuzzer 10200 332146 57543 0 3 0x4000082 wait syz-fuzzer 10200 283282 57543 0 2 0x4000002 syz-fuzzer 10200 129657 57543 0 3 0x4000082 thrsleep syz-fuzzer 10200 302312 57543 0 3 0x4000082 wait syz-fuzzer 10200 154001 57543 0 3 0x4000082 thrsleep syz-fuzzer 10200 368772 57543 0 3 0x4000082 thrsleep syz-fuzzer 10200 109703 57543 0 3 0x4000082 wait syz-fuzzer 10200 513407 57543 0 3 0x4000082 wait syz-fuzzer 10200 404809 57543 0 2 0x4000002 syz-fuzzer 10200 199020 57543 0 3 0x4000082 wait syz-fuzzer 10200 47414 57543 0 3 0x4000082 wait syz-fuzzer 10200 24796 57543 0 3 0x4000082 thrsleep syz-fuzzer 57543 85326 70659 0 3 0x10008a sigsusp ksh 70659 173097 5551 0 3 0x9a kqread sshd 12784 129790 1 0 3 0x100083 ttyin getty 5551 122160 1 0 3 0x88 kqread sshd 60123 102123 48508 74 3 0x1100092 bpf pflogd 48508 120832 1 0 3 0x80 netio pflogd 61278 256167 5903 73 3 0x1100090 kqread syslogd 5903 133945 1 0 3 0x100082 netio syslogd 29128 147699 1 0 3 0x100080 kqread resolvd 39389 103531 83987 77 3 0x100092 kqread dhcpleased 37533 125823 83987 77 3 0x100092 kqread dhcpleased 83987 386268 1 0 3 0x80 kqread dhcpleased 77677 101923 0 0 3 0x14200 bored smr 95924 205202 0 0 2 0x14200 zerothread 33201 180244 0 0 3 0x14200 aiodoned aiodoned 50135 270925 0 0 3 0x14200 syncer update 82017 66609 0 0 3 0x14200 cleaner cleaner 67712 180934 0 0 3 0x14200 reaper reaper 4273 435902 0 0 3 0x14200 pgdaemon pagedaemon 43915 421389 0 0 3 0x14200 bored viomb 11141 148616 0 0 3 0x40014200 acpi0 acpi0 63328 35406 0 0 3 0x40014200 idle1 22061 50605 0 0 3 0x14200 bored softnet 67128 464156 0 0 3 0x14200 bored softnet 91775 145524 0 0 3 0x14200 bored softnet 26955 147397 0 0 3 0x14200 bored softnet 17498 416139 0 0 3 0x14200 bored systqmp 83047 285211 0 0 3 0x14200 bored systq *34975 486362 0 0 7 0x40014200 softclock 95659 226443 0 0 3 0x40014200 idle0 1 109769 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{0}> show all locks Process 34975 (softclock) thread 0xffff8000211e8fc0 (486362) exclusive rwlock netlock r = 0 (0xffffffff82963ca0) #0 witness_lock+0x44d #1 arptimer+0x22 sys/netinet/if_ether.c:132 #2 timeout_run+0xcc sys/kern/kern_timeout.c:641 #3 softclock_thread+0x134 sys/kern/kern_timeout.c:765 #4 proc_trampoline+0x1c shared rwlock timeout r = 0 (0xffffffff82981438) #0 witness_lock+0x44d #1 timeout_run+0xb7 sys/kern/kern_timeout.c:637 #2 softclock_thread+0x134 sys/kern/kern_timeout.c:765 #3 proc_trampoline+0x1c exclusive kernel_lock &kernel_lock r = 0 (0xffffffff82af1ea8) #0 witness_lock+0x44d #1 __mp_acquire_count+0x48 sys/kern/kern_lock.c:227 #2 mi_switch+0x3bb sys/kern/sched_bsd.c:415 #3 sleep_finish+0x180 sys/kern/kern_synch.c:417 #4 softclock_thread+0xd9 sys/kern/kern_timeout.c:760 #5 proc_trampoline+0x1c ddb{0}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 10235 6562K 6946K 78643K 20642 0 pcb 13 22K 32K 78643K 973 0 rtable 197 9K 10K 78643K 1246 0 ifaddr 77 18K 19K 78643K 486 0 sysctl 2 0K 0K 78643K 4 0 counters 58 35K 36K 78643K 476 0 ioctlops 0 0K 4K 78643K 2154 0 iov 0 0K 24K 78643K 295 0 mount 1 1K 1K 78643K 1 0 log 0 0K 0K 78643K 4 0 vnodes 1462 91K 92K 78643K 4890 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 5K 78643K 54 0 VM map 2 1K 1K 78643K 2 0 sem 12 0K 1K 78643K 147 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1697 195K 286K 78643K 12548 0 file desc 15 53K 93K 78643K 5163 0 sigio 0 0K 0K 78643K 61 0 proc 70 91K 128K 78643K 1171 0 subproc 104 6K 6K 78643K 312 0 NFS srvsock 1 0K 0K 78643K 1 0 NFS daemon 1 16K 16K 78643K 1 0 ip_moptions 0 0K 0K 78643K 152 0 in_multi 81 5K 6K 78643K 424 0 ether_multi 1 0K 0K 78643K 24 0 mrt 1 0K 0K 78643K 22 0 ISOFS mount 1 32K 32K 78643K 1 0 MSDOSFS mount 1 16K 16K 78643K 1 0 ttys 241 1076K 1076K 78643K 241 0 exec 0 0K 1K 78643K 968 0 tdb 3 0K 0K 78643K 3 0 pagedep 1 8K 8K 78643K 1 0 inodedep 1 32K 32K 78643K 1 0 newblk 1 0K 0K 78643K 1 0 VM swap 8 62K 64K 78643K 10 0 UVM amap 369 365K 367K 78643K 36833 0 UVM aobj 131 4K 4K 78643K 140 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 76 0 NDP 13 0K 1K 78643K 154 0 temp 135 4698K 70234K 78643K 49896 0 kqueue 12 18K 32K 78643K 440 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 plcache 128 22 0 0 1 0 1 1 0 8 0 rtpcb 120 209 0 206 1 0 1 1 0 8 0 rtentry 112 404 0 321 4 1 3 4 0 8 0 unpcb 144 3685 0 3670 43 39 4 10 0 8 3 syncache 296 32 0 32 10 10 0 1 0 8 0 tcpqe 32 517 0 517 10 10 0 1 0 8 0 tcpcb 776 1108 0 1104 60 53 7 14 0 8 6 arp 120 55 0 40 1 0 1 1 0 8 0 inpcb 368 3832 0 3825 88 79 9 20 0 8 8 nd6 48 86 0 67 1 0 1 1 0 8 0 pkpcb 40 9 0 9 1 1 0 1 0 8 0 kcovpl 48 24 0 16 1 0 1 1 0 8 0 mppekey 1024 2 0 2 1 1 0 1 0 8 0 ppxss 1256 146 0 146 9 8 1 1 0 8 1 pppxif 1448 90 0 90 8 7 1 1 0 8 1 pfstscr 40 19 0 18 3 2 1 1 0 8 0 pffrag 232 11 0 10 2 1 1 1 0 482 0 pffrnode 88 11 0 10 2 1 1 1 0 8 0 pffrent 40 25 0 24 2 1 1 1 0 8 0 pfosfp 40 1431 0 1007 5 0 5 5 0 8 0 pfosfpen 112 1431 0 714 21 0 21 21 0 8 0 pfanchor 1280 1175 1 732 52 9 43 43 0 8 0 pfstitem 24 12 0 10 2 1 1 1 0 8 0 pfstkey 120 32 0 30 3 2 1 1 0 8 0 pfstate 384 16 0 15 3 2 1 1 0 8 0 rttmr 136 5 0 5 2 2 0 1 0 8 0 art_heap8 4096 10 0 8 7 5 2 4 0 8 0 art_heap4 256 1811 0 1423 39 14 25 29 0 8 0 art_table 32 1821 0 1431 4 0 4 4 0 8 0 art_node 16 401 0 328 1 0 1 1 0 8 0 sysvmsgpl 40 17 0 2 1 0 1 1 0 8 0 semupl 112 1 0 1 1 1 0 1 0 8 0 semapl 112 140 0 130 1 0 1 1 0 8 0 shmpl 112 137 0 9 4 0 4 4 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 8034 0 6565 93 0 93 93 0 8 0 ffsino 272 8034 0 6565 99 0 99 99 0 8 0 nchpl 144 14936 0 13309 63 0 63 63 0 8 0 uvmvnodes 80 5926 0 0 121 0 121 121 0 8 0 vnodes 216 5926 0 0 330 0 330 330 0 8 0 namei 1024 57281 0 57281 3 2 1 2 0 8 1 percpumem 16 250 0 209 1 0 1 1 0 8 0 vcpupl 2048 19 0 0 3 0 3 3 0 8 0 vmpool 568 37 0 18 5 3 2 2 0 8 0 kstatmem 264 192 0 166 6 3 3 3 0 8 0 scxspl 216 41215 0 41215 17 15 2 8 0 8 2 plimitpl 152 540 0 524 1 0 1 1 0 8 0 sigapl 424 5456 0 5408 8 1 7 7 0 8 0 futexpl 64 41412 0 41409 1 0 1 1 0 8 0 knotepl 120 498 0 0 11 0 11 11 0 8 0 kqueuepl 216 1163 0 1155 24 23 1 6 0 8 0 pipepl 320 969 0 944 24 21 3 8 0 8 0 fdescpl 496 5437 0 5409 5 1 4 5 0 8 0 filepl 152 37198 0 36963 73 58 15 19 0 8 5 lockfpl 104 1071 0 1069 1 0 1 1 0 8 0 lockfspl 48 372 0 370 1 0 1 1 0 8 0 sessionpl 144 40 0 23 1 0 1 1 0 8 0 pgrppl 48 46 0 29 1 0 1 1 0 8 0 ucredpl 104 4550 0 4538 1 0 1 1 0 8 0 zombiepl 144 5410 0 5408 2 1 1 1 0 8 0 processpl 1072 5456 0 5408 4 0 4 4 0 8 0 procpl 672 14823 0 14755 15 8 7 8 0 8 0 srpgc 96 27 0 27 10 10 0 1 0 8 0 sosppl 168 53 0 53 6 6 0 1 0 8 0 sockpl 488 7745 0 7720 185 173 12 35 0 8 8 mcl64k 65536 17 0 0 3 0 3 3 0 8 0 mcl16k 16384 14 0 0 2 0 2 2 0 8 0 mcl12k 12288 17 0 0 2 0 2 2 0 8 0 mcl9k 9216 17 0 0 2 0 2 2 0 8 0 mcl8k 8192 17 0 0 3 0 3 3 0 8 0 mcl4k 4096 18 0 0 3 0 3 3 0 8 0 mcl2k2 2112 5 0 0 1 0 1 1 0 8 0 mcl2k 2048 430 0 0 46 2 44 46 0 8 0 mtagpl 96 606 0 0 14 0 14 14 0 8 0 mbufpl 256 1489 0 0 83 0 83 83 0 8 0 bufpl 288 11057 0 4722 453 0 453 453 0 8 0 anonpl 24 1061582 0 1044179 143 24 119 132 0 186 0 amapchunkpl 152 101803 0 101058 42 6 36 37 0 158 0 amappl16 200 9449 0 8873 47 14 33 42 0 8 0 amappl15 192 8 0 8 2 2 0 1 0 8 0 amappl14 184 199 0 187 2 1 1 2 0 8 0 amappl13 176 12 0 11 1 0 1 1 0 8 0 amappl12 168 621 0 614 1 0 1 1 0 8 0 amappl11 160 54 0 40 1 0 1 1 0 8 0 amappl10 152 59 0 44 1 0 1 1 0 8 0 amappl9 144 968 0 965 1 0 1 1 0 8 0 amappl8 136 405 0 315 4 0 4 4 0 8 0 amappl7 128 77 0 59 1 0 1 1 0 8 0 amappl6 120 504 0 479 2 1 1 2 0 8 0 amappl5 112 149 0 138 1 0 1 1 0 8 0 amappl4 104 754 0 719 2 1 1 2 0 8 0 amappl3 96 15668 0 15614 2 0 2 2 0 8 0 amappl2 88 6115 0 6038 3 0 3 3 0 8 0 amappl1 80 124790 0 124040 26 9 17 22 0 8 0 amappl 88 36252 0 36036 7 1 6 6 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 7 0 7 1 1 0 1 0 8 0 dma16 16 18 0 17 1 0 1 1 0 8 0 aobjpl 72 139 0 9 3 0 3 3 0 8 0 uaddrrnd 24 5475 0 5428 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 5475 0 5428 1 0 1 1 0 8 0 vmmpekpl 168 44901 0 44835 3 0 3 3 0 8 0 vmmpepl 168 500613 0 497823 227 82 145 157 0 357 9 vmsppl 368 5474 0 5428 6 1 5 5 0 8 0 rwobjpl 56 136916 0 129034 115 2 113 113 0 8 0 pdppl 4096 10957 0 10875 395 309 86 88 0 8 4 pvpl 32 2115604 0 2092649 289 86 203 275 0 265 0 pmappl 248 5474 0 5428 5 1 4 4 0 8 0 extentpl 40 56 0 38 1 0 1 1 0 8 0 phpool 112 1342 0 423 27 0 27 27 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:437 panic(ffffffff825acedf) at panic+0x177 sys/kern/subr_prf.c:198 __assert(ffffffff82621fd6,ffffffff82621853,308,ffffffff8257ad23) at __assert+0x25 sys/kern/subr_prf.c:157 arptfree(fffffd806f1dc9a0) at arptfree+0x12e sys/netinet/if_ether.c:776 arptimer(ffffffff82bb26b8) at arptimer+0x88 sys/netinet/if_ether.c:135 timeout_run(ffffffff82bb26b8) at timeout_run+0xcc sys/kern/kern_timeout.c:641 softclock_thread(ffff8000211e8fc0) at softclock_thread+0x134 sys/kern/kern_timeout.c:765 end trace frame: 0x0, count: -7 ddb{0}> machine ddbcpu 1 Stopped at x86_ipi_db+0x1a: addq $0x8,%rsp x86_ipi_db(ffff800020dd8ff0) at x86_ipi_db+0x1a sys/arch/amd64/amd64/db_interface.c:393 x86_ipi_handler() at x86_ipi_handler+0xb7 sys/arch/amd64/amd64/ipi.c:106 Xresume_lapic_ipi() at Xresume_lapic_ipi+0x23 __sanitizer_cov_trace_pc() at __sanitizer_cov_trace_pc+0x28 kd_curproc sys/dev/kcov.c:577 [inline] __sanitizer_cov_trace_pc() at __sanitizer_cov_trace_pc+0x28 sys/dev/kcov.c:148 __mp_lock(ffffffff82af1ca0) at __mp_lock+0x133 __mp_lock_spin sys/kern/kern_lock.c:116 [inline] __mp_lock(ffffffff82af1ca0) at __mp_lock+0x133 sys/kern/kern_lock.c:147 __mp_acquire_count(ffffffff82af1ca0,2) at __mp_acquire_count+0x48 sys/kern/kern_lock.c:227 mi_switch() at mi_switch+0x3bb sys/kern/sched_bsd.c:415 sleep_finish(ffff800029c5e568,1) at sleep_finish+0x180 sys/kern/kern_synch.c:417 cond_wait(ffff800029c5e5d8,ffffffff825a706a) at cond_wait+0x64 sys/kern/kern_synch.c:889 smr_barrier_impl(0) at smr_barrier_impl+0xc1 sys/kern/kern_smr.c:303 if_idxmap_remove(ffff800000be2800) at if_idxmap_remove+0xd7 if_put sys/net/if.c:1787 [inline] if_idxmap_remove(ffff800000be2800) at if_idxmap_remove+0xd7 sys/net/if.c:446 if_detach(ffff800000be2800) at if_detach+0xa6 if_remove sys/net/if.c:998 [inline] if_detach(ffff800000be2800) at if_detach+0xa6 sys/net/if.c:1046 tun_clone_destroy(ffff800000be2800) at tun_clone_destroy+0x1e3 sys/net/if_tun.c:326 if_clone_destroy(ffff800029c5e760) at if_clone_destroy+0x132 sys/net/if.c:1247 end trace frame: 0xffff800029c5e7b0, count: 0 ddb{1}> trace x86_ipi_db(ffff800020dd8ff0) at x86_ipi_db+0x1a sys/arch/amd64/amd64/db_interface.c:393 x86_ipi_handler() at x86_ipi_handler+0xb7 sys/arch/amd64/amd64/ipi.c:106 Xresume_lapic_ipi() at Xresume_lapic_ipi+0x23 __sanitizer_cov_trace_pc() at __sanitizer_cov_trace_pc+0x28 kd_curproc sys/dev/kcov.c:577 [inline] __sanitizer_cov_trace_pc() at __sanitizer_cov_trace_pc+0x28 sys/dev/kcov.c:148 __mp_lock(ffffffff82af1ca0) at __mp_lock+0x133 __mp_lock_spin sys/kern/kern_lock.c:116 [inline] __mp_lock(ffffffff82af1ca0) at __mp_lock+0x133 sys/kern/kern_lock.c:147 __mp_acquire_count(ffffffff82af1ca0,2) at __mp_acquire_count+0x48 sys/kern/kern_lock.c:227 mi_switch() at mi_switch+0x3bb sys/kern/sched_bsd.c:415 sleep_finish(ffff800029c5e568,1) at sleep_finish+0x180 sys/kern/kern_synch.c:417 cond_wait(ffff800029c5e5d8,ffffffff825a706a) at cond_wait+0x64 sys/kern/kern_synch.c:889 smr_barrier_impl(0) at smr_barrier_impl+0xc1 sys/kern/kern_smr.c:303 if_idxmap_remove(ffff800000be2800) at if_idxmap_remove+0xd7 if_put sys/net/if.c:1787 [inline] if_idxmap_remove(ffff800000be2800) at if_idxmap_remove+0xd7 sys/net/if.c:446 if_detach(ffff800000be2800) at if_detach+0xa6 if_remove sys/net/if.c:998 [inline] if_detach(ffff800000be2800) at if_detach+0xa6 sys/net/if.c:1046 tun_clone_destroy(ffff800000be2800) at tun_clone_destroy+0x1e3 sys/net/if_tun.c:326 if_clone_destroy(ffff800029c5e760) at if_clone_destroy+0x132 sys/net/if.c:1247 tun_dev_close(5d00,7) at tun_dev_close+0x14d sys/net/if_tun.c:509 spec_close(ffff800029c5e840) at spec_close+0x2c3 sys/kern/spec_vnops.c:541 VOP_CLOSE(fffffd806dd0e510,7,fffffd807f7d73a8,ffff800021259260) at VOP_CLOSE+0xe3 sys/kern/vfs_vops.c:156 vn_closefile(fffffd806ce85148,ffff800021259260) at vn_closefile+0xd7 vn_close sys/kern/vfs_vnops.c:292 [inline] vn_closefile(fffffd806ce85148,ffff800021259260) at vn_closefile+0xd7 sys/kern/vfs_vnops.c:609 fdrop(fffffd806ce85148,ffff800021259260) at fdrop+0xc7 sys/kern/kern_descrip.c:1274 closef(fffffd806ce85148,ffff800021259260) at closef+0x11c sys/kern/kern_descrip.c:1258 fdfree(ffff800021259260) at fdfree+0xe4 sys/kern/kern_descrip.c:1190 exit1(ffff800021259260,0,0,1) at exit1+0x37d sys/kern/kern_exit.c:196 sys_exit(ffff800021259260,ffff800029c5ead0,ffff800029c5eb20) at sys_exit+0x16 sys/kern/kern_exit.c:89 syscall(ffff800029c5eba0) at syscall+0x438 mi_syscall sys/sys/syscall_mi.h:101 [inline] syscall(ffff800029c5eba0) at syscall+0x438 sys/arch/amd64/amd64/trap.c:599 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffff581d0, count: -25