uvm_fault(0xfffffd807f00b730, 0xd8000000df, 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(0xfffffd807f00b730, 0xd8000000df, 0, 1) -> e in6_purgeaddr(ffff800000ac1b00) at in6_purgeaddr+0x135 sys/netinet6/in6.c:914 end trace frame: 0xffff800023b8cb80, count: 0 ddb{0}> trace in6_purgeaddr(ffff800000ac1b00) at in6_purgeaddr+0x135 sys/netinet6/in6.c:914 in6_ifdetach(ffff800000ac5000) at in6_ifdetach+0x74 sys/netinet6/in6_ifattach.c:422 if_detach(ffff800000ac5000) at if_detach+0x155 sys/net/if.c:1110 tun_clone_destroy(ffff800000ac5000) at tun_clone_destroy+0x1c7 sys/net/if_tun.c:278 ifioctl(fffffd80659314b0,80206979,ffff800023b8cfb0,ffff800020ab09f8) at ifioctl+0x3f0 sys/net/if.c:1877 fifo_ioctl(ffff800023b8cdf8) at fifo_ioctl+0x9c sys/miscfs/fifofs/fifo_vnops.c:276 VOP_IOCTL(fffffd8066649c38,80206979,ffff800023b8cfb0,1,fffffd807f7c6720,ffff800020ab09f8) at VOP_IOCTL+0x88 sys/kern/vfs_vops.c:291 vn_ioctl(fffffd8064032dc0,80206979,ffff800023b8cfb0,ffff800020ab09f8) at vn_ioctl+0xb7 sys/kern/vfs_vnops.c:536 sys_ioctl(ffff800020ab09f8,ffff800023b8d0c8,ffff800023b8d110) at sys_ioctl+0x5b9 syscall(ffff800023b8d190) at syscall+0x4a4 mi_syscall sys/sys/syscall_mi.h:92 [inline] syscall(ffff800023b8d190) at syscall+0x4a4 sys/arch/amd64/amd64/trap.c:555 Xsyscall(6,0,ffffffffffffff36,0,3,173bbcee010) at Xsyscall+0x128 end of kernel end trace frame: 0x175d1a5e640, count: -11 ddb{0}> show registers rdi 0xffffffff820807e9 rtfree+0x59 rsi 0x1070e __ALIGN_SIZE+0xf70e rbp 0xffff800023b8cb10 rbx 0xffff800000ae8600 rdx 0x1070f __ALIGN_SIZE+0xf70f rcx 0xffff800022d6c000 rax 0 r8 0xffffffff82083cc4 rt_ifa_dellocal+0x44 r9 0x1 r10 0x18 r11 0x73b829fa9a0fa55c r12 0xd8000000d7 r13 0 r14 0xffff800000ac1b00 r15 0xffff800000ac5000 rip 0xffffffff8188d995 in6_purgeaddr+0x135 cs 0x8 rflags 0x10206 __ALIGN_SIZE+0xf206 rsp 0xffff800023b8caa0 ss 0x10 in6_purgeaddr+0x135: movq 0x8(%r12),%r13 ddb{0}> show proc PROC (syz-executor.1) pid=315593 stat=onproc flags process=0 proc=4000000 pri=86, usrpri=86, nice=20 forw=0xffffffffffffffff, list=0xffff800020ab0018,0xffffffff8267a4c0 process=0xffff800020add880 user=0xffff800023b88000, vmspace=0xfffffd807f00b730 estcpu=36, cpticks=1, pctcpu=0.0 user=0, sys=1, intr=0 ddb{0}> ps PID TID PPID UID S FLAGS WAIT COMMAND 55305 514502 50678 0 2 0 syz-executor.1 *55305 315593 50678 0 7 0x4000000 syz-executor.1 56796 59844 8040 0 3 0x82 nanosleep syz-executor.0 50678 290284 8040 0 3 0x82 nanosleep syz-executor.1 37710 111518 0 0 3 0x14200 bored sosplice 8040 432248 57410 0 3 0x82 thrsleep syz-fuzzer 8040 486018 57410 0 3 0x4000082 thrsleep syz-fuzzer 8040 513530 57410 0 3 0x4000082 thrsleep syz-fuzzer 8040 316336 57410 0 3 0x4000082 thrsleep syz-fuzzer 8040 44532 57410 0 3 0x4000082 thrsleep syz-fuzzer 8040 162447 57410 0 3 0x4000082 kqread syz-fuzzer 8040 403258 57410 0 3 0x4000082 thrsleep syz-fuzzer 8040 170369 57410 0 3 0x4000082 thrsleep syz-fuzzer 8040 346830 57410 0 3 0x4000082 thrsleep syz-fuzzer 8040 195155 57410 0 3 0x4000082 thrsleep syz-fuzzer 8040 246842 57410 0 3 0x4000082 thrsleep syz-fuzzer 57410 404535 26056 0 3 0x10008a pause ksh 26056 461032 91311 0 3 0x92 select sshd 66119 489539 1 0 3 0x100083 ttyin getty 91311 70528 1 0 3 0x80 select sshd 9019 522032 62187 74 3 0x100092 bpf pflogd 62187 195287 1 0 3 0x80 netio pflogd 43394 126783 94723 73 3 0x100090 kqread syslogd 94723 294520 1 0 3 0x100082 netio syslogd 60276 229073 1 77 2 0x100090 dhclient 33567 345009 1 0 3 0x80 poll dhclient 25849 207212 0 0 2 0x14200 zerothread 80220 34164 0 0 3 0x14200 aiodoned aiodoned 82907 452375 0 0 3 0x14200 syncer update 65988 133877 0 0 3 0x14200 cleaner cleaner 56818 60551 0 0 7 0x14200 reaper 75910 133502 0 0 3 0x14200 pgdaemon pagedaemon 80043 71080 0 0 3 0x14200 bored crynlk 53649 198660 0 0 3 0x14200 bored crypto 25775 438564 0 0 3 0x40014200 acpi0 acpi0 41992 145114 0 0 3 0x40014200 idle1 62163 396465 0 0 3 0x14200 bored softnet 2013 282270 0 0 3 0x14200 bored systqmp 94731 305785 0 0 3 0x14200 bored systq 19245 189146 0 0 3 0x40014200 bored softclock 38907 98286 0 0 3 0x40014200 idle0 96722 376238 0 0 3 0x14200 bored smr 1 84163 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{0}> show all locks Process 55305 (syz-executor.1) thread 0xffff800020ab09f8 (315593) exclusive rwlock netlock r = 0 (0xffffffff8248f918) #0 witness_lock+0x52e sys/kern/subr_witness.c:1163 #1 if_detach+0x75 sys/net/if.c:1085 #2 tun_clone_destroy+0x1c7 sys/net/if_tun.c:278 #3 ifioctl+0x3f0 sys/net/if.c:1877 #4 fifo_ioctl+0x9c sys/miscfs/fifofs/fifo_vnops.c:276 #5 VOP_IOCTL+0x88 sys/kern/vfs_vops.c:291 #6 vn_ioctl+0xb7 sys/kern/vfs_vnops.c:536 #7 sys_ioctl+0x5b9 #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 exclusive kernel_lock &kernel_lock r = 1 (0xffffffff82638a30) #0 witness_lock+0x52e sys/kern/subr_witness.c:1163 #1 syscall+0x400 mi_syscall sys/sys/syscall_mi.h:83 [inline] #1 syscall+0x400 sys/arch/amd64/amd64/trap.c:555 #2 Xsyscall+0x128 ddb{0}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim Kern Lim devbuf 9541 6438K 7356K 78643K 11852 0 0 pcb 13 8K 8K 78643K 141 0 0 rtable 94 3K 4K 78643K 539 0 0 ifaddr 66 13K 14K 78643K 145 0 0 counters 39 33K 33K 78643K 39 0 0 ioctlops 0 0K 4K 78643K 1535 0 0 iov 0 0K 26K 78643K 977 0 0 mount 1 1K 1K 78643K 1 0 0 vnodes 1219 77K 77K 78643K 1706 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 0K 0K 78643K 182 0 0 dirhash 12 2K 2K 78643K 12 0 0 ACPI 1808 196K 290K 78643K 12765 0 0 file desc 5 13K 25K 78643K 618 0 0 proc 62 63K 95K 78643K 663 0 0 subproc 32 2K 2K 78643K 104 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 21 0 0 in_multi 25 1K 2K 78643K 136 0 0 ether_multi 1 0K 0K 78643K 8 0 0 mrt 0 0K 0K 78643K 10 0 0 ISOFS mount 1 32K 32K 78643K 1 0 0 MSDOSFS mount 1 16K 16K 78643K 1 0 0 ttys 48 212K 212K 78643K 48 0 0 exec 0 0K 1K 78643K 303 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 132 39K 47K 78643K 3060 0 0 UVM aobj 81 3K 3K 78643K 89 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 128 0 0 NDP 17 0K 0K 78643K 49 0 0 temp 192 3560K 4188K 78643K 10999 0 0 kqueue 0 0K 0K 78643K 8 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 14 0 9 1 0 1 1 0 8 0 plcache 128 20 0 0 1 0 1 1 0 8 0 rtpcb 80 75 0 73 1 0 1 1 0 8 0 rtentry 112 121 0 84 2 0 2 2 0 8 0 unpcb 120 454 0 441 2 0 2 2 0 8 1 syncache 264 9 0 9 3 2 1 1 0 8 1 tcpqe 32 14 0 14 2 2 0 1 0 8 0 tcpcb 544 270 0 266 3 1 2 2 0 8 1 inpcb 280 768 0 761 3 1 2 3 0 8 1 rttmr 72 5 0 4 3 2 1 1 0 8 0 nd6 48 22 0 19 1 0 1 1 0 8 0 pkpcb 40 5 0 5 2 1 1 1 0 8 1 ppxss 1128 7 0 7 3 2 1 1 0 8 1 pffrag 232 10 0 10 2 1 1 1 0 482 1 pffrnode 88 10 0 10 2 1 1 1 0 8 1 pffrent 40 237 0 237 2 1 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 61 0 14 1 0 1 1 0 8 0 pfstkey 112 61 0 14 2 0 2 2 0 8 0 pfstate 328 61 0 14 4 0 4 4 0 8 0 pfrule 1360 21 0 16 2 1 1 2 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 625 0 405 17 0 17 17 0 8 1 art_table 32 626 0 405 3 0 3 3 0 8 0 art_node 16 120 0 85 1 0 1 1 0 8 0 sysvmsgpl 40 23 0 10 1 0 1 1 0 8 0 semupl 112 1 0 1 1 1 0 1 0 8 0 semapl 112 178 0 168 1 0 1 1 0 8 0 shmpl 112 87 0 8 3 0 3 3 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino1pl 128 2297 0 894 46 0 46 46 0 8 0 ffsino 272 2297 0 894 94 0 94 94 0 8 0 nchpl 144 3637 0 2030 60 0 60 60 0 8 0 uvmvnodes 72 2695 0 0 49 0 49 49 0 8 0 vnodes 208 2695 0 0 142 0 142 142 0 8 0 namei 1024 11200 0 11200 1 0 1 1 0 8 1 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 1 0 1 1 0 1 1 0 8 1 scxspl 192 11413 0 11413 10 7 3 7 0 8 3 plimitpl 152 67 0 58 1 0 1 1 0 8 0 sigapl 432 804 0 789 3 1 2 3 0 8 0 futexpl 56 13827 0 13827 1 0 1 1 0 8 1 knotepl 112 161 0 142 1 0 1 1 0 8 0 kqueuepl 104 129 0 127 1 0 1 1 0 8 0 pipepl 112 474 0 453 1 0 1 1 0 8 0 fdescpl 488 805 0 789 3 0 3 3 0 8 0 filepl 152 6356 0 6252 8 3 5 6 0 8 0 lockfpl 104 258 0 257 1 0 1 1 0 8 0 lockfspl 48 87 0 86 1 0 1 1 0 8 0 sessionpl 112 22 0 11 1 0 1 1 0 8 0 pgrppl 48 32 0 21 1 0 1 1 0 8 0 ucredpl 96 602 0 593 1 0 1 1 0 8 0 zombiepl 144 790 0 789 1 0 1 1 0 8 0 processpl 896 822 0 789 4 0 4 4 0 8 0 procpl 632 2079 0 2034 5 0 5 5 0 8 1 srpgc 64 4 0 4 2 2 0 1 0 8 0 sosppl 128 15 0 15 3 2 1 1 0 8 1 sockpl 384 1313 0 1291 9 3 6 6 0 8 3 mcl64k 65536 17 0 0 3 0 3 3 0 8 0 mcl16k 16384 2 0 0 1 0 1 1 0 8 0 mcl12k 12288 13 0 0 2 0 2 2 0 8 0 mcl9k 9216 5 0 0 1 0 1 1 0 8 0 mcl8k 8192 13 0 0 2 0 2 2 0 8 0 mcl4k 4096 7 0 0 1 0 1 1 0 8 0 mcl2k2 2112 3 0 0 1 0 1 1 0 8 0 mcl2k 2048 166 0 0 20 0 20 20 0 8 0 mtagpl 80 21 0 0 1 0 1 1 0 8 0 mbufpl 256 317 0 0 19 0 19 19 0 8 0 bufpl 256 8471 0 1413 442 0 442 442 0 8 0 anonpl 16 110820 0 93865 105 13 92 96 0 124 9 amapchunkpl 152 5279 0 5139 19 9 10 13 0 158 3 amappl16 192 4133 0 3023 76 17 59 67 0 8 3 amappl15 184 403 0 399 1 0 1 1 0 8 0 amappl14 176 132 0 126 1 0 1 1 0 8 0 amappl13 168 115 0 114 3 2 1 1 0 8 0 amappl12 160 14 0 13 1 0 1 1 0 8 0 amappl11 152 132 0 116 1 0 1 1 0 8 0 amappl10 144 108 0 99 1 0 1 1 0 8 0 amappl9 136 660 0 657 1 0 1 1 0 8 0 amappl8 128 231 0 194 2 0 2 2 0 8 0 amappl7 120 140 0 134 1 0 1 1 0 8 0 amappl6 112 130 0 119 1 0 1 1 0 8 0 amappl5 104 175 0 161 1 0 1 1 0 8 0 amappl4 96 1161 0 1127 1 0 1 1 0 8 0 amappl3 88 202 0 196 1 0 1 1 0 8 0 amappl2 80 5472 0 5396 3 1 2 3 0 8 0 amappl1 72 27684 0 27248 26 16 10 20 0 8 0 amappl 80 2404 0 2358 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 88 0 8 2 0 2 2 0 8 0 uaddrrnd 24 807 0 789 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 807 0 789 1 0 1 1 0 8 0 vmmpekpl 168 10525 0 10489 2 0 2 2 0 8 0 vmmpepl 168 109681 0 107409 161 17 144 144 0 357 40 vmsppl 368 804 0 789 2 0 2 2 0 8 0 pdppl 4096 1621 0 1580 6 0 6 6 0 8 0 pvpl 32 323066 0 302887 231 12 219 226 0 265 28 pmappl 232 806 0 789 2 0 2 2 0 8 0 extentpl 40 41 0 26 1 0 1 1 0 8 0 phpool 112 619 0 4 18 0 18 18 0 8 0