on./bus./busuvm_fault(0xfffffd807f008730, 0x6fcd93b2cb0, 0, 1) -> e kernel: page fault trap, code=0 Stopped at in6_purgeaddr+0x135: movq 0x8(%r12),%r13 ddb{0}> ddb{0}> set $lines = 0 ddb{0}> set $maxwidth = 0 ddb{0}> show panic kernel page fault uvm_fault(0xfffffd807f008730, 0x6fcd93b2cb0, 0, 1) -> e in6_purgeaddr(ffff800000ac7c00) at in6_purgeaddr+0x135 sys/netinet6/in6.c:914 end trace frame: 0xffff800021b90a40, count: 0 ddb{0}> trace in6_purgeaddr(ffff800000ac7c00) at in6_purgeaddr+0x135 sys/netinet6/in6.c:914 in6_ifdetach(ffff800000ab4000) at in6_ifdetach+0x74 sys/netinet6/in6_ifattach.c:422 if_detach(ffff800000ab4000) at if_detach+0x155 sys/net/if.c:1110 tun_clone_destroy(ffff800000ab4000) at tun_clone_destroy+0x1c7 sys/net/if_tun.c:278 spec_close(ffff800021b90b70) at spec_close+0x311 sys/kern/spec_vnops.c:555 VOP_CLOSE(fffffd806e1454e8,7,fffffd807f7c6780,ffff800020acec78) at VOP_CLOSE+0xc0 sys/kern/vfs_vops.c:175 vn_closefile(fffffd8063dc2148,ffff800020acec78) at vn_closefile+0xd8 vn_close sys/kern/vfs_vnops.c:301 [inline] vn_closefile(fffffd8063dc2148,ffff800020acec78) at vn_closefile+0xd8 sys/kern/vfs_vnops.c:613 fdrop(fffffd8063dc2148,ffff800020acec78) at fdrop+0xc2 sys/kern/kern_descrip.c:1273 closef(fffffd8063dc2148,ffff800020acec78) at closef+0x11d sys/kern/kern_descrip.c:1257 fdfree(ffff800020acec78) at fdfree+0x101 sys/kern/kern_descrip.c:1189 exit1(ffff800020acec78,19,1) at exit1+0x32f sys/kern/kern_exit.c:196 postsig(ffff800020acec78,19) at postsig+0x4e3 sigexit sys/kern/kern_sig.c:1499 [inline] postsig(ffff800020acec78,19) at postsig+0x4e3 sys/kern/kern_sig.c:1431 userret(ffff800020acec78) at userret+0x199 sys/kern/kern_sig.c:1889 syscall(ffff800021b90ff0) at syscall+0x55f mi_syscall_return sys/sys/syscall_mi.h:115 [inline] syscall(ffff800021b90ff0) at syscall+0x55f sys/arch/amd64/amd64/trap.c:577 Xsyscall(6,0,7f7ffffda070,88,0,7f7ffffda094) at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffda0e0, count: -15 ddb{0}> show registers rdi 0 rsi 0 rbp 0xffff800021b909d0 rbx 0 rdx 0x1b rcx 0x1c rax 0 r8 0xffffffff81cdc104 rt_ifa_dellocal+0x44 r9 0x1 r10 0x18 r11 0x9e069aee130c9f07 r12 0x6fcd93b2ca8 r13 0 r14 0xffff800000ac7c00 r15 0xffff800000ab4000 rip 0xffffffff82171be5 in6_purgeaddr+0x135 cs 0x8 rflags 0x10202 __ALIGN_SIZE+0xf202 rsp 0xffff800021b90960 ss 0x10 in6_purgeaddr+0x135: movq 0x8(%r12),%r13 ddb{0}> show proc PROC (syz-executor.1) pid=215379 stat=onproc flags process=a proc=2000 pri=17, usrpri=66, nice=20 forw=0xffffffffffffffff, list=0xffff800020ace788,0xffffffff8266aad8 process=0xffff800020adce00 user=0xffff800021b8c000, vmspace=0xfffffd807f008730 estcpu=36, cpticks=2, pctcpu=0.12 user=0, sys=2, intr=0 ddb{0}> ps PID TID PPID UID S FLAGS WAIT COMMAND 51534 224227 0 0 3 0x14200 bored sosplice 33586 242672 85761 0 2 0x2 syz-executor.0 85761 451146 16600 0 3 0x82 thrsleep syz-fuzzer 85761 196546 16600 0 3 0x4000082 nanosleep syz-fuzzer 85761 164313 16600 0 3 0x4000082 thrsleep syz-fuzzer 85761 428261 16600 0 3 0x4000082 thrsleep syz-fuzzer 85761 66845 16600 0 3 0x4000082 thrsleep syz-fuzzer 85761 23142 16600 0 2 0x4000082 syz-fuzzer 85761 169556 16600 0 3 0x4000082 thrsleep syz-fuzzer 85761 295995 16600 0 3 0x4000082 thrsleep syz-fuzzer 85761 110928 16600 0 3 0x4000082 thrsleep syz-fuzzer 85761 369941 16600 0 3 0x4000082 thrsleep syz-fuzzer 85761 365987 16600 0 3 0x4000082 thrsleep syz-fuzzer 16600 22750 62860 0 3 0x10008a pause ksh 62860 513469 50743 0 3 0x92 select sshd 27824 325101 1 0 3 0x100083 ttyin getty 50743 255319 1 0 3 0x80 select sshd 97600 341766 74968 74 3 0x100092 bpf pflogd 74968 177545 1 0 3 0x80 netio pflogd 9677 327101 65698 73 3 0x100090 kqread syslogd 65698 243979 1 0 3 0x100082 netio syslogd 95438 52343 1 77 2 0x100090 dhclient 54208 362131 1 0 3 0x80 poll dhclient 42366 446149 0 0 7 0x14200 zerothread 74620 127705 0 0 3 0x14200 aiodoned aiodoned 39368 297067 0 0 3 0x14200 syncer update 86217 93592 0 0 3 0x14200 cleaner cleaner 39327 247525 0 0 3 0x14200 reaper reaper 24793 512726 0 0 3 0x14200 pgdaemon pagedaemon 10947 488061 0 0 3 0x14200 bored crynlk 73402 252916 0 0 3 0x14200 bored crypto 59768 511288 0 0 3 0x40014200 acpi0 acpi0 92831 482501 0 0 3 0x40014200 idle1 73464 439934 0 0 2 0x14200 softnet 20669 112841 0 0 2 0x14200 systqmp 97496 444988 0 0 3 0x14200 bored systq 66423 327668 0 0 3 0x40014200 bored softclock 24863 39823 0 0 3 0x40014200 idle0 35827 282009 0 0 3 0x14200 bored smr 1 482339 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{0}> show all locks Process 33586 (syz-executor.0) thread 0xffff800020abf160 (242672) exclusive rrwlock inode r = 0 (0xfffffd8063da01b0) #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 (0xfffffd80691d02b8) #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{0}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim Kern Lim devbuf 9571 6627K 7212K 78643K 11601 0 0 pcb 13 8K 8K 78643K 127 0 0 rtable 87 12K 12K 78643K 424 0 0 ifaddr 66 14K 15K 78643K 136 0 0 counters 39 33K 33K 78643K 39 0 0 ioctlops 0 0K 4K 78643K 1483 0 0 iov 0 0K 16K 78643K 98 0 0 mount 1 1K 1K 78643K 1 0 0 vnodes 1217 76K 77K 78643K 1586 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 11 0 0 VM map 4 2K 2K 78643K 4 0 0 sem 12 1K 1K 78643K 190 0 0 dirhash 12 2K 2K 78643K 12 0 0 ACPI 1809 196K 290K 78643K 12766 0 0 file desc 4 9K 25K 78643K 416 0 0 sigio 0 0K 0K 78643K 8 0 0 proc 60 63K 95K 78643K 548 0 0 subproc 23 1K 2K 78643K 51 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 83 0 0 in_multi 13 0K 2K 78643K 79 0 0 ether_multi 1 0K 0K 78643K 8 0 0 ISOFS mount 1 32K 32K 78643K 1 0 0 MSDOSFS mount 1 16K 16K 78643K 1 0 0 ttys 72 318K 318K 78643K 72 0 0 exec 0 0K 1K 78643K 269 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 115 22K 31K 78643K 2419 0 0 UVM aobj 57 2K 2K 78643K 57 0 0 memdesc 1 4K 4K 78643K 1 0 0 crypto data 1 1K 1K 78643K 1 0 0 ip6_options 0 0K 0K 78643K 93 0 0 NDP 15 0K 0K 78643K 38 0 0 temp 194 3564K 3644K 78643K 18247 0 0 SYN cache 2 16K 16K 78643K 2 0 0 ddb{0}> show all pools Name Size Requests Fail Releases Pgreq Pgrel Npage Hiwat Minpg Maxpg Idle arp 64 8 0 5 1 0 1 1 0 8 0 plcache 128 20 0 0 1 0 1 1 0 8 0 rtpcb 80 60 0 58 1 0 1 1 0 8 0 rtentry 112 60 0 31 2 0 2 2 0 8 0 unpcb 120 279 0 269 1 0 1 1 0 8 0 syncache 264 4 0 4 1 1 0 1 0 8 0 tcpqe 32 43 0 43 1 1 0 1 0 8 0 tcpcb 544 223 0 219 4 0 4 4 0 8 3 inpcb 280 739 0 732 4 0 4 4 0 8 3 nd6 48 7 0 6 2 1 1 1 0 8 0 pkpcb 40 2 0 2 1 1 0 1 0 8 0 ppxss 1128 12 0 12 2 1 1 1 0 8 1 pffrag 232 8 0 8 3 2 1 1 0 482 1 pffrnode 88 8 0 8 3 2 1 1 0 8 1 pffrent 40 274 0 274 3 2 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 54 0 8 1 0 1 1 0 8 0 pfstkey 112 54 0 8 2 0 2 2 0 8 0 pfstate 328 54 0 8 4 0 4 4 0 8 0 pfrule 1360 21 0 16 2 1 1 2 0 8 0 art_heap8 4096 4 0 2 3 0 3 3 0 8 1 art_heap4 256 296 0 104 16 3 13 14 0 8 0 art_table 32 300 0 106 2 0 2 2 0 8 0 art_node 16 59 0 29 1 0 1 1 0 8 0 sysvmsgpl 40 35 0 32 1 0 1 1 0 8 0 semupl 112 3 0 3 1 1 0 1 0 8 0 semapl 112 188 0 178 1 0 1 1 0 8 0 shmpl 112 55 0 0 2 0 2 2 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino1pl 128 2083 0 681 46 0 46 46 0 8 0 ffsino 272 2083 0 681 95 0 95 95 0 8 0 nchpl 144 3129 0 1524 61 0 61 61 0 8 0 uvmvnodes 72 2376 0 0 44 0 44 44 0 8 0 vnodes 208 2376 0 0 126 0 126 126 0 8 0 namei 1024 9421 0 9420 1 0 1 1 0 8 0 percpumem 16 30 0 0 1 0 1 1 0 8 0 vcpupl 1984 2 0 0 1 0 1 1 0 8 0 vmpool 552 2 0 0 1 0 1 1 0 8 0 scsiplug 64 2 0 2 1 1 0 1 0 8 0 scxspl 192 9657 0 9657 9 6 3 6 0 8 3 plimitpl 152 36 0 28 1 0 1 1 0 8 0 sigapl 432 611 0 597 3 1 2 3 0 8 0 futexpl 56 10478 0 10478 1 0 1 1 0 8 1 knotepl 112 114 0 95 1 0 1 1 0 8 0 kqueuepl 104 122 0 120 1 0 1 1 0 8 0 pipepl 112 422 0 404 2 0 2 2 0 8 1 fdescpl 488 612 0 597 3 0 3 3 0 8 0 filepl 152 5341 0 5251 7 1 6 6 0 8 2 lockfpl 104 233 0 232 1 0 1 1 0 8 0 lockfspl 48 85 0 84 1 0 1 1 0 8 0 sessionpl 112 19 0 8 1 0 1 1 0 8 0 pgrppl 48 27 0 16 1 0 1 1 0 8 0 ucredpl 96 499 0 490 1 0 1 1 0 8 0 zombiepl 144 598 0 597 1 0 1 1 0 8 0 processpl 896 628 0 597 4 0 4 4 0 8 0 procpl 632 1571 0 1530 5 0 5 5 0 8 0 srpgc 64 6 0 4 2 1 1 1 0 8 0 sosppl 128 4 0 4 2 1 1 1 0 8 1 sockpl 384 1096 0 1077 9 2 7 7 0 8 5 mcl64k 65536 7 0 0 1 0 1 1 0 8 0 mcl16k 16384 6 0 0 1 0 1 1 0 8 0 mcl12k 12288 7 0 0 1 0 1 1 0 8 0 mcl9k 9216 2 0 0 1 0 1 1 0 8 0 mcl8k 8192 10 0 0 2 0 2 2 0 8 0 mcl4k 4096 7 0 0 1 0 1 1 0 8 0 mcl2k2 2112 2 0 0 1 0 1 1 0 8 0 mcl2k 2048 168 0 0 20 0 20 20 0 8 0 mtagpl 80 28 0 0 1 0 1 1 0 8 0 mbufpl 256 301 0 0 19 0 19 19 0 8 0 bufpl 256 8500 0 1442 442 0 442 442 0 8 0 anonpl 16 92901 0 72577 102 4 98 100 0 124 11 amapchunkpl 152 4001 0 3840 14 3 11 12 0 158 2 amappl16 192 3649 0 2525 78 13 65 69 0 8 8 amappl15 184 360 0 357 1 0 1 1 0 8 0 amappl14 176 182 0 175 1 0 1 1 0 8 0 amappl12 160 6 0 5 2 1 1 1 0 8 0 amappl11 152 64 0 48 1 0 1 1 0 8 0 amappl10 144 14 0 9 1 0 1 1 0 8 0 amappl9 136 686 0 682 1 0 1 1 0 8 0 amappl8 128 271 0 233 2 0 2 2 0 8 0 amappl7 120 47 0 40 1 0 1 1 0 8 0 amappl6 112 68 0 56 1 0 1 1 0 8 0 amappl5 104 143 0 129 1 0 1 1 0 8 0 amappl4 96 758 0 728 1 0 1 1 0 8 0 amappl3 88 363 0 357 1 0 1 1 0 8 0 amappl2 80 4124 0 4058 3 1 2 3 0 8 0 amappl1 72 23098 0 22671 25 15 10 20 0 8 0 amappl 80 1857 0 1810 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 56 0 0 1 0 1 1 0 8 0 uaddrrnd 24 614 0 597 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 614 0 597 1 0 1 1 0 8 0 vmmpekpl 168 9159 0 9126 3 1 2 2 0 8 0 vmmpepl 168 86025 0 83805 165 20 145 146 0 357 36 vmsppl 368 611 0 597 2 0 2 2 0 8 0 pdppl 4096 1235 0 1196 6 0 6 6 0 8 0 pvpl 32 275976 0 252988 228 4 224 227 0 265 33 pmappl 232 613 0 597 3 1 2 2 0 8 0 extentpl 40 46 0 29 1 0 1 1 0 8 0 phpool 112 620 0 6 18 0 18 18 0 8 0