uvm_fault(0xfffffd807f00a170, 0xfeff00008a, 0, 1) -> e kernel: page fault trap, code=0 Stopped at in6_purgeaddr+0x135: movq 0x8(%r12),%r13 ddb{1}> ddb{1}> set $lines = 0 ddb{1}> set $maxwidth = 0 ddb{1}> show panic kernel page fault uvm_fault(0xfffffd807f00a170, 0xfeff00008a, 0, 1) -> e in6_purgeaddr(ffff800000b0df00) at in6_purgeaddr+0x135 sys/netinet6/in6.c:914 end trace frame: 0xffff800021b73340, count: 0 ddb{1}> trace in6_purgeaddr(ffff800000b0df00) at in6_purgeaddr+0x135 sys/netinet6/in6.c:914 in6_ifdetach(ffff800000adb000) at in6_ifdetach+0x74 sys/netinet6/in6_ifattach.c:422 if_detach(ffff800000adb000) at if_detach+0x185 sys/net/if.c:1127 tun_clone_destroy(ffff800000adb000) at tun_clone_destroy+0x1c7 sys/net/if_tun.c:278 spec_close(ffff800021b73470) at spec_close+0x311 sys/kern/spec_vnops.c:555 VOP_CLOSE(fffffd806e152278,7,fffffd807f7c67e0,ffff800020acea00) at VOP_CLOSE+0xc0 sys/kern/vfs_vops.c:175 vn_closefile(fffffd806ca4d4d0,ffff800020acea00) at vn_closefile+0xd8 vn_close sys/kern/vfs_vnops.c:301 [inline] vn_closefile(fffffd806ca4d4d0,ffff800020acea00) at vn_closefile+0xd8 sys/kern/vfs_vnops.c:613 fdrop(fffffd806ca4d4d0,ffff800020acea00) at fdrop+0xc2 sys/kern/kern_descrip.c:1273 closef(fffffd806ca4d4d0,ffff800020acea00) at closef+0x11d sys/kern/kern_descrip.c:1257 fdfree(ffff800020acea00) at fdfree+0x101 sys/kern/kern_descrip.c:1189 exit1(ffff800020acea00,19,1) at exit1+0x32f sys/kern/kern_exit.c:196 postsig(ffff800020acea00,19) at postsig+0x4e3 sigexit sys/kern/kern_sig.c:1499 [inline] postsig(ffff800020acea00,19) at postsig+0x4e3 sys/kern/kern_sig.c:1431 userret(ffff800020acea00) at userret+0x199 sys/kern/kern_sig.c:1889 syscall(ffff800021b738f0) at syscall+0x55f mi_syscall_return sys/sys/syscall_mi.h:115 [inline] syscall(ffff800021b738f0) at syscall+0x55f sys/arch/amd64/amd64/trap.c:577 Xsyscall(6,0,7f7ffffe7300,89,d53f3e3e540,7f7ffffe77c0) at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffe77b0, count: -15 ddb{1}> show registers rdi 0 rsi 0 rbp 0xffff800021b732d0 rbx 0xffff800000ae6900 rdx 0x47 rcx 0x48 rax 0 r8 0xffffffff816b2454 rt_ifa_dellocal+0x44 r9 0x1 r10 0x18 r11 0xca79690ac5af62bb r12 0xfeff000082 r13 0 r14 0xffff800000b0df00 r15 0xffff800000adb000 rip 0xffffffff817d6ab5 in6_purgeaddr+0x135 cs 0x8 rflags 0x10206 __ALIGN_SIZE+0xf206 rsp 0xffff800021b73260 ss 0x10 in6_purgeaddr+0x135: movq 0x8(%r12),%r13 ddb{1}> show proc PROC (syz-executor.0) pid=405476 stat=onproc flags process=a proc=2000 pri=17, usrpri=86, nice=20 forw=0xffffffffffffffff, list=0xffff800020acf3e0,0xffff800020ab02a0 process=0xffff800020adc000 user=0xffff800021b6e000, vmspace=0xfffffd807f00a170 estcpu=36, cpticks=5, pctcpu=0.16 user=0, sys=2, intr=0 ddb{1}> ps PID TID PPID UID S FLAGS WAIT COMMAND 34118 113296 81607 0 3 0x2 biowait syz-executor.1 91244 238635 1 0 3 0x100083 ttyin getty 27126 30230 0 0 3 0x14200 bored sosplice 35067 386869 0 0 3 0x14200 acct acct 81607 416352 83279 0 3 0x82 thrsleep syz-fuzzer 81607 30170 83279 0 3 0x4000082 nanosleep syz-fuzzer 81607 273113 83279 0 3 0x4000082 thrsleep syz-fuzzer 81607 309268 83279 0 3 0x4000082 thrsleep syz-fuzzer 81607 109154 83279 0 2 0x4000082 syz-fuzzer 81607 47613 83279 0 3 0x4000082 thrsleep syz-fuzzer 81607 183670 83279 0 3 0x4000082 thrsleep syz-fuzzer 81607 513960 83279 0 3 0x4000082 thrsleep syz-fuzzer 81607 14297 83279 0 3 0x4000082 thrsleep syz-fuzzer 81607 489994 83279 0 3 0x4000082 thrsleep syz-fuzzer 83279 243008 13960 0 3 0x10008a pause ksh 13960 497029 18527 0 3 0x92 select sshd 18527 339382 1 0 3 0x80 select sshd 34273 86461 94773 74 3 0x100092 bpf pflogd 94773 222601 1 0 3 0x80 netio pflogd 79474 439602 8777 73 3 0x100090 kqread syslogd 8777 173726 1 0 3 0x100082 netio syslogd 10162 520877 1 77 2 0x100090 dhclient 10098 91488 1 0 3 0x80 poll dhclient 94801 35252 0 0 2 0x14200 zerothread 49043 128321 0 0 3 0x14200 aiodoned aiodoned 24089 248186 0 0 3 0x14200 syncer update 14295 88017 0 0 3 0x14200 cleaner cleaner 87104 159117 0 0 3 0x14200 reaper reaper 15199 145906 0 0 3 0x14200 pgdaemon pagedaemon 18034 111652 0 0 3 0x14200 bored crynlk 72444 171022 0 0 3 0x14200 bored crypto 92517 439467 0 0 3 0x40014200 acpi0 acpi0 79790 254614 0 0 3 0x40014200 idle1 3582 456519 0 0 2 0x14200 softnet 38025 456306 0 0 2 0x14200 systqmp 49709 427434 0 0 3 0x14200 bored systq 89785 423311 0 0 3 0x40014200 bored softclock 96205 126395 0 0 7 0x40014200 idle0 24824 271099 0 0 3 0x14200 bored smr 1 510276 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{1}> show all locks Process 34118 (syz-executor.1) thread 0xffff800020ab0290 (113296) exclusive rrwlock inode r = 0 (0xfffffd806e20b0a0) #0 witness_lock+0x52e sys/kern/subr_witness.c:1163 #1 rw_enter+0x447 sys/kern/kern_rwlock.c:306 #2 rrw_enter+0x4f sys/kern/kern_rwlock.c:435 #3 ufs_ihashins+0x45 sys/ufs/ufs/ufs_ihash.c:140 #4 ffs_vget+0x13e sys/ufs/ffs/ffs_vfsops.c:1352 #5 ffs_inode_alloc+0x1cf sys/ufs/ffs/ffs_alloc.c:392 #6 ufs_mkdir+0xf4 sys/ufs/ufs/ufs_vnops.c:1164 #7 VOP_MKDIR+0xc6 sys/kern/vfs_vops.c:450 #8 domkdirat+0x121 sys/kern/vfs_syscalls.c:2983 #9 syscall+0x4a4 mi_syscall sys/sys/syscall_mi.h:92 [inline] #9 syscall+0x4a4 sys/arch/amd64/amd64/trap.c:555 #10 Xsyscall+0x128 exclusive rrwlock inode r = 0 (0xfffffd806e4f41b0) #0 witness_lock+0x52e sys/kern/subr_witness.c:1163 #1 rw_enter+0x447 sys/kern/kern_rwlock.c:306 #2 rrw_enter+0x4f sys/kern/kern_rwlock.c:435 #3 VOP_LOCK+0xf0 sys/kern/vfs_vops.c:615 #4 vn_lock+0x81 sys/kern/vfs_vnops.c:574 #5 vfs_lookup+0xe6 sys/kern/vfs_lookup.c:419 #6 namei+0x63c sys/kern/vfs_lookup.c:249 #7 domkdirat+0x75 sys/kern/vfs_syscalls.c:2968 #8 syscall+0x4a4 mi_syscall sys/sys/syscall_mi.h:92 [inline] #8 syscall+0x4a4 sys/arch/amd64/amd64/trap.c:555 #9 Xsyscall+0x128 ddb{1}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim Kern Lim devbuf 9595 6567K 14876K 78643K 14394 0 0 pcb 13 8K 8K 78643K 403 0 0 rtable 103 12K 13K 78643K 1360 0 0 ifaddr 86 18K 19K 78643K 434 0 0 counters 39 33K 33K 78643K 39 0 0 ioctlops 0 0K 4K 78643K 1582 0 0 iov 0 0K 24K 78643K 313 0 0 mount 1 1K 1K 78643K 1 0 0 vnodes 1218 76K 77K 78643K 2626 0 0 UFS quota 1 32K 32K 78643K 1 0 0 UFS mount 5 36K 36K 78643K 5 0 0 shm 2 1K 5K 78643K 21 0 0 VM map 18 9K 9K 78643K 23 0 0 sem 12 0K 0K 78643K 370 0 0 dirhash 12 2K 2K 78643K 12 0 0 ACPI 1808 196K 290K 78643K 12765 0 0 file desc 4 9K 25K 78643K 1639 0 0 sigio 0 0K 2K 78643K 5074 0 0 proc 61 63K 95K 78643K 1087 0 0 subproc 23 1K 2K 78643K 221 0 0 NFS srvsock 1 0K 0K 78643K 1 0 0 NFS daemon 1 16K 16K 78643K 1 0 0 ip_moptions 0 0K 0K 78643K 132 0 0 in_multi 22 1K 2K 78643K 217 0 0 ether_multi 1 0K 0K 78643K 19 0 0 mrt 0 0K 0K 78643K 13 0 0 ISOFS mount 1 32K 32K 78643K 1 0 0 MSDOSFS mount 1 16K 16K 78643K 1 0 0 ttys 90 397K 397K 78643K 90 0 0 exec 0 0K 1K 78643K 537 0 0 pagedep 1 8K 8K 78643K 1 0 0 inodedep 1 32K 32K 78643K 1 0 0 newblk 1 0K 0K 78643K 1 0 0 VM swap 7 26K 26K 78643K 7 0 0 UVM amap 146 153K 153K 78643K 6913 0 0 UVM aobj 100 5K 5K 78643K 102 0 0 memdesc 1 4K 4K 78643K 1 0 0 crypto data 1 1K 1K 78643K 1 0 0 ip6_options 0 0K 1K 78643K 416 0 0 NDP 19 0K 0K 78643K 130 0 0 temp 203 3560K 4200K 78643K 58772 0 0 kqueue 0 0K 0K 78643K 21 0 0 SYN cache 2 16K 16K 78643K 2 0 0 ddb{1}> show all pools Name Size Requests Fail Releases Pgreq Pgrel Npage Hiwat Minpg Maxpg Idle arp 64 36 0 31 1 0 1 1 0 8 0 plcache 128 20 0 0 1 0 1 1 0 8 0 rtpcb 80 158 0 156 1 0 1 1 0 8 0 rtentry 112 232 0 192 2 0 2 2 0 8 0 unpcb 120 876 0 864 1 0 1 1 0 8 0 syncache 264 9 0 9 3 3 0 1 0 8 0 tcpqe 32 86 0 86 2 2 0 1 0 8 0 tcpcb 544 701 0 697 7 6 1 2 0 8 0 inpcb 280 2266 0 2259 9 7 2 4 0 8 1 rttmr 72 4 0 3 2 1 1 1 0 8 0 ip6q 72 4 0 4 3 3 0 1 0 8 0 ip6af 40 12 0 12 3 3 0 1 0 8 0 nd6 48 32 0 30 1 0 1 1 0 8 0 pkpcb 40 18 0 18 4 3 1 1 0 8 1 ppxss 1128 51 0 51 3 2 1 1 0 8 1 pffrag 232 36 0 36 5 4 1 1 0 482 1 pffrnode 88 36 0 36 5 4 1 1 0 8 1 pffrent 40 1280 0 1280 5 4 1 1 0 8 1 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 122 0 84 1 0 1 1 0 8 0 pfstkey 112 122 0 84 2 0 2 2 0 8 0 pfstate 328 122 0 83 5 0 5 5 0 8 0 pfrule 1360 21 0 16 2 1 1 2 0 8 0 art_heap8 4096 2 0 0 2 0 2 2 0 8 0 art_heap4 256 986 0 720 23 5 18 18 0 8 0 art_table 32 988 0 720 3 0 3 3 0 8 0 art_node 16 230 0 187 1 0 1 1 0 8 0 sysvmsgpl 40 6 0 5 1 0 1 1 0 8 0 semupl 112 1 0 1 1 1 0 1 0 8 0 semapl 112 363 0 353 1 0 1 1 0 8 0 shmpl 112 100 0 2 3 0 3 3 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino1pl 128 3789 0 2382 46 0 46 46 0 8 0 ffsino 272 3789 0 2382 95 0 95 95 0 8 0 nchpl 144 6297 0 4689 62 1 61 61 0 8 0 uvmvnodes 72 4883 0 0 89 0 89 89 0 8 0 vnodes 208 4883 0 0 257 0 257 257 0 8 0 namei 1024 20627 0 20626 1 0 1 1 0 8 0 percpumem 16 30 0 0 1 0 1 1 0 8 0 vcpupl 1984 16 0 0 2 0 2 2 0 8 0 vmpool 552 21 0 5 2 0 2 2 0 8 0 scsiplug 64 2 0 2 2 2 0 1 0 8 0 scxspl 192 21234 0 21233 17 14 3 7 0 8 2 plimitpl 152 134 0 126 1 0 1 1 0 8 0 sigapl 432 1806 0 1792 3 1 2 3 0 8 0 futexpl 56 41512 0 41512 1 0 1 1 0 8 1 knotepl 112 415 0 396 3 2 1 2 0 8 0 kqueuepl 104 450 0 448 1 0 1 1 0 8 0 pipepl 112 7882 0 7864 5 3 2 3 0 8 1 fdescpl 488 1807 0 1792 3 0 3 3 0 8 0 filepl 152 19732 0 19642 15 9 6 8 0 8 2 lockfpl 104 583 0 582 1 0 1 1 0 8 0 lockfspl 48 206 0 205 1 0 1 1 0 8 0 sessionpl 112 31 0 20 1 0 1 1 0 8 0 pgrppl 48 49 0 38 1 0 1 1 0 8 0 ucredpl 96 1538 0 1529 1 0 1 1 0 8 0 zombiepl 144 1793 0 1792 1 0 1 1 0 8 0 processpl 896 1824 0 1792 4 0 4 4 0 8 0 procpl 632 5523 0 5482 5 0 5 5 0 8 0 srpgc 64 23 0 23 4 4 0 1 0 8 0 sosppl 128 54 0 54 6 5 1 1 0 8 1 sockpl 384 3348 0 3327 16 12 4 8 0 8 1 mcl64k 65536 13 0 0 2 0 2 2 0 8 0 mcl16k 16384 5 0 0 1 0 1 1 0 8 0 mcl12k 12288 13 0 0 2 0 2 2 0 8 0 mcl9k 9216 4 0 0 1 0 1 1 0 8 0 mcl8k 8192 17 0 0 3 0 3 3 0 8 0 mcl4k 4096 15 0 0 2 0 2 2 0 8 0 mcl2k2 2112 6 0 0 1 0 1 1 0 8 0 mcl2k 2048 157 0 0 19 1 18 19 0 8 0 mtagpl 80 31 0 0 1 0 1 1 0 8 0 mbufpl 256 438 0 0 21 0 21 21 0 8 0 bufpl 256 11055 0 3997 442 0 442 442 0 8 0 anonpl 16 247977 0 223080 142 40 102 102 0 124 1 amapchunkpl 152 13879 0 13465 27 10 17 17 0 158 0 amappl16 192 9947 0 8786 110 46 64 71 0 8 4 amappl15 184 257 0 257 2 2 0 1 0 8 0 amappl14 176 383 0 377 1 0 1 1 0 8 0 amappl13 168 200 0 200 2 2 0 1 0 8 0 amappl12 160 26 0 26 3 3 0 1 0 8 0 amappl11 152 204 0 189 1 0 1 1 0 8 0 amappl10 144 449 0 444 1 0 1 1 0 8 0 amappl9 136 964 0 956 1 0 1 1 0 8 0 amappl8 128 528 0 482 2 0 2 2 0 8 0 amappl7 120 516 0 508 1 0 1 1 0 8 0 amappl6 112 176 0 161 1 0 1 1 0 8 0 amappl5 104 233 0 218 1 0 1 1 0 8 0 amappl4 96 2120 0 2088 1 0 1 1 0 8 0 amappl3 88 404 0 399 1 0 1 1 0 8 0 amappl2 80 13120 0 13057 3 1 2 3 0 8 0 amappl1 72 51091 0 50672 25 15 10 20 0 8 0 amappl 80 5998 0 5945 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 17 0 17 1 1 0 1 0 8 0 aobjpl 64 101 0 2 2 0 2 2 0 8 0 uaddrrnd 24 1828 0 1792 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 1828 0 1792 1 0 1 1 0 8 0 vmmpekpl 168 33592 0 33553 3 1 2 2 0 8 0 vmmpepl 168 241489 0 239247 202 55 147 153 0 357 37 vmsppl 368 1806 0 1792 2 0 2 2 0 8 0 pdppl 4096 3663 0 3610 8 0 8 8 0 8 1 pvpl 32 662228 0 638797 291 61 230 234 0 265 34 pmappl 232 1827 0 1797 3 1 2 2 0 8 0 extentpl 40 41 0 26 1 0 1 1 0 8 0 phpool 112 635 0 15 18 0 18 18 0 8 0