uvm_fault(0xfffffd80084928a0, 0xc, 0, 1) -> e kernel: page fault trap, code=0 Stopped at pf_addr_compare+0x47: movl 0xc(%r15),%r12d ddb{1}> ddb{1}> set $lines = 0 ddb{1}> set $maxwidth = 0 ddb{1}> show panic kernel page fault uvm_fault(0xfffffd80084928a0, 0xc, 0, 1) -> e pf_addr_compare(0,ffff8000222e0eb0,18) at pf_addr_compare+0x47 sys/net/pf.c:333 end trace frame: 0xffff8000222e0e70, count: 0 ddb{1}> trace pf_addr_compare(0,ffff8000222e0eb0,18) at pf_addr_compare+0x47 sys/net/pf.c:333 pflog_packet(ffff8000222e0e98,8,ffffffff828bff88,0,0,0) at pflog_packet+0x3e7 sys/net/if_pflog.c:236 pf_test(18,1,ffff800000ae5000,ffff8000222e1168) at pf_test+0xfd2 sys/net/pf.c:7206 ip6_input_if(ffff8000222e1168,ffff8000222e1174,29,0,ffff800000ae5000) at ip6_input_if+0x945 sys/netinet6/ip6_input.c:300 ipv6_input(ffff800000ae5000,fffffd806f316300) at ipv6_input+0x48 sys/netinet6/ip6_input.c:171 tun_dev_write(5d00,ffff8000222e1458,ffff8000212ae000,2) at tun_dev_write+0x204 sys/net/if_tun.c:870 spec_write(ffff8000222e12b0) at spec_write+0xd4 sys/kern/spec_vnops.c:309 VOP_WRITE(fffffd806e37a5c8,ffff8000222e1458,11,fffffd807f7b7480) at VOP_WRITE+0xc6 sys/kern/vfs_vops.c:274 vn_write(fffffd8066696998,ffff8000222e1458,0) at vn_write+0x14e sys/kern/vfs_vnops.c:414 dofilewritev(ffff80002123cfc0,f0,ffff8000222e1458,0,ffff8000222e1540) at dofilewritev+0x1ab sys/kern/sys_generic.c:365 sys_write(ffff80002123cfc0,ffff8000222e14f0,ffff8000222e1540) at sys_write+0x83 sys/kern/sys_generic.c:285 syscall(ffff8000222e15c0) at syscall+0x4a1 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff8000222e15c0) at syscall+0x4a1 sys/arch/amd64/amd64/trap.c:590 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x991398b06c0, count: -13 ddb{1}> show registers rdi 0x18 rsi 0xffffffff8270a410 __sancov_gen_cov_switch_values.133 rbp 0xffff8000222e0d70 rbx 0x18 rdx 0xffff800000afa900 rcx 0x2 rax 0xffff80002123cfc0 r8 0xffffffff819cefab pf_addr_compare+0x3b r9 0x1 r10 0x806ce1c5452b78c6 r11 0x991610e16212a7e8 r12 0x18 r13 0xffff800000044ac0 r14 0xffff8000222e0eb0 r15 0 rip 0xffffffff819cefb7 pf_addr_compare+0x47 cs 0x8 rflags 0x10246 __ALIGN_SIZE+0xf246 rsp 0xffff8000222e0d20 ss 0x10 pf_addr_compare+0x47: movl 0xc(%r15),%r12d ddb{1}> show proc PROC (syz-executor.0) pid=12081 stat=onproc flags process=0 proc=4000000 pri=86, usrpri=86, nice=20 forw=0xffffffffffffffff, list=0xffff80002123c540,0xffffffff828c8868 process=0xffff8000212350f0 user=0xffff8000222dc000, vmspace=0xfffffd80084928a0 estcpu=36, cpticks=1, pctcpu=0.0 user=0, sys=1, intr=0 ddb{1}> ps PID TID PPID UID S FLAGS WAIT COMMAND 28399 456951 46244 0 7 0 syz-executor.0 *28399 12081 46244 0 7 0x4000000 syz-executor.0 46569 405014 2800 0 3 0x82 nanoslp syz-executor.1 46244 230688 2800 0 3 0x82 nanoslp syz-executor.0 2800 134590 42388 0 3 0x82 thrsleep syz-fuzzer 2800 409444 42388 0 3 0x4000082 nanoslp syz-fuzzer 2800 115688 42388 0 3 0x4000082 kqread syz-fuzzer 2800 187386 42388 0 3 0x4000082 thrsleep syz-fuzzer 2800 430686 42388 0 3 0x4000082 thrsleep syz-fuzzer 2800 148720 42388 0 3 0x4000082 thrsleep syz-fuzzer 2800 96937 42388 0 3 0x4000082 thrsleep syz-fuzzer 2800 303963 42388 0 3 0x4000082 thrsleep syz-fuzzer 42388 334547 58648 0 3 0x10008a sigsusp ksh 58648 511900 51142 0 3 0x92 select sshd 40447 127716 1 0 3 0x100083 ttyin getty 51142 428458 1 0 3 0x80 select sshd 34439 422585 73837 74 3 0x100092 bpf pflogd 73837 408800 1 0 3 0x80 netio pflogd 9833 244328 63305 73 3 0x100090 kqread syslogd 63305 74189 1 0 3 0x100082 netio syslogd 56861 343718 1 77 3 0x100090 poll dhclient 96205 474600 1 0 3 0x80 poll dhclient 34973 111617 0 0 3 0x14200 bored smr 32887 279691 0 0 2 0x14200 zerothread 75747 133847 0 0 3 0x14200 aiodoned aiodoned 61487 43650 0 0 3 0x14200 syncer update 34036 155346 0 0 3 0x14200 cleaner cleaner 3345 237118 0 0 3 0x14200 reaper reaper 95820 230164 0 0 3 0x14200 pgdaemon pagedaemon 1801 417698 0 0 3 0x14200 bored crynlk 37128 469422 0 0 3 0x14200 bored crypto 48965 250963 0 0 3 0x14200 bored viomb 90523 38911 0 0 3 0x40014200 acpi0 acpi0 37318 125262 0 0 3 0x40014200 idle1 43085 317389 0 0 3 0x14200 bored softnet 8907 451041 0 0 3 0x14200 bored systqmp 22366 58608 0 0 3 0x14200 bored systq 73438 356637 0 0 3 0x40014200 bored softclock 97499 411429 0 0 3 0x40014200 idle0 1 125316 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{1}> show all locks Process 28399 (syz-executor.0) thread 0xffff80002123cfc0 (12081) exclusive rwlock netlock r = 0 (0xffffffff826b8e70) #0 witness_lock+0x4b0 stacktrace_save sys/sys/stacktrace.h:36 [inline] #0 witness_lock+0x4b0 sys/kern/subr_witness.c:1176 #1 tun_dev_write+0x1f9 sys/net/if_tun.c:869 #2 spec_write+0xd4 sys/kern/spec_vnops.c:309 #3 VOP_WRITE+0xc6 sys/kern/vfs_vops.c:274 #4 vn_write+0x14e sys/kern/vfs_vnops.c:414 #5 dofilewritev+0x1ab sys/kern/sys_generic.c:365 #6 sys_write+0x83 sys/kern/sys_generic.c:285 #7 syscall+0x4a1 mi_syscall sys/sys/syscall_mi.h:102 [inline] #7 syscall+0x4a1 sys/arch/amd64/amd64/trap.c:590 #8 Xsyscall+0x128 exclusive kernel_lock &kernel_lock r = 1 (0xffffffff828b9f28) #0 witness_lock+0x4b0 stacktrace_save sys/sys/stacktrace.h:36 [inline] #0 witness_lock+0x4b0 sys/kern/subr_witness.c:1176 #1 vn_write+0x42 sys/kern/vfs_vnops.c:399 #2 dofilewritev+0x1ab sys/kern/sys_generic.c:365 #3 sys_write+0x83 sys/kern/sys_generic.c:285 #4 syscall+0x4a1 mi_syscall sys/sys/syscall_mi.h:102 [inline] #4 syscall+0x4a1 sys/arch/amd64/amd64/trap.c:590 #5 Xsyscall+0x128 ddb{1}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 9483 6416K 6546K 78643K 10608 0 pcb 13 8K 8K 78643K 25 0 rtable 105 3K 3K 78643K 199 0 ifaddr 44 10K 10K 78643K 45 0 counters 44 34K 34K 78643K 44 0 ioctlops 0 0K 4K 78643K 1473 0 iov 0 0K 0K 78643K 5 0 mount 1 1K 1K 78643K 1 0 vnodes 1219 77K 77K 78643K 1231 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 1K 78643K 2 0 VM map 2 1K 1K 78643K 2 0 sem 2 0K 0K 78643K 2 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1697 195K 286K 78643K 12598 0 file desc 5 13K 25K 78643K 12031 0 sigio 0 0K 0K 78643K 20 0 proc 60 63K 95K 78643K 448 0 subproc 32 2K 2K 78643K 34 0 NFS srvsock 1 0K 0K 78643K 1 0 NFS daemon 1 16K 16K 78643K 1 0 in_multi 33 2K 2K 78643K 33 0 ether_multi 1 0K 0K 78643K 1 0 ISOFS mount 1 32K 32K 78643K 1 0 MSDOSFS mount 1 16K 16K 78643K 1 0 ttys 31 148K 148K 78643K 31 0 exec 0 0K 2K 78643K 360 0 pagedep 1 8K 8K 78643K 1 0 inodedep 1 32K 32K 78643K 1 0 newblk 1 0K 0K 78643K 1 0 VM swap 7 26K 26K 78643K 7 0 UVM amap 204 34K 34K 78643K 25191 0 UVM aobj 3 2K 2K 78643K 3 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 NDP 6 0K 0K 78643K 10 0 temp 67 3972K 4036K 78643K 26044 0 kqueue 3 4K 5K 78643K 9 0 SYN cache 2 16K 16K 78643K 2 0 ddb{1}> show all pools Name Size Requests Fail Releases Pgreq Pgrel Npage Hiwat Minpg Maxpg Idle arp 64 6 0 0 1 0 1 1 0 8 0 plcache 128 20 0 0 1 0 1 1 0 8 0 rtpcb 120 19 0 17 1 0 1 1 0 8 0 rtentry 112 45 0 1 2 0 2 2 0 8 0 unpcb 120 54 0 44 1 0 1 1 0 8 0 syncache 296 4 0 4 1 1 0 1 0 8 0 tcpqe 32 219 0 219 1 1 0 1 0 8 0 tcpcb 736 14 0 10 1 0 1 1 0 8 0 inpcb 296 57 0 50 1 0 1 1 0 8 0 nd6 48 6 0 0 1 0 1 1 0 8 0 kcovpl 48 2 0 0 1 0 1 1 0 8 0 pfosfp 40 1428 0 1005 5 0 5 5 0 8 0 pfosfpen 112 1428 0 714 21 0 21 21 0 8 0 pfstitem 24 12 0 10 1 0 1 1 0 8 0 pfstkey 112 12 0 10 1 0 1 1 0 8 0 pfstate 328 12 0 10 1 0 1 1 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 189 0 0 12 0 12 12 0 8 0 art_table 32 190 0 0 2 0 2 2 0 8 0 art_node 16 44 0 4 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 13424 0 12020 88 0 88 88 0 8 0 ffsino 272 13424 0 12020 95 1 94 94 0 8 0 nchpl 144 25681 0 24076 60 0 60 60 0 8 0 uvmvnodes 72 5926 0 0 108 0 108 108 0 8 0 vnodes 224 5926 0 0 349 0 349 349 0 8 0 namei 1024 52648 0 52648 2 1 1 1 0 8 1 percpumem 16 33 0 0 1 0 1 1 0 8 0 scxspl 216 76918 0 76918 9 8 1 8 0 8 1 plimitpl 152 15 0 7 1 0 1 1 0 8 0 sigapl 424 12247 0 12215 4 0 4 4 0 8 0 futexpl 56 51436 0 51436 1 0 1 1 0 8 1 knotepl 112 66 0 46 1 0 1 1 0 8 0 kqueuepl 168 15935 0 15933 1 0 1 1 0 8 0 pipepl 336 1259 0 1248 2 1 1 2 0 8 0 fdescpl 496 12231 0 12215 3 0 3 3 0 8 0 filepl 152 31809 0 31707 6 1 5 5 0 8 1 lockfpl 104 89 0 88 1 0 1 1 0 8 0 lockfspl 48 39 0 38 1 0 1 1 0 8 0 sessionpl 144 18 0 7 1 0 1 1 0 8 0 pgrppl 48 18 0 7 1 0 1 1 0 8 0 ucredpl 96 88 0 79 1 0 1 1 0 8 0 zombiepl 144 12215 0 12214 2 1 1 1 0 8 0 processpl 1080 12247 0 12214 3 0 3 3 0 8 0 procpl 672 24537 0 24496 4 0 4 4 0 8 0 sockpl 432 130 0 111 3 0 3 3 0 8 0 mcl64k 65536 1 0 0 1 0 1 1 0 8 0 mcl16k 16384 1 0 0 1 0 1 1 0 8 0 mcl12k 12288 2 0 0 1 0 1 1 0 8 0 mcl8k 8192 1 0 0 1 0 1 1 0 8 0 mcl4k 4096 17 0 0 3 1 2 3 0 8 0 mcl2k2 2112 17 0 0 2 0 2 2 0 8 0 mcl2k 2048 229 0 0 24 2 22 24 0 8 0 mtagpl 96 1 0 0 1 0 1 1 0 8 0 mbufpl 256 311 0 0 15 0 15 15 0 8 0 bufpl 280 15336 0 9089 447 0 447 447 0 8 0 anonpl 24 743857 0 718473 155 1 154 154 0 186 0 amapchunkpl 152 38324 0 37581 30 1 29 30 0 158 0 amappl16 200 29558 0 28700 46 0 46 46 0 8 0 amappl15 192 1 0 0 1 0 1 1 0 8 0 amappl14 184 6056 0 6049 1 0 1 1 0 8 0 amappl13 176 27 0 24 1 0 1 1 0 8 0 amappl12 168 5975 0 5973 2 1 1 1 0 8 0 amappl11 160 60 0 43 1 0 1 1 0 8 0 amappl10 152 18 0 11 1 0 1 1 0 8 0 amappl9 144 286 0 285 1 0 1 1 0 8 0 amappl8 136 195 0 132 3 0 3 3 0 8 0 amappl7 128 248 0 238 1 0 1 1 0 8 0 amappl6 120 64 0 54 1 0 1 1 0 8 0 amappl5 112 12375 0 12357 1 0 1 1 0 8 0 amappl4 104 6257 0 6230 1 0 1 1 0 8 0 amappl3 96 127 0 119 1 0 1 1 0 8 0 amappl2 88 102977 0 102907 3 1 2 3 0 8 0 amappl1 80 334044 0 333574 27 16 11 21 0 8 0 amappl 88 24874 0 24746 3 0 3 3 0 92 0 dma4096 4096 1 0 1 1 1 0 1 0 8 0 dma1024 1024 1 0 0 1 0 1 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 2 0 0 1 0 1 1 0 8 0 uaddrrnd 24 12231 0 12215 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 12231 0 12215 1 0 1 1 0 8 0 vmmpekpl 168 56362 0 56331 3 1 2 2 0 8 0 vmmpepl 168 1504377 0 1502210 136 35 101 122 0 357 1 vmsppl 368 12230 0 12215 2 0 2 2 0 8 0 rwobjpl 56 296346 0 294703 30 6 24 24 0 8 0 pdppl 4096 24469 0 24430 64 23 41 45 0 8 2 pvpl 32 4195801 0 4167383 241 6 235 238 0 265 2 pmappl 232 12230 0 12215 2 1 1 2 0 8 0 extentpl 40 58 0 40 1 0 1 1 0 8 0 phpool 112 320 0 32 9 0 9 9 0 8 0 ddb{1}> machine ddbcpu 0 Stopped at x86_ipi_db+0x1a: addq $0x8,%rsp ddb{0}> trace x86_ipi_db(ffffffff82771ff0) at x86_ipi_db+0x1a sys/arch/amd64/amd64/db_interface.c:352 x86_ipi_handler() at x86_ipi_handler+0xb7 sys/arch/amd64/amd64/ipi.c:106 Xresume_lapic_ipi() at Xresume_lapic_ipi+0x23 __mp_lock(ffffffff828b9d20) at __mp_lock+0x122 __mp_lock_spin sys/kern/kern_lock.c:116 [inline] __mp_lock(ffffffff828b9d20) at __mp_lock+0x122 sys/kern/kern_lock.c:147 softintr_dispatch(0) at softintr_dispatch+0x4e sys/arch/amd64/amd64/softintr.c:90 Xsoftclock() at Xsoftclock+0x1f end of kernel end trace frame: 0x7f7ffffd4440, count: -6 ddb{0}> machine ddbcpu 1 Stopped at pf_addr_compare+0x47: movl 0xc(%r15),%r12d ddb{1}> trace pf_addr_compare(0,ffff8000222e0eb0,18) at pf_addr_compare+0x47 sys/net/pf.c:333 pflog_packet(ffff8000222e0e98,8,ffffffff828bff88,0,0,0) at pflog_packet+0x3e7 sys/net/if_pflog.c:236 pf_test(18,1,ffff800000ae5000,ffff8000222e1168) at pf_test+0xfd2 sys/net/pf.c:7206 ip6_input_if(ffff8000222e1168,ffff8000222e1174,29,0,ffff800000ae5000) at ip6_input_if+0x945 sys/netinet6/ip6_input.c:300 ipv6_input(ffff800000ae5000,fffffd806f316300) at ipv6_input+0x48 sys/netinet6/ip6_input.c:171 tun_dev_write(5d00,ffff8000222e1458,ffff8000212ae000,2) at tun_dev_write+0x204 sys/net/if_tun.c:870 spec_write(ffff8000222e12b0) at spec_write+0xd4 sys/kern/spec_vnops.c:309 VOP_WRITE(fffffd806e37a5c8,ffff8000222e1458,11,fffffd807f7b7480) at VOP_WRITE+0xc6 sys/kern/vfs_vops.c:274 vn_write(fffffd8066696998,ffff8000222e1458,0) at vn_write+0x14e sys/kern/vfs_vnops.c:414 dofilewritev(ffff80002123cfc0,f0,ffff8000222e1458,0,ffff8000222e1540) at dofilewritev+0x1ab sys/kern/sys_generic.c:365 sys_write(ffff80002123cfc0,ffff8000222e14f0,ffff8000222e1540) at sys_write+0x83 sys/kern/sys_generic.c:285 syscall(ffff8000222e15c0) at syscall+0x4a1 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff8000222e15c0) at syscall+0x4a1 sys/arch/amd64/amd64/trap.c:590 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x991398b06c0, count: -13