uvm_fault(0xfffffd8008492730, 0xc, 0, 1) -> e kernel: page fault trap, code=0 Stopped at pf_addr_compare+0x47: movl 0xc(%r15),%r12d ddb{0}> ddb{0}> set $lines = 0 ddb{0}> set $maxwidth = 0 ddb{0}> show panic kernel page fault uvm_fault(0xfffffd8008492730, 0xc, 0, 1) -> e pf_addr_compare(0,ffff8000222d4930,18) at pf_addr_compare+0x47 sys/net/pf.c:333 end trace frame: 0xffff8000222d48f0, count: 0 ddb{0}> trace pf_addr_compare(0,ffff8000222d4930,18) at pf_addr_compare+0x47 sys/net/pf.c:333 pflog_packet(ffff8000222d4918,8,ffffffff828bff88,0,0,0) at pflog_packet+0x3e7 sys/net/if_pflog.c:236 pf_test(18,1,ffff800000ae5000,ffff8000222d4be8) at pf_test+0xfd2 sys/net/pf.c:7206 ip6_input_if(ffff8000222d4be8,ffff8000222d4bf4,29,0,ffff800000ae5000) at ip6_input_if+0x945 sys/netinet6/ip6_input.c:300 ipv6_input(ffff800000ae5000,fffffd806d758000) at ipv6_input+0x48 sys/netinet6/ip6_input.c:171 tun_dev_write(5d00,ffff8000222d4ed8,ffff8000212ac000,2) at tun_dev_write+0x204 sys/net/if_tun.c:870 spec_write(ffff8000222d4d30) at spec_write+0xd4 sys/kern/spec_vnops.c:309 VOP_WRITE(fffffd807b86f5c8,ffff8000222d4ed8,11,fffffd807f7b7900) at VOP_WRITE+0xc6 sys/kern/vfs_vops.c:274 vn_write(fffffd806a7c8738,ffff8000222d4ed8,0) at vn_write+0x14e sys/kern/vfs_vnops.c:414 dofilewritev(ffff80002121aa90,f0,ffff8000222d4ed8,0,ffff8000222d4fc0) at dofilewritev+0x1ab sys/kern/sys_generic.c:365 sys_write(ffff80002121aa90,ffff8000222d4f70,ffff8000222d4fc0) at sys_write+0x83 sys/kern/sys_generic.c:285 syscall(ffff8000222d5040) at syscall+0x4a1 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff8000222d5040) at syscall+0x4a1 sys/arch/amd64/amd64/trap.c:590 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xdb595dafc0, count: -13 ddb{0}> show registers rdi 0x18 rsi 0xffffffff8270a410 __sancov_gen_cov_switch_values.133 rbp 0xffff8000222d47f0 rbx 0x18 rdx 0xffff800000afadc0 rcx 0x2 rax 0xffff80002121aa90 r8 0xffffffff819cefab pf_addr_compare+0x3b r9 0x1 r10 0x2ee2531ccc524855 r11 0x31fd05e2ebeb6354 r12 0x18 r13 0xffff800000044ac0 r14 0xffff8000222d4930 r15 0 rip 0xffffffff819cefb7 pf_addr_compare+0x47 cs 0x8 rflags 0x10246 __ALIGN_SIZE+0xf246 rsp 0xffff8000222d47a0 ss 0x10 pf_addr_compare+0x47: movl 0xc(%r15),%r12d ddb{0}> show proc PROC (syz-executor.0) pid=405645 stat=onproc flags process=0 proc=4000000 pri=81, usrpri=81, nice=20 forw=0xffffffffffffffff, list=0xffff80002121afd0,0xffffffff828c8868 process=0xffff8000224a8cc0 user=0xffff8000222d0000, vmspace=0xfffffd8008492730 estcpu=36, cpticks=0, pctcpu=0.0 user=0, sys=0, intr=0 ddb{0}> ps PID TID PPID UID S FLAGS WAIT COMMAND 81118 93165 53192 0 7 0 syz-executor.0 *81118 405645 53192 0 7 0x4000000 syz-executor.0 56917 45299 0 0 3 0x14280 nfsidl nfsio 45173 403704 0 0 3 0x14280 nfsidl nfsio 93088 165068 0 0 3 0x14280 nfsidl nfsio 46881 449769 0 0 3 0x14280 nfsidl nfsio 63966 9718 0 0 3 0x14280 nfsidl nfsio 31718 327610 0 0 3 0x14280 nfsidl nfsio 55237 454940 0 0 3 0x14280 nfsidl nfsio 28706 204934 0 0 3 0x14280 nfsidl nfsio 30389 116865 0 0 3 0x14280 nfsidl nfsio 15748 377448 0 0 3 0x14280 nfsidl nfsio 88488 193719 0 0 3 0x14280 nfsidl nfsio 21336 150788 0 0 3 0x14280 nfsidl nfsio 7444 431533 0 0 3 0x14280 nfsidl nfsio 86239 101392 0 0 3 0x14280 nfsidl nfsio 27387 38120 0 0 3 0x14280 nfsidl nfsio 28599 445416 0 0 3 0x14280 nfsidl nfsio 96905 181992 0 0 3 0x14280 nfsidl nfsio 68977 122333 0 0 3 0x14280 nfsidl nfsio 37862 119484 0 0 3 0x14280 nfsidl nfsio 36411 396861 0 0 3 0x14280 nfsidl nfsio 96556 94817 94504 0 2 0x2 syz-executor.1 53192 146654 94504 0 3 0x82 nanoslp syz-executor.0 94504 481909 52093 0 3 0x82 thrsleep syz-fuzzer 94504 483032 52093 0 3 0x4000082 nanoslp syz-fuzzer 94504 513959 52093 0 3 0x4000082 thrsleep syz-fuzzer 94504 516347 52093 0 3 0x4000082 thrsleep syz-fuzzer 94504 136468 52093 0 3 0x4000082 nanoslp syz-fuzzer 94504 185032 52093 0 3 0x4000082 thrsleep syz-fuzzer 94504 24571 52093 0 3 0x4000082 thrsleep syz-fuzzer 94504 515589 52093 0 3 0x4000082 kqread syz-fuzzer 52093 481794 40846 0 3 0x10008a sigsusp ksh 40846 293231 93145 0 3 0x92 select sshd 69122 15247 1 0 3 0x100083 ttyin getty 93145 386125 1 0 3 0x80 select sshd 35055 15365 31143 74 3 0x100092 bpf pflogd 31143 519958 1 0 3 0x80 netio pflogd 47666 379948 51876 73 3 0x100090 kqread syslogd 51876 450059 1 0 3 0x100082 netio syslogd 93378 394159 1 77 3 0x100090 poll dhclient 79088 319948 1 0 3 0x80 poll dhclient 41961 396093 0 0 3 0x14200 bored smr 81800 146905 0 0 3 0x14200 pgzero zerothread 85522 430553 0 0 3 0x14200 aiodoned aiodoned 58821 412770 0 0 3 0x14200 syncer update 28012 71784 0 0 3 0x14200 cleaner cleaner 52580 134631 0 0 3 0x14200 reaper reaper 29820 497881 0 0 3 0x14200 pgdaemon pagedaemon 54040 363000 0 0 3 0x14200 bored crynlk 16200 476058 0 0 3 0x14200 bored crypto 92158 436497 0 0 3 0x14200 bored viomb 3419 327248 0 0 3 0x40014200 acpi0 acpi0 6012 177941 0 0 3 0x40014200 idle1 63953 245001 0 0 3 0x14200 bored softnet 35850 470958 0 0 3 0x14200 bored systqmp 79114 409315 0 0 3 0x14200 bored systq 27526 1101 0 0 3 0x40014200 bored softclock 6465 306784 0 0 3 0x40014200 idle0 1 509397 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{0}> show all locks Process 81118 (syz-executor.0) thread 0xffff80002121aa90 (405645) 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 96556 (syz-executor.1) thread 0xffff800021279500 (94817) exclusive rrwlock inode r = 0 (0xfffffd806b2381a8) #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 vget+0x1c6 sys/kern/vfs_subr.c:671 #6 ufs_ihashget+0x121 sys/ufs/ufs/ufs_ihash.c:119 #7 ffs_vget+0x6b sys/ufs/ffs/ffs_vfsops.c:1321 #8 ufs_lookup+0x151d sys/ufs/ufs/ufs_lookup.c:487 #9 VOP_LOOKUP+0x5b sys/kern/vfs_vops.c:90 #10 vfs_lookup+0x708 sys/kern/vfs_lookup.c:568 #11 namei+0x5f7 sys/kern/vfs_lookup.c:249 #12 dounlinkat+0x99 sys/kern/vfs_syscalls.c:1848 #13 syscall+0x4a1 mi_syscall sys/sys/syscall_mi.h:102 [inline] #13 syscall+0x4a1 sys/arch/amd64/amd64/trap.c:590 #14 Xsyscall+0x128 exclusive rrwlock inode r = 0 (0xfffffd806b238918) #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 dounlinkat+0x99 sys/kern/vfs_syscalls.c:1848 #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{0}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 9487 6432K 7012K 78643K 15413 0 pcb 13 8K 8K 78643K 659 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 2277 0 iov 0 0K 0K 78643K 227 0 mount 1 1K 1K 78643K 1 0 vnodes 1222 77K 77K 78643K 3235 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 5K 78643K 94 0 VM map 2 1K 1K 78643K 2 0 sem 12 1K 1K 78643K 69 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1697 195K 286K 78643K 12598 0 file desc 5 13K 25K 78643K 22973 0 sigio 0 0K 0K 78643K 314 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 126 25K 25K 78643K 49627 0 UVM aobj 131 4K 4K 78643K 132 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 NDP 6 0K 0K 78643K 10 0 temp 68 3972K 4036K 78643K 50668 0 kqueue 3 4K 4K 78643K 3 0 SYN cache 2 16K 16K 78643K 2 0 ddb{0}> 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 10534 0 10524 1 0 1 1 0 8 0 syncache 296 4 0 4 1 1 0 1 0 8 0 tcpcb 736 84 0 80 5 4 1 3 0 8 0 inpcb 296 913 0 906 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 pffrag 232 26 0 25 3 2 1 2 0 482 0 pffrnode 88 18 0 17 2 1 1 1 0 8 0 pffrent 40 573 0 572 2 1 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 42 0 33 1 0 1 1 0 8 0 pfstkey 112 42 0 33 1 0 1 1 0 8 0 pfstate 328 42 0 33 2 1 1 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 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 sysvmsgpl 40 33 0 19 1 0 1 1 0 8 0 semapl 112 67 0 57 1 0 1 1 0 8 0 shmpl 112 129 0 1 4 0 4 4 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 24449 0 23045 88 0 88 88 0 8 0 ffsino 272 24449 0 23045 94 0 94 94 0 8 0 nchpl 144 48683 0 47079 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 111127 0 111127 1 0 1 1 0 8 1 percpumem 16 33 0 0 1 0 1 1 0 8 0 scxspl 216 143943 0 143943 9 8 1 8 0 8 1 plimitpl 152 57 0 49 1 0 1 1 0 8 0 sigapl 424 23209 0 23157 6 0 6 6 0 8 0 futexpl 56 80730 0 80730 1 0 1 1 0 8 1 knotepl 112 62 0 42 1 0 1 1 0 8 0 kqueuepl 168 621 0 619 1 0 1 1 0 8 0 pipepl 336 6048 0 6037 20 18 2 3 0 8 1 fdescpl 496 23173 0 23157 3 0 3 3 0 8 0 filepl 152 60667 0 60565 6 1 5 6 0 8 0 lockfpl 104 1015 0 1014 1 0 1 1 0 8 0 lockfspl 48 458 0 457 1 0 1 1 0 8 0 sessionpl 144 18 0 7 1 0 1 1 0 8 0 pgrppl 48 157 0 146 1 0 1 1 0 8 0 ucredpl 96 1314 0 1305 1 0 1 1 0 8 0 zombiepl 144 23157 0 23157 1 0 1 1 0 8 1 processpl 1080 23209 0 23157 4 0 4 4 0 8 0 procpl 672 49116 0 49056 6 0 6 6 0 8 0 sockpl 432 11466 0 11447 6 3 3 4 0 8 0 mcl64k 65536 25 0 0 4 2 2 3 0 8 0 mcl16k 16384 25 0 0 4 1 3 3 0 8 0 mcl12k 12288 49 0 0 2 0 2 2 0 8 0 mcl9k 9216 26 0 0 2 0 2 2 0 8 0 mcl8k 8192 41 0 0 5 2 3 3 0 8 0 mcl4k 4096 17 0 0 3 0 3 3 0 8 0 mcl2k2 2112 7 0 0 1 0 1 1 0 8 0 mcl2k 2048 109 0 0 11 0 11 11 0 8 0 mtagpl 96 1 0 0 1 0 1 1 0 8 0 mbufpl 256 737 0 0 15 2 13 14 0 8 0 bufpl 280 26305 0 20056 447 0 447 447 0 8 0 anonpl 24 1397042 0 1392272 36 5 31 32 0 186 0 amapchunkpl 152 75784 0 75618 9 2 7 7 0 158 0 amappl16 200 70918 0 70765 14 5 9 9 0 8 0 amappl15 192 11660 0 11657 1 0 1 1 0 8 0 amappl14 184 11319 0 11314 1 0 1 1 0 8 0 amappl13 176 28 0 25 1 0 1 1 0 8 0 amappl12 168 9 0 8 1 0 1 1 0 8 0 amappl11 160 63 0 45 1 0 1 1 0 8 0 amappl10 152 16 0 12 1 0 1 1 0 8 0 amappl9 144 288 0 287 1 0 1 1 0 8 0 amappl8 136 387 0 304 3 0 3 3 0 8 0 amappl7 128 246 0 238 1 0 1 1 0 8 0 amappl6 120 69 0 57 1 0 1 1 0 8 0 amappl5 112 12203 0 12184 1 0 1 1 0 8 0 amappl4 104 11652 0 11627 1 0 1 1 0 8 0 amappl3 96 1363 0 1356 1 0 1 1 0 8 0 amappl2 88 196457 0 196389 3 1 2 3 0 8 0 amappl1 80 614773 0 614312 26 14 12 21 0 8 0 amappl 88 49332 0 49282 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 131 0 1 3 0 3 3 0 8 0 uaddrrnd 24 23173 0 23157 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 23173 0 23157 1 0 1 1 0 8 0 vmmpekpl 168 115064 0 115037 2 0 2 2 0 8 0 vmmpepl 168 2808621 0 2807234 118 51 67 76 0 357 1 vmsppl 368 23172 0 23157 2 0 2 2 0 8 0 rwobjpl 56 553953 0 553087 31 18 13 19 0 8 0 pdppl 4096 46353 0 46314 56 15 41 45 0 8 2 pvpl 32 4433549 0 4425649 170 101 69 117 0 265 0 pmappl 232 23172 0 23157 2 1 1 2 0 8 0 extentpl 40 58 0 40 1 0 1 1 0 8 0 phpool 112 329 0 47 10 1 9 9 0 8 0 ddb{0}> machine ddbcpu 0 Invalid cpu 0 ddb{0}> trace pf_addr_compare(0,ffff8000222d4930,18) at pf_addr_compare+0x47 sys/net/pf.c:333 pflog_packet(ffff8000222d4918,8,ffffffff828bff88,0,0,0) at pflog_packet+0x3e7 sys/net/if_pflog.c:236 pf_test(18,1,ffff800000ae5000,ffff8000222d4be8) at pf_test+0xfd2 sys/net/pf.c:7206 ip6_input_if(ffff8000222d4be8,ffff8000222d4bf4,29,0,ffff800000ae5000) at ip6_input_if+0x945 sys/netinet6/ip6_input.c:300 ipv6_input(ffff800000ae5000,fffffd806d758000) at ipv6_input+0x48 sys/netinet6/ip6_input.c:171 tun_dev_write(5d00,ffff8000222d4ed8,ffff8000212ac000,2) at tun_dev_write+0x204 sys/net/if_tun.c:870 spec_write(ffff8000222d4d30) at spec_write+0xd4 sys/kern/spec_vnops.c:309 VOP_WRITE(fffffd807b86f5c8,ffff8000222d4ed8,11,fffffd807f7b7900) at VOP_WRITE+0xc6 sys/kern/vfs_vops.c:274 vn_write(fffffd806a7c8738,ffff8000222d4ed8,0) at vn_write+0x14e sys/kern/vfs_vnops.c:414 dofilewritev(ffff80002121aa90,f0,ffff8000222d4ed8,0,ffff8000222d4fc0) at dofilewritev+0x1ab sys/kern/sys_generic.c:365 sys_write(ffff80002121aa90,ffff8000222d4f70,ffff8000222d4fc0) at sys_write+0x83 sys/kern/sys_generic.c:285 syscall(ffff8000222d5040) at syscall+0x4a1 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff8000222d5040) at syscall+0x4a1 sys/arch/amd64/amd64/trap.c:590 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xdb595dafc0, count: -13 ddb{0}> machine ddbcpu 1 Stopped at x86_ipi_db+0x1a: addq $0x8,%rsp ddb{1}> trace x86_ipi_db(ffff800020d68ff0) 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 end of kernel end trace frame: 0x7f7ffffbbf00, count: -3