uvm_fault(0xfffffd80084922e0, 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(0xfffffd80084922e0, 0xc, 0, 1) -> e pf_addr_compare(0,ffff8000212c0d20,18) at pf_addr_compare+0x47 sys/net/pf.c:333 end trace frame: 0xffff8000212c0ce0, count: 0 ddb{1}> trace pf_addr_compare(0,ffff8000212c0d20,18) at pf_addr_compare+0x47 sys/net/pf.c:333 pflog_packet(ffff8000212c0d08,8,ffffffff828bff88,0,0,0) at pflog_packet+0x3e7 sys/net/if_pflog.c:236 pf_test(18,1,ffff800000b17000,ffff8000212c0fd8) at pf_test+0xfd2 sys/net/pf.c:7206 ip6_input_if(ffff8000212c0fd8,ffff8000212c0fe4,29,0,ffff800000b17000) at ip6_input_if+0x945 sys/netinet6/ip6_input.c:300 ipv6_input(ffff800000b17000,fffffd806f4f6400) at ipv6_input+0x48 sys/netinet6/ip6_input.c:171 tun_dev_write(5d01,ffff8000212c12c8,ffff8000234ca000,2) at tun_dev_write+0x204 sys/net/if_tun.c:870 spec_write(ffff8000212c1120) at spec_write+0xd4 sys/kern/spec_vnops.c:309 VOP_WRITE(fffffd806e3e0088,ffff8000212c12c8,11,fffffd807f7b7900) at VOP_WRITE+0xc6 sys/kern/vfs_vops.c:274 vn_write(fffffd8068720d30,ffff8000212c12c8,0) at vn_write+0x14e sys/kern/vfs_vnops.c:414 dofilewritev(ffff800021279500,f0,ffff8000212c12c8,0,ffff8000212c13b0) at dofilewritev+0x1ab sys/kern/sys_generic.c:365 sys_write(ffff800021279500,ffff8000212c1360,ffff8000212c13b0) at sys_write+0x83 sys/kern/sys_generic.c:285 syscall(ffff8000212c1430) at syscall+0x4a1 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff8000212c1430) at syscall+0x4a1 sys/arch/amd64/amd64/trap.c:590 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xeb3eb5c4f80, count: -13 ddb{1}> show registers rdi 0x18 rsi 0xffffffff8270a410 __sancov_gen_cov_switch_values.133 rbp 0xffff8000212c0be0 rbx 0x18 rdx 0xffff800000ac65c0 rcx 0x2 rax 0xffff800021279500 r8 0xffffffff819cefab pf_addr_compare+0x3b r9 0x1 r10 0xe96fccd0e72769c5 r11 0x231514a4458e3d4 r12 0x18 r13 0xffff800000044ac0 r14 0xffff8000212c0d20 r15 0 rip 0xffffffff819cefb7 pf_addr_compare+0x47 cs 0x8 rflags 0x10246 __ALIGN_SIZE+0xf246 rsp 0xffff8000212c0b90 ss 0x10 pf_addr_compare+0x47: movl 0xc(%r15),%r12d ddb{1}> show proc PROC (syz-executor.1) pid=64744 stat=onproc flags process=0 proc=4000000 pri=69, usrpri=69, nice=20 forw=0xffffffffffffffff, list=0xffff800021278000,0xffffffff828c8868 process=0xffff800021235528 user=0xffff8000212bc000, vmspace=0xfffffd80084922e0 estcpu=36, cpticks=1, pctcpu=0.0 user=0, sys=1, intr=0 ddb{1}> ps PID TID PPID UID S FLAGS WAIT COMMAND 28244 217847 62998 0 7 0 syz-executor.1 *28244 64744 62998 0 7 0x4000000 syz-executor.1 45309 38095 0 0 3 0x14200 bored sosplice 62998 35565 35443 0 3 0x82 nanoslp syz-executor.1 38752 70769 35443 0 3 0x82 nanoslp syz-executor.0 35443 280746 17087 0 3 0x82 thrsleep syz-fuzzer 35443 272165 17087 0 3 0x4000082 nanoslp syz-fuzzer 35443 360980 17087 0 3 0x4000082 thrsleep syz-fuzzer 35443 363948 17087 0 3 0x4000082 thrsleep syz-fuzzer 35443 54037 17087 0 3 0x4000082 thrsleep syz-fuzzer 35443 498930 17087 0 3 0x4000082 thrsleep syz-fuzzer 35443 507482 17087 0 3 0x4000082 thrsleep syz-fuzzer 35443 464684 17087 0 3 0x4000082 kqread syz-fuzzer 17087 292228 20934 0 3 0x10008a sigsusp ksh 20934 509749 36291 0 3 0x92 select sshd 1318 99718 1 0 3 0x100083 ttyin getty 36291 350771 1 0 3 0x80 select sshd 51621 470850 3945 74 3 0x100092 bpf pflogd 3945 156526 1 0 3 0x80 netio pflogd 53406 345923 53035 73 3 0x100090 kqread syslogd 53035 290654 1 0 3 0x100082 netio syslogd 13828 462053 1 77 3 0x100090 poll dhclient 37218 395327 1 0 3 0x80 poll dhclient 79115 263277 0 0 3 0x14200 bored smr 20089 374066 0 0 2 0x14200 zerothread 21429 485077 0 0 3 0x14200 aiodoned aiodoned 32345 312480 0 0 3 0x14200 syncer update 30646 406829 0 0 3 0x14200 cleaner cleaner 35091 330245 0 0 3 0x14200 reaper reaper 50735 339104 0 0 3 0x14200 pgdaemon pagedaemon 32021 206323 0 0 3 0x14200 bored crynlk 2307 179157 0 0 3 0x14200 bored crypto 9571 437983 0 0 3 0x14200 bored viomb 2005 43673 0 0 3 0x40014200 acpi0 acpi0 69950 212390 0 0 3 0x40014200 idle1 96593 293572 0 0 3 0x14200 bored softnet 56790 88156 0 0 3 0x14200 bored systqmp 54208 25882 0 0 3 0x14200 bored systq 36299 389477 0 0 3 0x40014200 bored softclock 86736 262300 0 0 3 0x40014200 idle0 1 149318 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{1}> show all locks Process 28244 (syz-executor.1) thread 0xffff800021279500 (64744) 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 9491 6419K 6933K 78643K 11100 0 pcb 13 8K 8K 78643K 45 0 rtable 105 3K 4K 78643K 248 0 ifaddr 49 11K 11K 78643K 50 0 sysctl 2 0K 0K 78643K 2 0 counters 44 34K 34K 78643K 44 0 ioctlops 0 0K 4K 78643K 1482 0 iov 0 0K 8K 78643K 22 0 mount 1 1K 1K 78643K 1 0 vnodes 1225 77K 77K 78643K 1436 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 5K 78643K 16 0 VM map 2 1K 1K 78643K 2 0 sem 9 0K 0K 78643K 9 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1697 195K 286K 78643K 12598 0 file desc 5 13K 25K 78643K 767 0 sigio 0 0K 0K 78643K 11 0 proc 62 63K 95K 78643K 505 0 subproc 32 2K 2K 78643K 34 0 NFS srvsock 1 0K 0K 78643K 1 0 NFS daemon 1 16K 16K 78643K 1 0 ip_moptions 0 0K 0K 78643K 71 0 in_multi 33 2K 2K 78643K 104 0 ether_multi 1 0K 0K 78643K 12 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 363 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 141 27K 27K 78643K 2460 0 UVM aobj 13 7K 7K 78643K 13 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 18 0 NDP 7 0K 0K 78643K 11 0 temp 90 3976K 4040K 78643K 5402 0 kqueue 3 4K 6K 78643K 7 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 49 0 47 1 0 1 1 0 8 0 rtentry 112 45 0 1 2 0 2 2 0 8 0 unpcb 120 259 0 249 1 0 1 1 0 8 0 syncache 296 9 0 9 2 2 0 1 0 8 0 tcpqe 32 108 0 108 1 1 0 1 0 8 0 tcpcb 736 160 0 156 3 0 3 3 0 8 2 inpcb 296 360 0 353 2 1 1 2 0 8 0 nd6 48 6 0 0 1 0 1 1 0 8 0 pkpcb 40 10 0 10 1 1 0 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 15 0 3 1 0 1 1 0 8 0 pfstkey 112 15 0 3 1 0 1 1 0 8 0 pfstate 328 15 0 3 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 188 0 0 12 0 12 12 0 8 0 art_table 32 189 0 0 2 0 2 2 0 8 0 art_node 16 44 0 4 1 0 1 1 0 8 0 sysvmsgpl 40 5 0 5 1 0 1 1 0 8 1 semupl 112 5 0 5 1 1 0 1 0 8 0 semapl 112 7 0 0 1 0 1 1 0 8 0 shmpl 112 10 0 0 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 2387 0 982 90 1 89 89 0 8 0 ffsino 272 2387 0 982 95 0 95 95 0 8 0 nchpl 144 3473 0 1868 60 0 60 60 0 8 0 uvmvnodes 72 2591 0 0 48 0 48 48 0 8 0 vnodes 224 2591 0 0 153 0 153 153 0 8 0 namei 1024 8687 0 8687 1 0 1 1 0 8 1 percpumem 16 33 0 0 1 0 1 1 0 8 0 scxspl 216 10163 0 10163 10 4 6 8 0 8 6 plimitpl 152 50 0 42 1 0 1 1 0 8 0 sigapl 424 984 0 951 4 0 4 4 0 8 0 futexpl 56 4790 0 4790 1 0 1 1 0 8 1 knotepl 112 67 0 47 1 0 1 1 0 8 0 kqueuepl 168 242 0 240 1 0 1 1 0 8 0 pipepl 336 91 0 80 2 0 2 2 0 8 1 fdescpl 496 967 0 951 3 0 3 3 0 8 0 filepl 152 3314 0 3212 6 0 6 6 0 8 1 lockfpl 104 41 0 40 1 0 1 1 0 8 0 lockfspl 48 20 0 19 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 324 0 315 1 0 1 1 0 8 0 zombiepl 144 951 0 950 1 0 1 1 0 8 0 processpl 1080 984 0 950 3 0 3 3 0 8 0 procpl 672 1849 0 1807 4 0 4 4 0 8 0 sosppl 168 10 0 10 1 1 0 1 0 8 0 sockpl 432 686 0 667 6 1 5 6 0 8 2 mcl64k 65536 2 0 0 1 0 1 1 0 8 0 mcl9k 9216 1 0 0 1 0 1 1 0 8 0 mcl8k 8192 3 0 0 1 0 1 1 0 8 0 mcl4k 4096 7 0 0 1 0 1 1 0 8 0 mcl2k 2048 230 0 0 28 0 28 28 0 8 0 mtagpl 96 13 0 0 1 0 1 1 0 8 0 mbufpl 256 359 0 0 22 0 22 22 0 8 0 bufpl 280 4224 0 181 289 0 289 289 0 8 0 anonpl 24 83399 0 68868 91 2 89 89 0 186 1 amapchunkpl 152 3878 0 3501 18 1 17 17 0 158 0 amappl16 200 2934 0 2387 31 1 30 30 0 8 1 amappl15 192 2 0 0 1 0 1 1 0 8 0 amappl14 184 372 0 367 1 0 1 1 0 8 0 amappl13 176 26 0 24 1 0 1 1 0 8 0 amappl12 168 10 0 9 2 1 1 1 0 8 0 amappl11 160 448 0 428 2 1 1 2 0 8 0 amappl10 152 18 0 13 1 0 1 1 0 8 0 amappl9 144 284 0 282 1 0 1 1 0 8 0 amappl8 136 156 0 116 2 0 2 2 0 8 0 amappl7 128 243 0 236 1 0 1 1 0 8 0 amappl6 120 68 0 57 1 0 1 1 0 8 0 amappl5 112 1507 0 1489 1 0 1 1 0 8 0 amappl4 104 279 0 256 1 0 1 1 0 8 0 amappl3 96 124 0 116 1 0 1 1 0 8 0 amappl2 88 7276 0 7202 3 1 2 3 0 8 0 amappl1 80 34339 0 33872 27 15 12 21 0 8 0 amappl 88 2147 0 2063 2 0 2 2 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 12 0 0 1 0 1 1 0 8 0 uaddrrnd 24 967 0 951 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 967 0 951 1 0 1 1 0 8 0 vmmpekpl 168 8667 0 8643 2 0 2 2 0 8 0 vmmpepl 168 125873 0 124097 99 15 84 92 0 357 6 vmsppl 368 966 0 951 2 0 2 2 0 8 0 rwobjpl 56 27460 0 26201 24 5 19 19 0 8 1 pdppl 4096 1941 0 1902 57 16 41 45 0 8 2 pvpl 32 361891 0 344308 149 0 149 149 0 265 5 pmappl 232 966 0 951 2 1 1 2 0 8 0 extentpl 40 58 0 40 1 0 1 1 0 8 0 phpool 112 324 0 20 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: 0x7f7ffffecbc0, count: -6 ddb{0}> machine ddbcpu 1 Stopped at pf_addr_compare+0x47: movl 0xc(%r15),%r12d ddb{1}> trace pf_addr_compare(0,ffff8000212c0d20,18) at pf_addr_compare+0x47 sys/net/pf.c:333 pflog_packet(ffff8000212c0d08,8,ffffffff828bff88,0,0,0) at pflog_packet+0x3e7 sys/net/if_pflog.c:236 pf_test(18,1,ffff800000b17000,ffff8000212c0fd8) at pf_test+0xfd2 sys/net/pf.c:7206 ip6_input_if(ffff8000212c0fd8,ffff8000212c0fe4,29,0,ffff800000b17000) at ip6_input_if+0x945 sys/netinet6/ip6_input.c:300 ipv6_input(ffff800000b17000,fffffd806f4f6400) at ipv6_input+0x48 sys/netinet6/ip6_input.c:171 tun_dev_write(5d01,ffff8000212c12c8,ffff8000234ca000,2) at tun_dev_write+0x204 sys/net/if_tun.c:870 spec_write(ffff8000212c1120) at spec_write+0xd4 sys/kern/spec_vnops.c:309 VOP_WRITE(fffffd806e3e0088,ffff8000212c12c8,11,fffffd807f7b7900) at VOP_WRITE+0xc6 sys/kern/vfs_vops.c:274 vn_write(fffffd8068720d30,ffff8000212c12c8,0) at vn_write+0x14e sys/kern/vfs_vnops.c:414 dofilewritev(ffff800021279500,f0,ffff8000212c12c8,0,ffff8000212c13b0) at dofilewritev+0x1ab sys/kern/sys_generic.c:365 sys_write(ffff800021279500,ffff8000212c1360,ffff8000212c13b0) at sys_write+0x83 sys/kern/sys_generic.c:285 syscall(ffff8000212c1430) at syscall+0x4a1 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff8000212c1430) at syscall+0x4a1 sys/arch/amd64/amd64/trap.c:590 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xeb3eb5c4f80, count: -13