uvm_fault(0xfffffd807f00b8a0, 0x20394c, 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(0xfffffd807f00b8a0, 0x20394c, 0, 1) -> e in6_purgeaddr(ffff800000a48300) at in6_purgeaddr+0x135 sys/netinet6/in6.c:914 end trace frame: 0xffff800021b7f0b0, count: 0 ddb{1}> trace in6_purgeaddr(ffff800000a48300) at in6_purgeaddr+0x135 sys/netinet6/in6.c:914 in6_ifdetach(ffff800000a94800) at in6_ifdetach+0x74 sys/netinet6/in6_ifattach.c:422 if_detach(ffff800000a94800) at if_detach+0x155 sys/net/if.c:1110 tun_clone_destroy(ffff800000a94800) at tun_clone_destroy+0x1c7 sys/net/if_tun.c:278 ifioctl(fffffd8075cc8790,80206979,ffff800021b7f4e0,ffff800020abf3d8) at ifioctl+0x3f0 sys/net/if.c:1877 fifo_ioctl(ffff800021b7f328) at fifo_ioctl+0x9c sys/miscfs/fifofs/fifo_vnops.c:276 VOP_IOCTL(fffffd8063427288,80206979,ffff800021b7f4e0,1,fffffd807f7c6a80,ffff800020abf3d8) at VOP_IOCTL+0x88 sys/kern/vfs_vops.c:291 vn_ioctl(fffffd806fc0d980,80206979,ffff800021b7f4e0,ffff800020abf3d8) at vn_ioctl+0xb7 sys/kern/vfs_vnops.c:536 sys_ioctl(ffff800020abf3d8,ffff800021b7f5f8,ffff800021b7f640) at sys_ioctl+0x5b9 syscall(ffff800021b7f6c0) at syscall+0x4a4 mi_syscall sys/sys/syscall_mi.h:92 [inline] syscall(ffff800021b7f6c0) at syscall+0x4a4 sys/arch/amd64/amd64/trap.c:555 Xsyscall(6,0,ffffffffffffff36,0,3,569b5d6010) at Xsyscall+0x128 end of kernel end trace frame: 0x58b1cabad0, count: -11 ddb{1}> show registers rdi 0 rsi 0x3ffff acpi_pdirpa+0x2be67 rbp 0xffff800021b7f040 rbx 0 rdx 0x40000 acpi_pdirpa+0x2be68 rcx 0xffff800022d84000 rax 0 r8 0xffffffff82083cc4 rt_ifa_dellocal+0x44 r9 0x1 r10 0x18 r11 0x6e06423741883e82 r12 0x203944 acpi_pdirpa+0x1ef7ac r13 0 r14 0xffff800000a48300 r15 0xffff800000a94800 rip 0xffffffff8188d995 in6_purgeaddr+0x135 cs 0x8 rflags 0x10206 __ALIGN_SIZE+0xf206 rsp 0xffff800021b7efd0 ss 0x10 in6_purgeaddr+0x135: movq 0x8(%r12),%r13 ddb{1}> show proc PROC (syz-executor.1) pid=391732 stat=onproc flags process=0 proc=4000000 pri=59, usrpri=59, nice=20 forw=0xffffffffffffffff, list=0xffff800020abe018,0xffffffff8267a4c0 process=0xffff800020add880 user=0xffff800021b7a000, vmspace=0xfffffd807f00b8a0 estcpu=9, cpticks=1, pctcpu=0.0 user=0, sys=1, intr=0 ddb{1}> ps PID TID PPID UID S FLAGS WAIT COMMAND 50457 50076 80546 0 2 0 syz-executor.1 *50457 391732 80546 0 7 0x4000000 syz-executor.1 80546 173261 94164 0 3 0x82 nanosleep syz-executor.1 98415 346016 94164 0 3 0x82 nanosleep syz-executor.0 94164 264170 36236 0 3 0x82 thrsleep syz-fuzzer 94164 454343 36236 0 3 0x4000082 nanosleep syz-fuzzer 94164 214532 36236 0 3 0x4000082 kqread syz-fuzzer 94164 300140 36236 0 3 0x4000082 thrsleep syz-fuzzer 94164 358981 36236 0 3 0x4000082 thrsleep syz-fuzzer 94164 164018 36236 0 3 0x4000082 thrsleep syz-fuzzer 94164 402162 36236 0 3 0x4000082 thrsleep syz-fuzzer 94164 487181 36236 0 3 0x4000082 thrsleep syz-fuzzer 94164 277819 36236 0 3 0x4000082 nanosleep syz-fuzzer 94164 223942 36236 0 3 0x4000082 thrsleep syz-fuzzer 94164 187792 36236 0 3 0x4000082 thrsleep syz-fuzzer 36236 142028 31493 0 3 0x10008a pause ksh 31493 127279 84910 0 3 0x92 select sshd 25010 379184 1 0 3 0x100083 ttyin getty 84910 482960 1 0 3 0x80 select sshd 76067 308359 61522 74 3 0x100092 bpf pflogd 61522 19736 1 0 3 0x80 netio pflogd 4821 240462 34421 73 3 0x100090 kqread syslogd 34421 495130 1 0 3 0x100082 netio syslogd 11512 409358 1 77 2 0x100090 dhclient 55699 332688 1 0 3 0x80 poll dhclient 15018 134713 0 0 3 0x14200 pgzero zerothread 68651 464008 0 0 3 0x14200 aiodoned aiodoned 7203 11711 0 0 3 0x14200 syncer update 79646 318414 0 0 3 0x14200 cleaner cleaner 91132 320623 0 0 3 0x14200 reaper reaper 57711 486729 0 0 3 0x14200 pgdaemon pagedaemon 48312 17805 0 0 3 0x14200 bored crynlk 38348 414808 0 0 3 0x14200 bored crypto 32965 395953 0 0 3 0x40014200 acpi0 acpi0 96455 121126 0 0 3 0x40014200 idle1 43984 201943 0 0 3 0x14200 bored softnet 24337 363862 0 0 7 0x14200 systqmp 35742 309957 0 0 3 0x14200 bored systq 30083 84970 0 0 3 0x40014200 bored softclock 77545 465149 0 0 3 0x40014200 idle0 66749 204665 0 0 3 0x14200 bored smr 1 296580 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{1}> show all locks Process 50457 (syz-executor.1) thread 0xffff800020abf3d8 (391732) 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{1}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim Kern Lim devbuf 9505 6654K 6915K 78643K 10778 0 0 pcb 13 8K 8K 78643K 24 0 0 rtable 96 3K 4K 78643K 216 0 0 ifaddr 43 11K 11K 78643K 49 0 0 counters 39 33K 33K 78643K 39 0 0 ioctlops 0 0K 4K 78643K 1471 0 0 iov 0 0K 12K 78643K 6 0 0 mount 1 1K 1K 78643K 1 0 0 vnodes 1223 77K 77K 78643K 1300 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 4 0 0 VM map 2 1K 1K 78643K 2 0 0 sem 9 0K 0K 78643K 14 0 0 dirhash 12 2K 2K 78643K 12 0 0 ACPI 1808 196K 290K 78643K 12765 0 0 file desc 5 13K 25K 78643K 61 0 0 sigio 0 0K 0K 78643K 2 0 0 proc 60 63K 95K 78643K 444 0 0 subproc 32 2K 2K 78643K 34 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 1 0 0 in_multi 23 1K 2K 78643K 35 0 0 ether_multi 1 0K 0K 78643K 2 0 0 ISOFS mount 1 32K 32K 78643K 1 0 0 MSDOSFS mount 1 16K 16K 78643K 1 0 0 ttys 36 159K 159K 78643K 36 0 0 exec 0 0K 1K 78643K 209 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 105 22K 22K 78643K 1097 0 0 UVM aobj 7 2K 2K 78643K 7 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 8 0 0 NDP 7 0K 0K 78643K 12 0 0 temp 107 3551K 3625K 78643K 3938 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 6 0 1 1 0 1 1 0 8 0 plcache 128 20 0 0 1 0 1 1 0 8 0 rtpcb 80 19 0 17 1 0 1 1 0 8 0 rtentry 112 46 0 8 2 0 2 2 0 8 0 unpcb 120 65 0 52 1 0 1 1 0 8 0 syncache 264 4 0 4 1 1 0 1 0 8 0 tcpqe 32 8 0 8 1 0 1 1 0 8 1 tcpcb 544 18 0 14 1 0 1 1 0 8 0 inpcb 280 89 0 82 2 0 2 2 0 8 1 nd6 48 5 0 2 1 0 1 1 0 8 0 ppxss 1128 1 0 1 1 0 1 1 0 8 1 pffrag 232 3 0 3 1 0 1 1 0 482 1 pffrnode 88 3 0 3 1 0 1 1 0 8 1 pffrent 40 92 0 92 1 0 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 16 0 0 1 0 1 1 0 8 0 pfstkey 112 16 0 0 1 0 1 1 0 8 0 pfstate 328 16 0 0 2 0 2 2 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 227 0 2 15 0 15 15 0 8 0 art_table 32 228 0 2 2 0 2 2 0 8 0 art_node 16 45 0 7 1 0 1 1 0 8 0 semupl 112 1 0 1 1 0 1 1 0 8 1 semapl 112 8 0 1 1 0 1 1 0 8 0 shmpl 112 5 0 0 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino1pl 128 1469 0 63 46 0 46 46 0 8 0 ffsino 272 1469 0 63 94 0 94 94 0 8 0 nchpl 144 1749 0 134 60 0 60 60 0 8 0 uvmvnodes 72 1584 0 0 29 0 29 29 0 8 0 vnodes 208 1584 0 0 84 0 84 84 0 8 0 namei 1024 4538 0 4538 1 0 1 1 0 8 1 percpumem 16 30 0 0 1 0 1 1 0 8 0 scxspl 192 4795 0 4795 8 1 7 7 0 8 7 plimitpl 152 17 0 9 1 0 1 1 0 8 0 sigapl 432 259 0 244 3 0 3 3 0 8 1 futexpl 56 851 0 851 1 0 1 1 0 8 1 knotepl 112 57 0 38 1 0 1 1 0 8 0 kqueuepl 104 33 0 31 1 0 1 1 0 8 0 pipepl 112 182 0 161 2 0 2 2 0 8 1 fdescpl 488 260 0 244 3 0 3 3 0 8 0 filepl 152 1492 0 1389 6 0 6 6 0 8 2 lockfpl 104 9 0 8 1 0 1 1 0 8 0 lockfspl 48 5 0 4 1 0 1 1 0 8 0 sessionpl 112 18 0 7 1 0 1 1 0 8 0 pgrppl 48 18 0 7 1 0 1 1 0 8 0 ucredpl 96 73 0 64 1 0 1 1 0 8 0 zombiepl 144 244 0 243 1 0 1 1 0 8 0 processpl 896 275 0 243 4 0 4 4 0 8 0 procpl 632 342 0 299 5 0 5 5 0 8 1 srpgc 64 2 0 0 1 0 1 1 0 8 0 sockpl 384 176 0 154 5 0 5 5 0 8 2 mcl64k 65536 3 0 0 1 0 1 1 0 8 0 mcl12k 12288 1 0 0 1 0 1 1 0 8 0 mcl8k 8192 3 0 0 1 0 1 1 0 8 0 mcl4k 4096 4 0 0 1 0 1 1 0 8 0 mcl2k2 2112 1 0 0 1 0 1 1 0 8 0 mcl2k 2048 145 0 0 18 0 18 18 0 8 0 mtagpl 80 3 0 0 1 0 1 1 0 8 0 mbufpl 256 224 0 0 14 0 14 14 0 8 0 bufpl 256 6238 0 1310 308 0 308 308 0 8 0 anonpl 16 42191 0 24102 75 1 74 74 0 124 0 amapchunkpl 152 1353 0 1214 8 0 8 8 0 158 0 amappl16 192 1248 0 252 51 0 51 51 0 8 1 amappl14 176 47 0 42 1 0 1 1 0 8 0 amappl12 160 12 0 8 1 0 1 1 0 8 0 amappl11 152 72 0 56 1 0 1 1 0 8 0 amappl10 144 29 0 23 1 0 1 1 0 8 0 amappl9 136 600 0 597 1 0 1 1 0 8 0 amappl8 128 158 0 136 1 0 1 1 0 8 0 amappl7 120 49 0 45 1 0 1 1 0 8 0 amappl6 112 82 0 69 1 0 1 1 0 8 0 amappl5 104 132 0 117 1 0 1 1 0 8 0 amappl4 96 508 0 478 1 0 1 1 0 8 0 amappl3 88 107 0 102 1 0 1 1 0 8 0 amappl2 80 1163 0 1092 3 0 3 3 0 8 1 amappl1 72 15751 0 15317 25 9 16 20 0 8 6 amappl 80 596 0 551 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 6 0 0 1 0 1 1 0 8 0 uaddrrnd 24 260 0 244 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 260 0 244 1 0 1 1 0 8 0 vmmpekpl 168 6194 0 6163 3 1 2 2 0 8 0 vmmpepl 168 39355 0 37231 138 3 135 135 0 357 42 vmsppl 368 259 0 244 2 0 2 2 0 8 0 pdppl 4096 527 0 488 6 0 6 6 0 8 0 pvpl 32 143281 0 122011 179 0 179 179 0 265 3 pmappl 232 259 0 244 2 0 2 2 0 8 1 extentpl 40 41 0 26 1 0 1 1 0 8 0 phpool 112 470 0 3 14 0 14 14 0 8 0