uvm_fault(0xfffffd8057722008, 0x0, 0, 1) -> e kernel: page fault trap, code=0 Stopped at pfsync_state_import+0x108: movq 0(%rax,%rbx,8),%r15 ddb> ddb> set $lines = 0 ddb> set $maxwidth = 0 ddb> show panic kernel page fault uvm_fault(0xfffffd8057722008, 0x0, 0, 1) -> e pfsync_state_import(ffff800000b92a00,1) at pfsync_state_import+0x108 sys/net/if_pfsync.c:529 end trace frame: 0xffff8000205f9840, count: 0 ddb> trace pfsync_state_import(ffff800000b92a00,1) at pfsync_state_import+0x108 sys/net/if_pfsync.c:529 pfioctl(4900,c1084425,ffff800000b92a00,3,ffff80001d6bf8c8) at pfioctl+0x2764 sys/net/pf_ioctl.c:1688 VOP_IOCTL(fffffd80605fe270,c1084425,ffff800000b92a00,3,fffffd806c3bfa80,ffff80001d6bf8c8) at VOP_IOCTL+0x88 sys/kern/vfs_vops.c:290 vn_ioctl(fffffd805977c8f8,c1084425,ffff800000b92a00,ffff80001d6bf8c8) at vn_ioctl+0xb5 sys/kern/vfs_vnops.c:531 sys_ioctl(ffff80001d6bf8c8,ffff8000205f9b28,ffff8000205f9b70) at sys_ioctl+0x4ac syscall(ffff8000205f9bf0) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x4541ddbd1b0, count: -7 ddb> show registers rdi 0xffff80001e59c000 rsi 0x8e rbp 0xffff8000205f96e0 rbx 0 rdx 0xffff80001e59c000 rcx 0x8d rax 0 r8 0xffff80001d6bf8c8 r9 0xffffffff8153674d pfioctl+0x16d r10 0x7 r11 0x4e592e696401b1fb r12 0xffff800000b54500 r13 0xffff800000b92a00 r14 0x1 r15 0x5 rip 0xffffffff82330928 pfsync_state_import+0x108 cs 0x8 rflags 0x10246 __ALIGN_SIZE+0xf246 rsp 0xffff8000205f9660 ss 0x10 pfsync_state_import+0x108: movq 0(%rax,%rbx,8),%r15 ddb> show proc PROC (syz-executor.0) pid=203046 stat=onproc flags process=0 proc=4000000 pri=32, usrpri=76, nice=20 forw=0xffffffffffffffff, list=0xffff80001d6bec70,0xffffffff827ac148 process=0xffff80001d704018 user=0xffff8000205f4000, vmspace=0xfffffd8057722008 estcpu=36, cpticks=1, pctcpu=0.0 user=0, sys=1, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 40223 266264 95967 0 2 0 syz-executor.0 *40223 203046 95967 0 7 0x4000000 syz-executor.0 95967 394992 2636 0 3 0x82 nanosleep syz-executor.0 24075 355658 2636 0 2 0x2 syz-executor.1 1288 62979 1 0 3 0x100083 ttyin getty 96127 29438 0 0 3 0x14200 bored sosplice 2636 180604 86350 0 3 0x82 thrsleep syz-fuzzer 2636 154675 86350 0 3 0x4000082 nanosleep syz-fuzzer 2636 471559 86350 0 3 0x4000082 thrsleep syz-fuzzer 2636 209726 86350 0 3 0x4000082 kqread syz-fuzzer 2636 61119 86350 0 3 0x4000082 thrsleep syz-fuzzer 2636 144032 86350 0 3 0x4000082 thrsleep syz-fuzzer 86350 325928 11204 0 3 0x10008a pause ksh 11204 484541 17408 0 3 0x92 select sshd 17408 215158 1 0 3 0x80 select sshd 24096 281634 47644 73 3 0x100090 kqread syslogd 47644 15186 1 0 3 0x100082 netio syslogd 83897 445654 1 77 3 0x100090 poll dhclient 9677 132966 1 0 3 0x80 poll dhclient 9518 11393 0 0 3 0x14200 bored smr 54095 28433 0 0 2 0x14200 zerothread 79656 976 0 0 3 0x14200 aiodoned aiodoned 22684 338091 0 0 3 0x14200 syncer update 24284 53369 0 0 3 0x14200 cleaner cleaner 14389 507448 0 0 3 0x14200 reaper reaper 28068 479465 0 0 3 0x14200 pgdaemon pagedaemon 33398 133260 0 0 3 0x14200 bored crynlk 95727 366174 0 0 3 0x14200 bored crypto 53042 239489 0 0 3 0x40014200 acpi0 acpi0 46249 497637 0 0 3 0x14200 bored softnet 18970 377830 0 0 3 0x14200 bored systqmp 89229 90014 0 0 3 0x14200 bored systq 66851 93545 0 0 3 0x40014200 bored softclock 91369 264813 0 0 3 0x40014200 idle0 1 354772 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb> show all locks No such command ddb> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 9529 6369K 7273K 78643K 17036 0 pcb 13 8K 8K 78643K 361 0 rtable 123 7K 8K 78643K 1487 0 ifaddr 86 17K 17K 78643K 470 0 sysctl 2 0K 0K 78643K 2 0 counters 21 16K 16K 78643K 92 0 ioctlops 1 0K 4K 78643K 483 0 iov 0 0K 32K 78643K 255 0 mount 1 1K 1K 78643K 1 0 vnodes 1214 76K 77K 78643K 3382 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 9K 78643K 55 0 VM map 2 0K 0K 78643K 2 0 sem 10 1K 1K 78643K 17 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1809 195K 288K 78643K 12938 0 file desc 5 13K 25K 78643K 5826 0 sigio 0 0K 0K 78643K 32 0 proc 55 39K 62K 78643K 782 0 subproc 32 2K 2K 78643K 102 0 NFS srvsock 1 0K 0K 78643K 1 0 NFS daemon 1 16K 16K 78643K 1 0 ip_moptions 0 0K 0K 78643K 343 0 in_multi 33 2K 2K 78643K 552 0 ether_multi 1 0K 0K 78643K 125 0 mrt 0 0K 0K 78643K 105 0 ISOFS mount 1 32K 32K 78643K 1 0 MSDOSFS mount 1 16K 16K 78643K 1 0 ttys 85 387K 387K 78643K 85 0 exec 0 0K 2K 78643K 578 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 227 516K 516K 78643K 13478 0 UVM aobj 63 2K 2K 78643K 85 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 1K 78643K 380 0 NDP 15 0K 0K 78643K 135 0 temp 149 3970K 4036K 78643K 38464 0 kqueue 3 4K 16K 78643K 407 0 SYN cache 2 16K 16K 78643K 2 0 ddb> show all pools Name Size Requests Fail Releases Pgreq Pgrel Npage Hiwat Minpg Maxpg Idle arp 64 16 0 10 1 0 1 1 0 8 0 rtpcb 96 201 0 199 1 0 1 1 0 8 0 rtentry 112 286 0 242 2 0 2 2 0 8 0 unpcb 120 1262 0 1248 1 0 1 1 0 8 0 syncache 272 47 0 47 8 7 1 1 0 8 1 tcpqe 32 46 0 46 5 5 0 1 0 8 0 tcpcb 592 909 0 901 17 15 2 4 0 8 0 ipq 40 33 0 33 6 6 0 1 0 8 0 ipqe 40 80 0 80 6 6 0 1 0 8 0 inpcb 296 2860 0 2844 9 7 2 2 0 8 0 rttmr 72 35 0 35 4 4 0 1 0 8 0 nd6 48 59 0 53 1 0 1 1 0 8 0 pkpcb 40 60 0 60 5 5 0 1 0 8 0 kcovpl 48 6 0 4 1 0 1 1 0 8 0 swfcl 56 10 0 0 1 0 1 1 0 8 0 ppxss 1136 30 0 30 5 5 0 1 0 8 0 pfstscr 40 54 0 53 1 0 1 1 0 8 0 pfosfp 40 4 0 0 1 0 1 1 0 8 0 pfosfpen 112 7 0 0 1 0 1 1 0 8 0 pfrktable 1344 60 0 53 2 1 1 1 0 8 0 pftag 88 12 0 10 1 0 1 1 0 8 0 pfstitem 24 18 0 16 1 0 1 1 0 8 0 pfstkey 112 82 0 80 1 0 1 1 0 8 0 pfstate 328 41 0 40 1 0 1 1 0 8 0 pfrule 1360 57 0 31 4 1 3 3 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 1122 0 930 16 4 12 14 0 8 0 art_table 32 1123 0 930 2 0 2 2 0 8 0 art_node 16 276 0 236 1 0 1 1 0 8 0 sysvmsgpl 40 36 0 8 1 0 1 1 0 8 0 semupl 112 1 0 1 1 1 0 1 0 8 0 semapl 112 8 0 0 1 0 1 1 0 8 0 shmpl 112 82 0 22 2 0 2 2 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 8710 0 7306 89 0 89 89 0 8 0 ffsino 240 8710 0 7306 84 0 84 84 0 8 0 nchpl 144 15664 0 14080 60 0 60 60 0 8 0 uvmvnodes 72 5926 0 0 108 0 108 108 0 8 0 vnodes 208 5926 0 0 312 0 312 312 0 8 0 namei 1024 39126 0 39125 4 3 1 1 0 8 0 vcpupl 1984 39 0 0 5 0 5 5 0 8 0 vmpool 528 39 0 0 3 0 3 3 0 8 0 pfiaddrpl 120 44 0 14 2 1 1 1 0 8 0 scsiplug 72 4 0 4 1 1 0 1 0 8 0 scxspl 200 45989 0 45989 3 2 1 1 0 8 1 plimitpl 152 245 0 238 1 0 1 1 0 8 0 sigapl 424 6002 0 5973 4 0 4 4 0 8 0 futexpl 56 51336 0 51336 3 2 1 1 0 8 1 knotepl 112 514 0 494 1 0 1 1 0 8 0 kqueuepl 152 2878 0 2866 1 0 1 1 0 8 0 pipepl 272 334 0 323 6 4 2 2 0 8 1 fdescpl 432 5987 0 5973 2 0 2 2 0 8 0 filepl 120 21625 0 21527 8 3 5 5 0 8 2 lockfpl 104 736 0 735 1 0 1 1 0 8 0 lockfspl 48 256 0 255 1 0 1 1 0 8 0 sessionpl 120 22 0 12 1 0 1 1 0 8 0 pgrppl 48 43 0 33 1 0 1 1 0 8 0 ucredpl 96 2855 0 2848 1 0 1 1 0 8 0 zombiepl 144 5973 0 5973 3 2 1 1 0 8 1 processpl 944 6002 0 5973 4 0 4 4 0 8 0 procpl 632 12305 0 12270 4 0 4 4 0 8 0 sosppl 144 71 0 71 9 8 1 1 0 8 1 sockpl 400 4396 0 4364 15 10 5 5 0 8 1 mcl64k 65536 203 0 203 11 10 1 1 0 8 1 mcl16k 16384 4 0 4 1 1 0 1 0 8 0 mcl12k 12288 71 0 71 6 6 0 1 0 8 0 mcl9k 9216 71 0 71 8 8 0 1 0 8 0 mcl8k 8192 113 0 113 9 8 1 1 0 8 1 mcl4k 4096 243 0 243 11 10 1 1 0 8 1 mcl2k2 2112 12 0 12 3 3 0 1 0 8 0 mcl2k 2048 64367 0 64319 60 45 15 26 0 8 7 mtagpl 96 673 0 447 12 6 6 8 0 8 0 mbufpl 256 245508 0 244922 90 46 44 64 0 8 6 bufpl 280 11131 0 5759 384 0 384 384 0 8 0 anonpl 16 512467 0 498505 151 78 73 76 0 107 14 amapchunkpl 152 22408 0 22157 41 25 16 24 0 158 5 amappl16 192 23876 0 23230 103 58 45 47 0 8 8 amappl15 184 752 0 749 1 0 1 1 0 8 0 amappl14 176 24 0 20 1 0 1 1 0 8 0 amappl13 168 1630 0 1628 1 0 1 1 0 8 0 amappl12 160 328 0 322 1 0 1 1 0 8 0 amappl11 152 1513 0 1504 1 0 1 1 0 8 0 amappl10 144 1743 0 1738 1 0 1 1 0 8 0 amappl9 136 360 0 359 1 0 1 1 0 8 0 amappl8 128 218 0 155 3 0 3 3 0 8 0 amappl7 120 1996 0 1991 1 0 1 1 0 8 0 amappl6 112 1594 0 1578 1 0 1 1 0 8 0 amappl5 104 5208 0 5195 1 0 1 1 0 8 0 amappl4 96 1824 0 1792 1 0 1 1 0 8 0 amappl3 88 1090 0 1082 1 0 1 1 0 8 0 amappl2 80 42438 0 42351 3 1 2 3 0 8 0 amappl1 72 153264 0 152836 24 14 10 18 0 8 0 amappl 80 12683 0 12602 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 18 0 17 1 0 1 1 0 8 0 aobjpl 64 84 0 22 1 0 1 1 0 8 0 uaddrrnd 24 6026 0 5973 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 6026 0 5973 1 0 1 1 0 8 0 vmmpekpl 168 26623 0 26591 2 0 2 2 0 8 0 vmmpepl 168 722217 0 720312 160 66 94 97 0 357 2 vmsppl 272 6025 0 5973 5 1 4 4 0 8 0 pdppl 4096 12058 0 11985 13 3 10 10 0 8 0 pvpl 32 1838687 0 1827075 314 187 127 158 0 265 33 pmappl 200 6025 0 5973 3 0 3 3 0 8 0 extentpl 40 53 0 36 1 0 1 1 0 8 0 phpool 112 432 0 155 9 0 9 9 0 8 0 ddb> machine ddbcpu 0 No such command ddb> trace pfsync_state_import(ffff800000b92a00,1) at pfsync_state_import+0x108 sys/net/if_pfsync.c:529 pfioctl(4900,c1084425,ffff800000b92a00,3,ffff80001d6bf8c8) at pfioctl+0x2764 sys/net/pf_ioctl.c:1688 VOP_IOCTL(fffffd80605fe270,c1084425,ffff800000b92a00,3,fffffd806c3bfa80,ffff80001d6bf8c8) at VOP_IOCTL+0x88 sys/kern/vfs_vops.c:290 vn_ioctl(fffffd805977c8f8,c1084425,ffff800000b92a00,ffff80001d6bf8c8) at vn_ioctl+0xb5 sys/kern/vfs_vnops.c:531 sys_ioctl(ffff80001d6bf8c8,ffff8000205f9b28,ffff8000205f9b70) at sys_ioctl+0x4ac syscall(ffff8000205f9bf0) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x4541ddbd1b0, count: -7 ddb> machine ddbcpu 1 No such command ddb> trace pfsync_state_import(ffff800000b92a00,1) at pfsync_state_import+0x108 sys/net/if_pfsync.c:529 pfioctl(4900,c1084425,ffff800000b92a00,3,ffff80001d6bf8c8) at pfioctl+0x2764 sys/net/pf_ioctl.c:1688 VOP_IOCTL(fffffd80605fe270,c1084425,ffff800000b92a00,3,fffffd806c3bfa80,ffff80001d6bf8c8) at VOP_IOCTL+0x88 sys/kern/vfs_vops.c:290 vn_ioctl(fffffd805977c8f8,c1084425,ffff800000b92a00,ffff80001d6bf8c8) at vn_ioctl+0xb5 sys/kern/vfs_vnops.c:531 sys_ioctl(ffff80001d6bf8c8,ffff8000205f9b28,ffff8000205f9b70) at sys_ioctl+0x4ac syscall(ffff8000205f9bf0) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x4541ddbd1b0, count: -7