uvm_fault(0xfffffd806449e558, 0x7b8, 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(0xfffffd806449e558, 0x7b8, 0, 1) -> e pfsync_state_import(ffff800000b75e00,1) at pfsync_state_import+0x108 sys/net/if_pfsync.c:529 end trace frame: 0xffff80001f866c40, count: 0 ddb> trace pfsync_state_import(ffff800000b75e00,1) at pfsync_state_import+0x108 sys/net/if_pfsync.c:529 pfioctl(4900,c1084425,ffff800000b75e00,3,ffff80001e7bb168) at pfioctl+0x2764 sys/net/pf_ioctl.c:1688 VOP_IOCTL(fffffd8065332000,c1084425,ffff800000b75e00,3,fffffd806c3bfc00,ffff80001e7bb168) at VOP_IOCTL+0x88 sys/kern/vfs_vops.c:290 vn_ioctl(fffffd805722ed30,c1084425,ffff800000b75e00,ffff80001e7bb168) at vn_ioctl+0xb5 sys/kern/vfs_vnops.c:531 sys_ioctl(ffff80001e7bb168,ffff80001f866f28,ffff80001f866f70) at sys_ioctl+0x4ac syscall(ffff80001f866ff0) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xbdab78498c0, count: -7 ddb> show registers rdi 0xffff8000209a8000 rsi 0x460 rbp 0xffff80001f866ae0 rbx 0xf7 rdx 0xffff8000209a8000 rcx 0x45f rax 0 r8 0x101010101010101 r9 0x8080808080808080 r10 0xf503365ccf4ed36f r11 0x2e2d0a2c11b668d0 r12 0xffff800000c43600 r13 0xffff800000b75e00 r14 0x1 r15 0x2ca rip 0xffffffff81302b48 pfsync_state_import+0x108 cs 0x8 rflags 0x10246 __ALIGN_SIZE+0xf246 rsp 0xffff80001f866a60 ss 0x10 pfsync_state_import+0x108: movq 0(%rax,%rbx,8),%r15 ddb> show proc PROC (syz-executor.0) pid=521843 stat=onproc flags process=0 proc=4000000 pri=32, usrpri=80, nice=20 forw=0xffffffffffffffff, list=0xffff80001e7bbb48,0xffffffff827cd2b0 process=0xffff80001f82d2a0 user=0xffff80001f862000, vmspace=0xfffffd806449e558 estcpu=36, cpticks=0, pctcpu=0.0 user=0, sys=0, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 3924 436109 19951 0 2 0 syz-executor.0 * 3924 521843 19951 0 7 0x4000000 syz-executor.0 19951 482681 4935 0 3 0x82 nanosleep syz-executor.0 73964 290628 0 0 3 0x14200 acct acct 74942 91208 0 0 3 0x14280 nfsidl nfsio 43758 273580 0 0 3 0x14280 nfsidl nfsio 24854 481528 0 0 3 0x14280 nfsidl nfsio 5281 179132 0 0 3 0x14280 nfsidl nfsio 28455 71589 0 0 3 0x14280 nfsidl nfsio 22012 318285 0 0 3 0x14280 nfsidl nfsio 51372 341645 0 0 3 0x14280 nfsidl nfsio 95608 512502 0 0 3 0x14280 nfsidl nfsio 44210 247042 0 0 3 0x14280 nfsidl nfsio 46193 477264 0 0 3 0x14280 nfsidl nfsio 79344 147270 0 0 3 0x14280 nfsidl nfsio 20718 478844 0 0 3 0x14280 nfsidl nfsio 16950 218664 0 0 3 0x14280 nfsidl nfsio 54875 106791 0 0 3 0x14280 nfsidl nfsio 6575 160946 0 0 3 0x14280 nfsidl nfsio 15232 132131 0 0 3 0x14280 nfsidl nfsio 60896 335207 0 0 3 0x14280 nfsidl nfsio 60930 290297 0 0 3 0x14280 nfsidl nfsio 52912 153472 0 0 3 0x14280 nfsidl nfsio 88555 58325 0 0 3 0x14280 nfsidl nfsio 4347 298265 4935 0 3 0x82 piperd syz-executor.1 16247 131075 0 0 3 0x14200 bored sosplice 4935 112688 89049 0 3 0x82 thrsleep syz-fuzzer 4935 368556 89049 0 3 0x4000082 nanosleep syz-fuzzer 4935 18997 89049 0 3 0x4000082 thrsleep syz-fuzzer 4935 511990 89049 0 3 0x4000082 thrsleep syz-fuzzer 4935 95728 89049 0 3 0x4000082 thrsleep syz-fuzzer 4935 510771 89049 0 2 0x4000002 syz-fuzzer 4935 511884 89049 0 3 0x4000082 thrsleep syz-fuzzer 89049 411229 73159 0 3 0x10008a pause ksh 73159 297870 99593 0 3 0x92 select sshd 18870 312345 1 0 3 0x100083 ttyin getty 99593 292405 1 0 3 0x80 select sshd 82565 74647 63852 73 3 0x100090 kqread syslogd 63852 240431 1 0 3 0x100082 netio syslogd 56251 328804 1 77 3 0x100090 poll dhclient 34929 463859 1 0 3 0x80 poll dhclient 70885 39406 0 0 3 0x14200 bored smr 67465 87982 0 0 2 0x14200 zerothread 67663 511861 0 0 3 0x14200 aiodoned aiodoned 81887 213741 0 0 3 0x14200 syncer update 19359 246584 0 0 3 0x14200 cleaner cleaner 66243 289301 0 0 3 0x14200 reaper reaper 39176 242657 0 0 3 0x14200 pgdaemon pagedaemon 58413 104937 0 0 3 0x14200 bored crynlk 52710 1851 0 0 3 0x14200 bored crypto 1025 148101 0 0 3 0x40014200 acpi0 acpi0 97439 492195 0 0 3 0x14200 bored softnet 44145 206728 0 0 3 0x14200 bored systqmp 9913 113922 0 0 3 0x14200 bored systq 6384 391712 0 0 3 0x40014200 bored softclock 87925 351403 0 0 3 0x40014200 idle0 1 13955 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 9523 6376K 6805K 78643K 17317 0 pcb 13 8K 8K 78643K 408 0 rtable 176 31K 33K 78643K 3128 0 ifaddr 107 22K 22K 78643K 605 0 sysctl 2 0K 0K 78643K 2 0 counters 21 16K 17K 78643K 83 0 ioctlops 1 0K 4K 78643K 7994 0 iov 0 0K 32K 78643K 381 0 mount 1 1K 1K 78643K 1 0 vnodes 1219 77K 77K 78643K 3867 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 3 5K 5K 78643K 62 0 VM map 2 0K 0K 78643K 2 0 sem 12 0K 1K 78643K 2585 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1809 195K 288K 78643K 12938 0 file desc 5 13K 25K 78643K 6553 0 sigio 0 0K 0K 78643K 34 0 proc 52 38K 55K 78643K 921 0 subproc 32 2K 2K 78643K 189 0 NFS srvsock 1 0K 0K 78643K 1 0 NFS daemon 1 16K 16K 78643K 1 0 ip_moptions 0 0K 0K 78643K 321 0 in_multi 26 1K 2K 78643K 411 0 ether_multi 1 0K 0K 78643K 74 0 mrt 0 0K 0K 78643K 16 0 ISOFS mount 1 32K 32K 78643K 1 0 MSDOSFS mount 1 16K 16K 78643K 1 0 ttys 61 281K 281K 78643K 61 0 exec 0 0K 2K 78643K 736 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 199 254K 270K 78643K 15254 0 UVM aobj 115 8K 8K 78643K 128 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 1K 78643K 387 0 NDP 15 0K 0K 78643K 113 0 temp 165 4004K 4068K 78643K 40310 0 kqueue 4 6K 22K 78643K 134 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 39 0 32 1 0 1 1 0 8 0 rtpcb 88 225 0 223 1 0 1 1 0 8 0 rtentry 112 669 0 636 2 0 2 2 0 8 0 unpcb 120 2637 0 2626 1 0 1 1 0 8 0 syncache 272 10 0 10 3 3 0 1 0 8 0 tcpqe 32 63 0 63 3 3 0 1 0 8 0 tcpcb 592 2480 0 2476 10 9 1 5 0 8 0 ipq 40 85 0 85 8 8 0 1 0 8 0 ipqe 40 502 0 502 8 8 0 1 0 8 0 inpcb 296 5627 0 5616 36 34 2 2 0 8 1 rttmr 72 4 0 4 4 3 1 1 0 8 1 ip6q 72 3 0 3 3 3 0 1 0 8 0 ip6af 40 4 0 4 2 2 0 1 0 8 0 nd6 48 57 0 53 1 0 1 1 0 8 0 pkpcb 40 16 0 16 7 7 0 1 0 8 0 ppxss 1136 8 0 8 7 6 1 1 0 8 1 pfstscr 40 14 0 11 1 0 1 1 0 8 0 pfosfp 40 2 0 0 1 0 1 1 0 8 0 pfosfpen 112 4 0 0 1 0 1 1 0 8 0 pfrke_plain 160 8 0 8 1 1 0 1 0 8 0 pfrktable 1344 485 0 447 17 13 4 4 0 8 0 pftag 88 55 0 48 2 1 1 1 0 8 0 pfstitem 24 6 0 2 1 0 1 1 0 8 0 pfstkey 112 18 0 14 1 0 1 1 0 8 0 pfstate 328 9 0 7 1 0 1 1 0 8 0 pfrule 1360 848 0 112 63 1 62 62 0 8 0 art_heap8 4096 2 0 1 2 1 1 2 0 8 0 art_heap4 256 1398 0 1246 25 14 11 16 0 8 0 art_table 32 1400 0 1247 3 1 2 3 0 8 0 art_node 16 667 0 641 1 0 1 1 0 8 0 sysvmsgpl 40 63 0 41 1 0 1 1 0 8 0 semupl 112 4 0 4 1 1 0 1 0 8 0 semapl 112 2583 0 2573 1 0 1 1 0 8 0 shmpl 112 125 0 13 5 1 4 4 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 9358 0 7972 88 0 88 88 0 8 0 ffsino 240 9358 0 7972 83 0 83 83 0 8 0 nchpl 144 17678 0 16095 60 0 60 60 0 8 0 rtmask 32 4 0 4 1 1 0 1 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 55488 0 55488 14 13 1 1 0 8 1 vcpupl 1984 23 0 0 3 0 3 3 0 8 0 vmpool 528 32 0 9 2 0 2 2 0 8 0 pfiaddrpl 120 193 0 154 5 3 2 2 0 8 0 scsiplug 72 1 0 1 1 1 0 1 0 8 0 scxspl 200 61485 0 61485 25 24 1 1 0 8 1 plimitpl 152 248 0 241 1 0 1 1 0 8 0 sigapl 424 6738 0 6688 6 0 6 6 0 8 0 futexpl 56 124411 0 124411 13 12 1 1 0 8 1 knotepl 112 362 0 342 2 1 1 2 0 8 0 kqueuepl 152 702 0 696 1 0 1 1 0 8 0 pipepl 272 1034 0 1023 8 7 1 2 0 8 0 fdescpl 432 6698 0 6684 2 0 2 2 0 8 0 filepl 120 36986 0 36887 15 11 4 5 0 8 0 lockfpl 104 1552 0 1551 1 0 1 1 0 8 0 lockfspl 48 665 0 664 1 0 1 1 0 8 0 sessionpl 120 26 0 16 1 0 1 1 0 8 0 pgrppl 48 50 0 40 1 0 1 1 0 8 0 ucredpl 96 2218 0 2211 1 0 1 1 0 8 0 zombiepl 144 6688 0 6688 9 8 1 1 0 8 1 processpl 944 6738 0 6688 7 0 7 7 0 8 0 procpl 632 14022 0 13965 16 11 5 6 0 8 0 sosppl 144 48 0 48 15 15 0 1 0 8 0 sockpl 400 8514 0 8490 34 30 4 4 0 8 1 mcl64k 65536 389 0 389 77 57 20 33 0 8 20 mcl16k 16384 20 0 20 18 18 0 1 0 8 0 mcl12k 12288 110 0 110 45 45 0 1 0 8 0 mcl9k 9216 60 0 60 34 34 0 1 0 8 0 mcl8k 8192 664 0 664 40 40 0 1 0 8 0 mcl4k 4096 361 0 361 46 45 1 1 0 8 1 mcl2k2 2112 31 0 31 21 21 0 1 0 8 0 mcl2k 2048 100733 0 100687 31 24 7 13 0 8 0 mtagpl 96 664 0 651 9 8 1 7 0 8 0 mbufpl 256 202683 0 202515 298 282 16 106 0 8 0 bufpl 280 12937 0 7563 386 1 385 385 0 8 0 anonpl 16 557723 0 540866 180 103 77 92 0 107 0 amapchunkpl 152 26207 0 25987 99 90 9 23 0 158 0 amappl16 192 25977 0 24971 190 139 51 63 0 8 0 amappl15 184 1334 0 1333 1 0 1 1 0 8 0 amappl14 176 186 0 181 1 0 1 1 0 8 0 amappl13 168 302 0 300 1 0 1 1 0 8 0 amappl12 160 314 0 312 2 1 1 1 0 8 0 amappl11 152 214 0 204 1 0 1 1 0 8 0 amappl10 144 95 0 89 1 0 1 1 0 8 0 amappl9 136 2757 0 2756 4 3 1 1 0 8 0 amappl8 128 2671 0 2600 4 1 3 3 0 8 0 amappl7 120 409 0 403 1 0 1 1 0 8 0 amappl6 112 300 0 280 1 0 1 1 0 8 0 amappl5 104 7067 0 7057 1 0 1 1 0 8 0 amappl4 96 592 0 560 1 0 1 1 0 8 0 amappl3 88 377 0 370 1 0 1 1 0 8 0 amappl2 80 47808 0 47737 3 1 2 3 0 8 0 amappl1 72 165777 0 165342 23 14 9 18 0 8 0 amappl 80 14403 0 14329 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 127 0 13 2 0 2 2 0 8 0 uaddrrnd 24 6730 0 6693 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 6730 0 6693 1 0 1 1 0 8 0 vmmpekpl 168 33685 0 33649 2 0 2 2 0 8 0 vmmpepl 168 802467 0 800255 484 380 104 139 0 357 6 vmsppl 272 6729 0 6693 5 2 3 3 0 8 0 pdppl 4096 13466 0 13409 15 7 8 8 0 8 0 pvpl 32 1673311 0 1653262 452 270 182 210 0 265 3 pmappl 200 6729 0 6693 2 0 2 2 0 8 0 extentpl 40 53 0 36 1 0 1 1 0 8 0 phpool 112 855 0 546 14 4 10 10 0 8 0 ddb> machine ddbcpu 0 No such command ddb> trace pfsync_state_import(ffff800000b75e00,1) at pfsync_state_import+0x108 sys/net/if_pfsync.c:529 pfioctl(4900,c1084425,ffff800000b75e00,3,ffff80001e7bb168) at pfioctl+0x2764 sys/net/pf_ioctl.c:1688 VOP_IOCTL(fffffd8065332000,c1084425,ffff800000b75e00,3,fffffd806c3bfc00,ffff80001e7bb168) at VOP_IOCTL+0x88 sys/kern/vfs_vops.c:290 vn_ioctl(fffffd805722ed30,c1084425,ffff800000b75e00,ffff80001e7bb168) at vn_ioctl+0xb5 sys/kern/vfs_vnops.c:531 sys_ioctl(ffff80001e7bb168,ffff80001f866f28,ffff80001f866f70) at sys_ioctl+0x4ac syscall(ffff80001f866ff0) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xbdab78498c0, count: -7 ddb> machine ddbcpu 1 No such command ddb> trace pfsync_state_import(ffff800000b75e00,1) at pfsync_state_import+0x108 sys/net/if_pfsync.c:529 pfioctl(4900,c1084425,ffff800000b75e00,3,ffff80001e7bb168) at pfioctl+0x2764 sys/net/pf_ioctl.c:1688 VOP_IOCTL(fffffd8065332000,c1084425,ffff800000b75e00,3,fffffd806c3bfc00,ffff80001e7bb168) at VOP_IOCTL+0x88 sys/kern/vfs_vops.c:290 vn_ioctl(fffffd805722ed30,c1084425,ffff800000b75e00,ffff80001e7bb168) at vn_ioctl+0xb5 sys/kern/vfs_vnops.c:531 sys_ioctl(ffff80001e7bb168,ffff80001f866f28,ffff80001f866f70) at sys_ioctl+0x4ac syscall(ffff80001f866ff0) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xbdab78498c0, count: -7