uvm_fault(0xfffffd8008492000, 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(0xfffffd8008492000, 0xc, 0, 1) -> e pf_addr_compare(0,ffff8000234c8b90,18) at pf_addr_compare+0x47 sys/net/pf.c:333 end trace frame: 0xffff8000234c8b50, count: 0 ddb{1}> trace pf_addr_compare(0,ffff8000234c8b90,18) at pf_addr_compare+0x47 sys/net/pf.c:333 pflog_packet(ffff8000234c8b78,3,ffffffff828bff88,0,0,0) at pflog_packet+0x3e7 sys/net/if_pflog.c:236 pf_test(18,1,ffff800000ae5000,ffff8000234c8e48) at pf_test+0xfd2 sys/net/pf.c:7206 ip6_input_if(ffff8000234c8e48,ffff8000234c8e54,29,0,ffff800000ae5000) at ip6_input_if+0x945 sys/netinet6/ip6_input.c:300 ipv6_input(ffff800000ae5000,fffffd806d5e6c00) at ipv6_input+0x48 sys/netinet6/ip6_input.c:171 tun_dev_write(5d00,ffff8000234c9138,ffff8000212ac000,2) at tun_dev_write+0x204 sys/net/if_tun.c:870 spec_write(ffff8000234c8f90) at spec_write+0xd4 sys/kern/spec_vnops.c:309 VOP_WRITE(fffffd806e9144e8,ffff8000234c9138,11,fffffd807f7b77e0) at VOP_WRITE+0xc6 sys/kern/vfs_vops.c:274 vn_write(fffffd807654f1e0,ffff8000234c9138,0) at vn_write+0x14e sys/kern/vfs_vnops.c:414 dofilewritev(ffff800021288540,f0,ffff8000234c9138,0,ffff8000234c9220) at dofilewritev+0x1ab sys/kern/sys_generic.c:365 sys_write(ffff800021288540,ffff8000234c91d0,ffff8000234c9220) at sys_write+0x83 sys/kern/sys_generic.c:285 syscall(ffff8000234c92a0) at syscall+0x4a1 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff8000234c92a0) at syscall+0x4a1 sys/arch/amd64/amd64/trap.c:590 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xcaa59b69150, count: -13 ddb{1}> show registers rdi 0x18 rsi 0xffffffff8270a410 __sancov_gen_cov_switch_values.133 rbp 0xffff8000234c8a50 rbx 0x18 rdx 0xffff800000afa080 rcx 0x2 rax 0xffff800021288540 r8 0xffffffff819cefab pf_addr_compare+0x3b r9 0x1 r10 0x3d6514dd53dcf7ab r11 0xfc17860186521601 r12 0x18 r13 0xffff8000000449c0 r14 0xffff8000234c8b90 r15 0 rip 0xffffffff819cefb7 pf_addr_compare+0x47 cs 0x8 rflags 0x10246 __ALIGN_SIZE+0xf246 rsp 0xffff8000234c8a00 ss 0x10 pf_addr_compare+0x47: movl 0xc(%r15),%r12d ddb{1}> show proc PROC (syz-executor.0) pid=278227 stat=onproc flags process=0 proc=4000000 pri=32, usrpri=83, nice=20 forw=0xffffffffffffffff, list=0xffff800021288a80,0xffffffff828c8868 process=0xffff800021234cb8 user=0xffff8000234c4000, vmspace=0xfffffd8008492000 estcpu=36, cpticks=1, pctcpu=0.0 user=0, sys=1, intr=0 ddb{1}> ps PID TID PPID UID S FLAGS WAIT COMMAND 19824 414926 7469 0 7 0 syz-executor.0 *19824 278227 7469 0 7 0x4000000 syz-executor.0 74119 247794 24764 0 3 0x2 biowait syz-executor.1 7469 415476 24764 0 3 0x82 nanoslp syz-executor.0 24764 237043 65836 0 3 0x82 thrsleep syz-fuzzer 24764 478738 65836 0 3 0x4000082 nanoslp syz-fuzzer 24764 477512 65836 0 3 0x4000082 thrsleep syz-fuzzer 24764 437310 65836 0 3 0x4000082 kqread syz-fuzzer 24764 269338 65836 0 3 0x4000082 thrsleep syz-fuzzer 24764 317141 65836 0 3 0x4000082 thrsleep syz-fuzzer 24764 335725 65836 0 3 0x4000082 thrsleep syz-fuzzer 24764 448912 65836 0 3 0x4000082 nanoslp syz-fuzzer 65836 97765 6257 0 3 0x10008a sigsusp ksh 6257 129900 4008 0 3 0x92 select sshd 21050 439630 1 0 3 0x100083 ttyin getty 4008 282587 1 0 3 0x80 select sshd 87158 216823 64180 74 3 0x100092 bpf pflogd 64180 15976 1 0 3 0x80 netio pflogd 14623 492438 7989 73 3 0x100090 kqread syslogd 7989 83493 1 0 3 0x100082 netio syslogd 8958 261762 1 77 3 0x100090 poll dhclient 28329 363783 1 0 3 0x80 poll dhclient 65790 110071 0 0 3 0x14200 bored smr 63588 516222 0 0 3 0x14200 pgzero zerothread 87435 89676 0 0 3 0x14200 aiodoned aiodoned 4900 32211 0 0 3 0x14200 syncer update 24 353138 0 0 3 0x14200 cleaner cleaner 13816 327495 0 0 3 0x14200 reaper reaper 30265 455569 0 0 3 0x14200 pgdaemon pagedaemon 39997 503415 0 0 3 0x14200 bored crynlk 81996 6230 0 0 3 0x14200 bored crypto 66862 303537 0 0 3 0x14200 bored viomb 84942 159264 0 0 3 0x40014200 acpi0 acpi0 39418 367303 0 0 3 0x40014200 idle1 52368 287121 0 0 3 0x14200 bored softnet 17644 35871 0 0 3 0x14200 bored systqmp 58853 442725 0 0 3 0x14200 bored systq 24814 428789 0 0 3 0x40014200 bored softclock 20228 462324 0 0 3 0x40014200 idle0 1 54271 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{1}> show all locks Process 19824 (syz-executor.0) thread 0xffff800021288540 (278227) 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 Process 74119 (syz-executor.1) thread 0xffff800021289260 (247794) exclusive rrwlock inode r = 0 (0xfffffd80765852b8) #0 witness_lock+0x4b0 stacktrace_save sys/sys/stacktrace.h:36 [inline] #0 witness_lock+0x4b0 sys/kern/subr_witness.c:1176 #1 rw_enter+0x443 sys/kern/kern_rwlock.c:312 #2 rrw_enter+0x88 sys/kern/kern_rwlock.c:463 #3 ufs_ihashins+0x45 sys/ufs/ufs/ufs_ihash.c:140 #4 ffs_vget+0x135 sys/ufs/ffs/ffs_vfsops.c:1350 #5 ffs_inode_alloc+0x1e1 sys/ufs/ffs/ffs_alloc.c:394 #6 ufs_mkdir+0xf4 sys/ufs/ufs/ufs_vnops.c:1162 #7 VOP_MKDIR+0xc6 sys/kern/vfs_vops.c:459 #8 domkdirat+0x121 sys/kern/vfs_syscalls.c:3064 #9 syscall+0x4a1 mi_syscall sys/sys/syscall_mi.h:102 [inline] #9 syscall+0x4a1 sys/arch/amd64/amd64/trap.c:590 #10 Xsyscall+0x128 exclusive rrwlock inode r = 0 (0xfffffd8076585c48) #0 witness_lock+0x4b0 stacktrace_save sys/sys/stacktrace.h:36 [inline] #0 witness_lock+0x4b0 sys/kern/subr_witness.c:1176 #1 rw_enter+0x443 sys/kern/kern_rwlock.c:312 #2 rrw_enter+0x88 sys/kern/kern_rwlock.c:463 #3 VOP_LOCK+0x4b sys/kern/vfs_vops.c:614 #4 vn_lock+0x6c sys/kern/vfs_vnops.c:575 #5 vfs_lookup+0xe6 sys/kern/vfs_lookup.c:419 #6 namei+0x5f7 sys/kern/vfs_lookup.c:249 #7 domkdirat+0x75 sys/kern/vfs_syscalls.c:3049 #8 syscall+0x4a1 mi_syscall sys/sys/syscall_mi.h:102 [inline] #8 syscall+0x4a1 sys/arch/amd64/amd64/trap.c:590 #9 Xsyscall+0x128 ddb{1}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 9487 6432K 6683K 78643K 14367 0 pcb 13 8K 8K 78643K 207 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 2108 0 iov 0 0K 1K 78643K 925 0 mount 1 1K 1K 78643K 1 0 vnodes 1220 77K 77K 78643K 1940 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 5K 78643K 107 0 VM map 2 1K 1K 78643K 2 0 sem 12 0K 0K 78643K 319 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1697 195K 286K 78643K 12598 0 file desc 5 13K 25K 78643K 17783 0 sigio 0 0K 0K 78643K 270 0 proc 59 63K 95K 78643K 447 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 43 201K 201K 78643K 43 0 exec 0 0K 2K 78643K 358 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 116 22K 22K 78643K 38605 0 UVM aobj 131 4K 4K 78643K 131 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 NDP 6 0K 0K 78643K 10 0 temp 71 3973K 4037K 78643K 38621 0 kqueue 3 4K 4K 78643K 3 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 7559 0 7547 1 0 1 1 0 8 0 syncache 296 4 0 4 1 1 0 1 0 8 0 tcpcb 736 32 0 28 2 0 2 2 0 8 1 inpcb 296 389 0 382 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 13 0 10 1 0 1 1 0 8 0 pfstkey 112 13 0 10 1 0 1 1 0 8 0 pfstate 328 13 0 10 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 semapl 112 317 0 307 1 0 1 1 0 8 0 shmpl 112 128 0 0 4 0 4 4 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 19228 0 17824 88 0 88 88 0 8 0 ffsino 272 19228 0 17824 94 0 94 94 0 8 0 nchpl 144 38878 0 37274 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 88884 0 88883 1 0 1 1 0 8 0 percpumem 16 33 0 0 1 0 1 1 0 8 0 scxspl 216 112790 0 112789 9 8 1 8 0 8 0 plimitpl 152 15 0 7 1 0 1 1 0 8 0 sigapl 424 17999 0 17967 4 0 4 4 0 8 0 futexpl 56 70400 0 70400 1 0 1 1 0 8 1 knotepl 112 62 0 42 1 0 1 1 0 8 0 kqueuepl 168 948 0 946 1 0 1 1 0 8 0 pipepl 336 9365 0 9354 15 12 3 3 0 8 2 fdescpl 496 17983 0 17967 3 0 3 3 0 8 0 filepl 152 59105 0 59001 13 7 6 6 0 8 2 lockfpl 104 1531 0 1530 1 0 1 1 0 8 0 lockfspl 48 738 0 737 1 0 1 1 0 8 0 sessionpl 144 18 0 7 1 0 1 1 0 8 0 pgrppl 48 149 0 138 1 0 1 1 0 8 0 ucredpl 96 1558 0 1549 1 0 1 1 0 8 0 zombiepl 144 17967 0 17967 1 0 1 1 0 8 1 processpl 1080 17999 0 17967 3 0 3 3 0 8 0 procpl 672 38082 0 38042 4 0 4 4 0 8 0 sockpl 432 7967 0 7946 6 3 3 4 0 8 0 mcl64k 65536 17 0 0 3 0 3 3 0 8 0 mcl16k 16384 16 0 0 2 0 2 2 0 8 0 mcl12k 12288 41 0 0 2 0 2 2 0 8 0 mcl9k 9216 41 0 0 3 1 2 2 0 8 0 mcl8k 8192 26 0 0 3 0 3 3 0 8 0 mcl4k 4096 25 0 0 3 0 3 3 0 8 0 mcl2k2 2112 11 0 0 1 0 1 1 0 8 0 mcl2k 2048 114 0 0 10 0 10 10 0 8 0 mtagpl 96 1 0 0 1 0 1 1 0 8 0 mbufpl 256 984 0 0 14 2 12 13 0 8 0 bufpl 280 21091 0 14842 447 0 447 447 0 8 0 anonpl 24 1093769 0 1089043 35 5 30 30 0 186 0 amapchunkpl 152 58989 0 58833 9 2 7 7 0 158 0 amappl16 200 54238 0 54082 9 0 9 9 0 8 0 amappl15 192 1 0 0 1 0 1 1 0 8 0 amappl14 184 8853 0 8849 1 0 1 1 0 8 0 amappl13 176 26 0 24 1 0 1 1 0 8 0 amappl12 168 12 0 9 2 1 1 1 0 8 0 amappl11 160 56 0 39 1 0 1 1 0 8 0 amappl10 152 8939 0 8933 1 0 1 1 0 8 0 amappl9 144 284 0 282 1 0 1 1 0 8 0 amappl8 136 282 0 222 3 0 3 3 0 8 0 amappl7 128 247 0 239 1 0 1 1 0 8 0 amappl6 120 8994 0 8985 1 0 1 1 0 8 0 amappl5 112 9683 0 9665 1 0 1 1 0 8 0 amappl4 104 9197 0 9172 1 0 1 1 0 8 0 amappl3 96 833 0 825 1 0 1 1 0 8 0 amappl2 88 152628 0 152560 3 1 2 3 0 8 0 amappl1 80 466581 0 466098 26 14 12 21 0 8 0 amappl 88 38321 0 38272 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 130 0 0 3 0 3 3 0 8 0 uaddrrnd 24 17983 0 17967 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 17983 0 17967 1 0 1 1 0 8 0 vmmpekpl 168 123846 0 123821 2 0 2 2 0 8 0 vmmpepl 168 2178377 0 2176995 134 67 67 77 0 357 3 vmsppl 368 17982 0 17967 2 0 2 2 0 8 0 rwobjpl 56 437353 0 436482 35 22 13 19 0 8 0 pdppl 4096 35973 0 35934 57 16 41 45 0 8 2 pvpl 32 3991902 0 3984058 171 104 67 117 0 265 0 pmappl 232 17982 0 17967 2 1 1 2 0 8 0 extentpl 40 58 0 40 1 0 1 1 0 8 0 phpool 112 315 0 33 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 __sanitizer_cov_trace_pc() at __sanitizer_cov_trace_pc+0x30 kd_curproc sys/dev/kcov.c:570 [inline] __sanitizer_cov_trace_pc() at __sanitizer_cov_trace_pc+0x30 sys/dev/kcov.c:143 __mp_lock(ffffffff828b9d20) at __mp_lock+0x133 __mp_lock_spin sys/kern/kern_lock.c:116 [inline] __mp_lock(ffffffff828b9d20) at __mp_lock+0x133 sys/kern/kern_lock.c:147 intr_handler(ffff8000212a2f80,ffff80000006a400) at intr_handler+0x5e sys/arch/amd64/amd64/intr.c:532 Xintr_ioapic_edge17_untramp() at Xintr_ioapic_edge17_untramp+0x18f end of kernel end trace frame: 0x7f7ffffce110, count: -7 ddb{0}> machine ddbcpu 1 Stopped at pf_addr_compare+0x47: movl 0xc(%r15),%r12d ddb{1}> trace pf_addr_compare(0,ffff8000234c8b90,18) at pf_addr_compare+0x47 sys/net/pf.c:333 pflog_packet(ffff8000234c8b78,3,ffffffff828bff88,0,0,0) at pflog_packet+0x3e7 sys/net/if_pflog.c:236 pf_test(18,1,ffff800000ae5000,ffff8000234c8e48) at pf_test+0xfd2 sys/net/pf.c:7206 ip6_input_if(ffff8000234c8e48,ffff8000234c8e54,29,0,ffff800000ae5000) at ip6_input_if+0x945 sys/netinet6/ip6_input.c:300 ipv6_input(ffff800000ae5000,fffffd806d5e6c00) at ipv6_input+0x48 sys/netinet6/ip6_input.c:171 tun_dev_write(5d00,ffff8000234c9138,ffff8000212ac000,2) at tun_dev_write+0x204 sys/net/if_tun.c:870 spec_write(ffff8000234c8f90) at spec_write+0xd4 sys/kern/spec_vnops.c:309 VOP_WRITE(fffffd806e9144e8,ffff8000234c9138,11,fffffd807f7b77e0) at VOP_WRITE+0xc6 sys/kern/vfs_vops.c:274 vn_write(fffffd807654f1e0,ffff8000234c9138,0) at vn_write+0x14e sys/kern/vfs_vnops.c:414 dofilewritev(ffff800021288540,f0,ffff8000234c9138,0,ffff8000234c9220) at dofilewritev+0x1ab sys/kern/sys_generic.c:365 sys_write(ffff800021288540,ffff8000234c91d0,ffff8000234c9220) at sys_write+0x83 sys/kern/sys_generic.c:285 syscall(ffff8000234c92a0) at syscall+0x4a1 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff8000234c92a0) at syscall+0x4a1 sys/arch/amd64/amd64/trap.c:590 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xcaa59b69150, count: -13