uvm_fault(0xfffffd807f00a2e0, 0xff00000010, 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(0xfffffd807f00a2e0, 0xff00000010, 0, 1) -> e in6_purgeaddr(ffff800000ad7100) at in6_purgeaddr+0x135 sys/netinet6/in6.c:915 end trace frame: 0xffff80002115ac80, count: 0 ddb{1}> trace in6_purgeaddr(ffff800000ad7100) at in6_purgeaddr+0x135 sys/netinet6/in6.c:915 in6_ifdetach(ffff800000ad0800) at in6_ifdetach+0x74 sys/netinet6/in6_ifattach.c:422 if_detach(ffff800000ad0800) at if_detach+0x155 sys/net/if.c:1110 tun_clone_destroy(ffff800000ad0800) at tun_clone_destroy+0x1c7 sys/net/if_tun.c:278 spec_close(ffff80002115adb0) at spec_close+0x3b0 sys/kern/spec_vnops.c:553 VOP_CLOSE(fffffd806ec861a8,7,fffffd807f7c64e0,ffff800020ab0290) at VOP_CLOSE+0xc0 sys/kern/vfs_vops.c:175 vn_closefile(fffffd80667c13a8,ffff800020ab0290) at vn_closefile+0xd8 vn_close sys/kern/vfs_vnops.c:289 [inline] vn_closefile(fffffd80667c13a8,ffff800020ab0290) at vn_closefile+0xd8 sys/kern/vfs_vnops.c:601 fdrop(fffffd80667c13a8,ffff800020ab0290) at fdrop+0xc2 sys/kern/kern_descrip.c:1273 closef(fffffd80667c13a8,ffff800020ab0290) at closef+0x11d sys/kern/kern_descrip.c:1257 fdfree(ffff800020ab0290) at fdfree+0x101 sys/kern/kern_descrip.c:1189 exit1(ffff800020ab0290,19,1) at exit1+0x32f sys/kern/kern_exit.c:196 postsig(ffff800020ab0290,19) at postsig+0x4e3 sigexit sys/kern/kern_sig.c:1499 [inline] postsig(ffff800020ab0290,19) at postsig+0x4e3 sys/kern/kern_sig.c:1431 userret(ffff800020ab0290) at userret+0x199 sys/kern/kern_sig.c:1887 syscall(ffff80002115b230) at syscall+0x55f mi_syscall_return sys/sys/syscall_mi.h:115 [inline] syscall(ffff80002115b230) at syscall+0x55f sys/arch/amd64/amd64/trap.c:577 Xsyscall(6,38,7f7ffffe47a0,3,0,69c8f6e3000) at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffe4790, count: -15 ddb{1}> show registers rdi 0x1 rsi 0x1 rbp 0xffff80002115ac10 rbx 0 rdx 0xa2 rcx 0 rax 0x3 r8 0x1 r9 0x1 r10 0xc6210df77524988e r11 0x232a9017ef274187 r12 0xff00000008 r13 0 r14 0xffff800000ad7100 r15 0xffff800000ad0800 rip 0xffffffff81f52ed5 in6_purgeaddr+0x135 cs 0x8 rflags 0x10202 __ALIGN_SIZE+0xf202 rsp 0xffff80002115aba0 ss 0x10 in6_purgeaddr+0x135: movq 0x8(%r12),%r13 ddb{1}> show proc PROC (syz-executor.1) pid=145573 stat=onproc flags process=a proc=2000 pri=17, usrpri=81, nice=20 forw=0xffffffffffffffff, list=0xffff800020ab0508,0xffff800020ab0028 process=0xffff800020adc380 user=0xffff800021156000, vmspace=0xfffffd807f00a2e0 estcpu=31, cpticks=2, pctcpu=0.41 user=0, sys=2, intr=0 ddb{1}> ps PID TID PPID UID S FLAGS WAIT COMMAND 89873 287413 10103 0 2 0x2 syz-executor.0 1170 394162 1 0 3 0x100083 ttyin getty 22379 104994 0 0 3 0x14200 acct acct 75424 209664 0 0 3 0x14200 bored sosplice 10103 300906 76938 0 2 0x82 syz-fuzzer 10103 43526 76938 0 3 0x4000082 nanosleep syz-fuzzer 10103 333727 76938 0 3 0x4000082 thrsleep syz-fuzzer 10103 309179 76938 0 3 0x4000082 thrsleep syz-fuzzer 10103 422306 76938 0 3 0x4000082 nanosleep syz-fuzzer 10103 434398 76938 0 3 0x4000082 thrsleep syz-fuzzer 10103 447645 76938 0 3 0x4000082 thrsleep syz-fuzzer 10103 230611 76938 0 3 0x4000082 thrsleep syz-fuzzer 10103 405561 76938 0 3 0x4000082 thrsleep syz-fuzzer 10103 107078 76938 0 3 0x4000082 thrsleep syz-fuzzer 76938 309365 57906 0 3 0x10008a pause ksh 57906 274087 1024 0 2 0x92 sshd 1024 223073 1 0 2 0x80 sshd 44992 84995 35201 74 3 0x100092 bpf pflogd 35201 320091 1 0 3 0x80 netio pflogd 65813 473007 98211 73 3 0x100090 kqread syslogd 98211 479636 1 0 3 0x100082 netio syslogd 69670 202766 1 77 2 0x100090 dhclient 21849 46770 1 0 2 0x80 dhclient 22214 513615 0 0 7 0x14200 zerothread 12355 292363 0 0 3 0x14200 aiodoned aiodoned 89595 2536 0 0 3 0x14200 syncer update 43158 292630 0 0 3 0x14200 cleaner cleaner 89973 106148 0 0 3 0x14200 reaper reaper 40326 94490 0 0 3 0x14200 pgdaemon pagedaemon 30467 103746 0 0 3 0x14200 bored crynlk 4858 94199 0 0 3 0x14200 bored crypto 3048 290193 0 0 3 0x40014200 acpi0 acpi0 14862 172725 0 0 3 0x40014200 idle1 45218 41021 0 0 2 0x14200 softnet 84703 271760 0 0 2 0x14200 systqmp 96343 516781 0 0 3 0x14200 bored systq 16928 472489 0 0 3 0x40014200 bored softclock 55672 190895 0 0 3 0x40014200 idle0 4171 194435 0 0 3 0x14200 bored smr 1 506238 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{1}> show all locks Process 89873 (syz-executor.0) thread 0xffff800020ab0018 (287413) exclusive rrwlock inode r = 0 (0xfffffd8067fe83d0) #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 (0xfffffd806ec845e8) #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:562 #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 9611 6470K 7493K 78643K 22877 0 0 pcb 13 10K 12K 78643K 847 0 0 rtable 107 13K 14K 78643K 2561 0 0 ifaddr 98 21K 23K 78643K 897 0 0 counters 39 33K 33K 78643K 39 0 0 ioctlops 0 0K 4K 78643K 1691 0 0 iov 0 0K 32K 78643K 1590 0 0 mount 1 1K 1K 78643K 1 0 0 vnodes 1216 76K 77K 78643K 5482 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 57 0 0 VM map 2 1K 1K 78643K 29 0 0 sem 12 0K 1K 78643K 656 0 0 dirhash 12 2K 2K 78643K 12 0 0 ACPI 1808 196K 290K 78643K 12765 0 0 file desc 4 9K 25K 78643K 4262 0 0 sigio 1 0K 0K 78643K 330 0 0 proc 62 63K 95K 78643K 1689 0 0 subproc 23 1K 2K 78643K 374 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 338 0 0 in_multi 24 1K 2K 78643K 390 0 0 ether_multi 1 0K 0K 78643K 20 0 0 mrt 0 0K 0K 78643K 27 0 0 ISOFS mount 1 32K 32K 78643K 1 0 0 MSDOSFS mount 1 16K 16K 78643K 1 0 0 ttys 102 450K 450K 78643K 102 0 0 exec 0 0K 1K 78643K 956 0 0 pfkey data 0 0K 0K 78643K 2 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 123 23K 31K 78643K 16064 0 0 UVM aobj 130 4K 5K 78643K 140 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 863 0 0 NDP 25 0K 1K 78643K 269 0 0 temp 250 3565K 4201K 78643K 105339 0 0 kqueue 0 0K 0K 78643K 72 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 70 0 65 1 0 1 1 0 8 0 plcache 128 20 0 0 1 0 1 1 0 8 0 rtpcb 80 5227 0 5225 1 0 1 1 0 8 0 rtentry 112 402 0 365 2 0 2 2 0 8 0 unpcb 120 1751 0 1740 6 4 2 2 0 8 1 syncache 264 18 0 18 8 8 0 1 0 8 0 tcpqe 32 5694 0 5694 4 4 0 2 0 8 0 tcpcb 544 2357 0 2353 46 34 12 12 0 8 11 inpcb 280 5496 0 5487 37 28 9 9 0 8 8 rttmr 72 11 0 10 1 0 1 1 0 8 0 ip6q 72 1 0 1 1 1 0 1 0 8 0 ip6af 40 1 0 1 1 1 0 1 0 8 0 nd6 48 54 0 51 2 1 1 1 0 8 0 pkpcb 40 17 0 17 6 6 0 1 0 8 0 swfcl 56 2 0 0 1 0 1 1 0 8 0 ppxss 1128 144 0 144 12 11 1 1 0 8 1 pffrag 232 45 0 45 14 13 1 1 0 482 1 pffrnode 88 45 0 45 14 13 1 1 0 8 1 pffrent 40 110 0 110 14 13 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 270 0 220 1 0 1 1 0 8 0 pfstkey 112 270 0 220 2 0 2 2 0 8 0 pfstate 328 270 0 220 7 1 6 6 0 8 0 pfrule 1360 21 0 16 2 1 1 2 0 8 0 art_heap8 4096 17 0 16 12 11 1 3 0 8 0 art_heap4 256 1728 0 1457 32 15 17 18 0 8 0 art_table 32 1745 0 1473 4 1 3 3 0 8 0 art_node 16 392 0 354 1 0 1 1 0 8 0 sysvmsgpl 40 28 0 13 1 0 1 1 0 8 0 semupl 112 2 0 2 1 1 0 1 0 8 0 semapl 112 653 0 643 1 0 1 1 0 8 0 shmpl 112 138 0 10 4 0 4 4 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino1pl 128 8515 0 7102 46 0 46 46 0 8 0 ffsino 272 8515 0 7102 95 0 95 95 0 8 0 nchpl 144 15479 0 15008 61 40 21 61 0 8 0 uvmvnodes 72 5926 0 0 108 0 108 108 0 8 0 vnodes 208 5926 0 0 312 0 312 312 0 8 0 namei 1024 56490 0 56489 3 2 1 1 0 8 0 percpumem 16 30 0 0 1 0 1 1 0 8 0 vmpool 552 27 0 27 11 11 0 1 0 8 0 scsiplug 64 6 0 6 4 4 0 1 0 8 0 scxspl 192 48696 0 48696 38 35 3 7 0 8 3 plimitpl 152 322 0 314 1 0 1 1 0 8 0 sigapl 432 4403 0 4389 3 1 2 3 0 8 0 futexpl 56 100864 0 100864 4 3 1 1 0 8 1 knotepl 112 3060 0 3041 9 7 2 3 0 8 1 kqueuepl 104 6627 0 6625 13 9 4 4 0 8 3 pipepl 112 2704 0 2686 10 9 1 2 0 8 0 fdescpl 488 4404 0 4389 3 0 3 3 0 8 0 filepl 152 45056 0 44966 53 41 12 14 0 8 8 lockfpl 104 3359 0 3358 1 0 1 1 0 8 0 lockfspl 48 859 0 858 1 0 1 1 0 8 0 sessionpl 112 39 0 28 1 0 1 1 0 8 0 pgrppl 48 67 0 56 1 0 1 1 0 8 0 ucredpl 96 4988 0 4978 1 0 1 1 0 8 0 zombiepl 144 4390 0 4389 4 3 1 1 0 8 0 processpl 896 4421 0 4389 4 0 4 4 0 8 0 procpl 632 13944 0 13903 7 2 5 5 0 8 1 srpgc 64 39 0 39 13 12 1 1 0 8 1 sosppl 128 116 0 116 15 14 1 1 0 8 1 sockpl 384 12555 0 12535 70 59 11 14 0 8 8 mcl64k 65536 18 0 0 3 0 3 3 0 8 0 mcl16k 16384 17 0 0 3 0 3 3 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 25 0 0 4 1 3 3 0 8 0 mcl4k 4096 17 0 0 3 0 3 3 0 8 0 mcl2k2 2112 8 0 0 1 0 1 1 0 8 0 mcl2k 2048 268 0 0 31 6 25 31 0 8 0 mtagpl 80 216 0 0 3 0 3 3 0 8 0 mbufpl 256 742 0 0 34 0 34 34 0 8 0 bufpl 256 19535 0 12487 441 0 441 441 0 8 0 anonpl 16 482658 0 469974 156 78 78 85 0 124 4 amapchunkpl 152 31087 0 30977 78 69 9 12 0 158 3 amappl16 192 22541 0 21569 165 107 58 62 0 8 8 amappl15 184 810 0 809 4 3 1 1 0 8 0 amappl14 176 1600 0 1596 2 1 1 1 0 8 0 amappl13 168 355 0 355 4 4 0 1 0 8 0 amappl12 160 277 0 276 1 0 1 1 0 8 0 amappl11 152 534 0 518 1 0 1 1 0 8 0 amappl10 144 185 0 181 1 0 1 1 0 8 0 amappl9 136 1605 0 1598 1 0 1 1 0 8 0 amappl8 128 1163 0 1123 3 1 2 2 0 8 0 amappl7 120 300 0 290 1 0 1 1 0 8 0 amappl6 112 518 0 505 1 0 1 1 0 8 0 amappl5 104 588 0 574 1 0 1 1 0 8 0 amappl4 96 4373 0 4341 1 0 1 1 0 8 0 amappl3 88 1664 0 1659 1 0 1 1 0 8 0 amappl2 80 33729 0 33665 4 2 2 3 0 8 0 amappl1 72 107620 0 107202 25 15 10 20 0 8 0 amappl 80 14574 0 14537 3 1 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 139 0 10 3 0 3 3 0 8 0 uaddrrnd 24 4431 0 4389 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 4431 0 4389 1 0 1 1 0 8 0 vmmpekpl 168 36193 0 36161 2 0 2 2 0 8 0 vmmpepl 168 556698 0 554689 306 175 131 131 0 357 31 vmsppl 368 4403 0 4389 2 0 2 2 0 8 0 pdppl 4096 8869 0 8832 7 1 6 6 0 8 0 pvpl 32 1292144 0 1276293 343 156 187 205 0 265 18 pmappl 232 4430 0 4416 7 6 1 2 0 8 0 extentpl 40 41 0 26 1 0 1 1 0 8 0 phpool 112 723 0 73 19 0 19 19 0 8 0