uvm_fault(0xfffffd8006023bc0, 0x0, 0, 1) -> e kernel: page fault trap, code=0 Stopped at pfsync_state_import+0x110: movq 0(%r14,%rbx,8),%r12 ddb> ddb> set $lines = 0 ddb> set $maxwidth = 0 ddb> show panic kernel page fault uvm_fault(0xfffffd8006023bc0, 0x0, 0, 1) -> e pfsync_state_import(ffff800000aab400,1) at pfsync_state_import+0x110 sys/net/if_pfsync.c:518 end trace frame: 0xffff8000207a2840, count: 0 ddb> trace pfsync_state_import(ffff800000aab400,1) at pfsync_state_import+0x110 sys/net/if_pfsync.c:518 pfioctl(4900,c1084425,ffff800000aab400,3,ffff80001d709020) at pfioctl+0x284a sys/net/pf_ioctl.c:1686 VOP_IOCTL(fffffd805d8411a0,c1084425,ffff800000aab400,3,fffffd806c3bfae0,ffff80001d709020) at VOP_IOCTL+0x88 sys/kern/vfs_vops.c:290 vn_ioctl(fffffd80578d1720,c1084425,ffff800000aab400,ffff80001d709020) at vn_ioctl+0xb5 sys/kern/vfs_vnops.c:531 sys_ioctl(ffff80001d709020,ffff8000207a2b28,ffff8000207a2b70) at sys_ioctl+0x4a1 syscall(ffff8000207a2bf0) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xb35f401a30, count: -7 ddb> show registers rdi 0xffffffff8155ce30 pfsync_state_import+0x110 rsi 0x172 rbp 0xffff8000207a26e0 rbx 0 rdx 0x173 rcx 0xffff80001e779000 rax 0xffff80001e779000 r8 0xffffffff815d4ade pfioctl+0x16e r9 0x7 r10 0xff419b300ece3dfc r11 0x32e64b339d6946b7 r12 0 r13 0xffff800000aab400 r14 0 r15 0x1 rip 0xffffffff8155ce30 pfsync_state_import+0x110 cs 0x8 rflags 0x10246 __ALIGN_SIZE+0xf246 rsp 0xffff8000207a2660 ss 0x10 pfsync_state_import+0x110: movq 0(%r14,%rbx,8),%r12 ddb> show proc PROC (syz-executor.1) pid=352307 stat=onproc flags process=0 proc=4000000 pri=32, usrpri=76, nice=20 forw=0xffffffffffffffff, list=0xffff80001d709500,0xffff80001d7099f0 process=0xffff8000207b4030 user=0xffff80002079d000, vmspace=0xfffffd8006023bc0 estcpu=36, cpticks=0, pctcpu=0.0 user=0, sys=0, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 42437 247729 57231 0 2 0 syz-executor.1 *42437 352307 57231 0 7 0x4000000 syz-executor.1 42437 54287 57231 0 3 0x4000080 fsleep syz-executor.1 69848 222504 0 0 3 0x14280 nfsidl nfsio 91074 467066 0 0 3 0x14280 nfsidl nfsio 14663 383579 0 0 3 0x14280 nfsidl nfsio 64523 322424 0 0 3 0x14280 nfsidl nfsio 21461 418202 0 0 3 0x14280 nfsidl nfsio 60229 398229 0 0 3 0x14280 nfsidl nfsio 91082 47794 0 0 3 0x14280 nfsidl nfsio 23701 405180 0 0 3 0x14280 nfsidl nfsio 49846 386029 0 0 3 0x14280 nfsidl nfsio 25864 327456 0 0 3 0x14280 nfsidl nfsio 93138 71854 0 0 3 0x14280 nfsidl nfsio 23352 140259 0 0 3 0x14280 nfsidl nfsio 9305 390276 0 0 3 0x14280 nfsidl nfsio 68485 477446 0 0 3 0x14280 nfsidl nfsio 53545 304196 0 0 3 0x14280 nfsidl nfsio 36458 382247 0 0 3 0x14280 nfsidl nfsio 90429 393350 0 0 3 0x14280 nfsidl nfsio 10065 404567 0 0 3 0x14280 nfsidl nfsio 99163 214669 0 0 3 0x14280 nfsidl nfsio 32994 127673 0 0 3 0x14280 nfsidl nfsio 17915 486558 0 0 3 0x14200 bored sosplice 57231 255832 84408 0 3 0x82 nanosleep syz-executor.1 48066 90752 84408 0 3 0x82 nanosleep syz-executor.0 84408 213043 20880 0 3 0x82 kqread syz-fuzzer 84408 38382 20880 0 3 0x4000082 thrsleep syz-fuzzer 84408 157350 20880 0 3 0x4000082 thrsleep syz-fuzzer 84408 420124 20880 0 3 0x4000082 thrsleep syz-fuzzer 84408 436680 20880 0 3 0x4000082 thrsleep syz-fuzzer 84408 22256 20880 0 3 0x4000082 thrsleep syz-fuzzer 84408 83305 20880 0 3 0x4000082 thrsleep syz-fuzzer 20880 144310 33726 0 3 0x10008a pause ksh 33726 91707 98237 0 3 0x92 select sshd 18170 443278 1 0 3 0x100083 ttyin getty 98237 477008 1 0 3 0x80 select sshd 14253 97175 81106 73 3 0x100090 kqread syslogd 81106 423826 1 0 3 0x100082 netio syslogd 23188 96068 1 77 3 0x100090 poll dhclient 15961 263256 1 0 3 0x80 poll dhclient 39658 245026 0 0 3 0x14200 bored smr 84506 293331 0 0 2 0x14200 zerothread 32528 76896 0 0 3 0x14200 aiodoned aiodoned 43750 23991 0 0 3 0x14200 syncer update 22354 36897 0 0 3 0x14200 cleaner cleaner 1516 69930 0 0 3 0x14200 reaper reaper 5807 111166 0 0 3 0x14200 pgdaemon pagedaemon 2108 33330 0 0 3 0x14200 bored crynlk 27608 324471 0 0 3 0x14200 bored crypto 16439 412316 0 0 3 0x40014200 acpi0 acpi0 93727 493855 0 0 3 0x14200 bored softnet 49594 276613 0 0 3 0x14200 bored systqmp 74181 357485 0 0 3 0x14200 bored systq 97026 448808 0 0 3 0x40014200 bored softclock 59654 502947 0 0 3 0x40014200 idle0 1 489355 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 9490 6464K 7235K 78643K 11287 0 pcb 13 8K 8K 78643K 41 0 rtable 96 4K 8K 78643K 351 0 ifaddr 58 13K 14K 78643K 109 0 counters 20 16K 17K 78643K 26 0 ioctlops 1 0K 4K 78643K 37 0 iov 0 0K 24K 78643K 30 0 mount 1 1K 1K 78643K 1 0 vnodes 1224 77K 77K 78643K 1396 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 5K 78643K 4 0 VM map 2 0K 0K 78643K 2 0 sem 12 0K 0K 78643K 26 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1809 195K 288K 78643K 12938 0 file desc 5 13K 25K 78643K 161 0 proc 49 38K 54K 78643K 363 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 2 0 in_multi 47 2K 3K 78643K 61 0 ether_multi 1 0K 0K 78643K 2 0 mrt 0 0K 0K 78643K 2 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 1K 78643K 185 0 pfkey data 0 0K 0K 78643K 2 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 121 38K 40K 78643K 1207 0 UVM aobj 13 4K 4K 78643K 13 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 4 0 NDP 8 0K 0K 78643K 18 0 temp 74 3841K 3906K 78643K 16908 0 kqueue 3 4K 10K 78643K 9 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 6 0 2 1 0 1 1 0 8 0 rtpcb 80 31 0 29 1 0 1 1 0 8 0 rtentry 112 47 0 13 2 0 2 2 0 8 0 unpcb 120 99 0 91 1 0 1 1 0 8 0 syncache 264 4 0 4 1 1 0 1 0 8 0 tcpqe 32 290 0 290 1 1 0 1 0 8 0 tcpcb 544 36 0 32 1 0 1 1 0 8 0 inpcb 280 110 0 103 2 0 2 2 0 8 1 nd6 48 7 0 4 1 0 1 1 0 8 0 pkpcb 40 4 0 4 1 0 1 1 0 8 1 pfrktable 1344 46 0 43 1 0 1 1 0 8 0 pftag 88 4 0 4 2 1 1 1 0 8 1 pfstitem 24 2 0 0 1 0 1 1 0 8 0 pfstkey 112 2 0 0 1 0 1 1 0 8 0 pfstate 328 1 0 0 1 0 1 1 0 8 0 pfrule 1360 11 0 4 1 0 1 1 0 8 0 art_heap8 4096 2 0 0 2 0 2 2 0 8 0 art_heap4 256 197 0 46 13 1 12 13 0 8 0 art_table 32 199 0 46 2 0 2 2 0 8 0 art_node 16 46 0 15 1 0 1 1 0 8 0 semupl 112 2 0 2 1 1 0 1 0 8 0 semapl 112 24 0 14 1 0 1 1 0 8 0 shmpl 112 11 0 0 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 1609 0 210 88 0 88 88 0 8 0 ffsino 240 1609 0 210 83 0 83 83 0 8 0 nchpl 144 2065 0 460 60 0 60 60 0 8 0 uvmvnodes 72 1803 0 0 33 0 33 33 0 8 0 vnodes 208 1803 0 0 95 0 95 95 0 8 0 namei 1024 5324 0 5324 1 0 1 1 0 8 1 vcpupl 1984 2 0 0 1 0 1 1 0 8 0 vmpool 528 2 0 0 1 0 1 1 0 8 0 pfiaddrpl 120 14 0 12 1 0 1 1 0 8 0 scxspl 192 6155 0 6155 1 0 1 1 0 8 1 plimitpl 152 26 0 19 1 0 1 1 0 8 0 sigapl 424 368 0 319 6 0 6 6 0 8 0 futexpl 56 2798 0 2797 1 0 1 1 0 8 0 knotepl 112 69 0 50 1 0 1 1 0 8 0 kqueuepl 144 18 0 16 1 0 1 1 0 8 0 pipelkpl 16 84 0 74 1 0 1 1 0 8 0 pipepl 120 168 0 149 1 0 1 1 0 8 0 fdescpl 432 333 0 319 2 0 2 2 0 8 0 filepl 120 1907 0 1806 4 0 4 4 0 8 0 lockfpl 104 43 0 42 1 0 1 1 0 8 0 lockfspl 48 15 0 14 1 0 1 1 0 8 0 sessionpl 112 17 0 7 1 0 1 1 0 8 0 pgrppl 48 19 0 9 1 0 1 1 0 8 0 ucredpl 96 173 0 166 1 0 1 1 0 8 0 zombiepl 144 319 0 318 1 0 1 1 0 8 0 processpl 920 368 0 318 7 0 7 7 0 8 0 procpl 624 531 0 473 5 0 5 5 0 8 0 sosppl 128 4 0 4 2 1 1 1 0 8 1 sockpl 400 244 0 227 5 2 3 4 0 8 1 mcl64k 65536 11 0 11 2 1 1 1 0 8 1 mcl12k 12288 3 0 3 2 2 0 1 0 8 0 mcl8k 8192 2 0 2 1 1 0 1 0 8 0 mcl4k 4096 16 0 16 3 2 1 1 0 8 1 mcl2k2 2112 1 0 1 1 1 0 1 0 8 0 mcl2k 2048 73825 0 73771 20 12 8 17 0 8 1 mtagpl 80 100 0 34 3 1 2 2 0 8 0 mbufpl 256 117892 0 117680 18 1 17 17 0 8 0 bufpl 280 5128 0 126 358 0 358 358 0 8 0 anonpl 16 53634 0 38209 81 2 79 79 0 107 16 amapchunkpl 152 1780 0 1634 17 1 16 16 0 158 9 amappl16 192 1752 0 916 54 8 46 54 0 8 4 amappl15 184 71 0 68 1 0 1 1 0 8 0 amappl14 176 24 0 19 1 0 1 1 0 8 0 amappl13 168 26 0 23 1 0 1 1 0 8 0 amappl12 160 15 0 11 1 0 1 1 0 8 0 amappl11 152 174 0 161 1 0 1 1 0 8 0 amappl10 144 16 0 10 1 0 1 1 0 8 0 amappl9 136 286 0 284 1 0 1 1 0 8 0 amappl8 128 314 0 279 2 0 2 2 0 8 0 amappl7 120 107 0 95 1 0 1 1 0 8 0 amappl6 112 86 0 80 1 0 1 1 0 8 0 amappl5 104 442 0 431 1 0 1 1 0 8 0 amappl4 96 414 0 390 1 0 1 1 0 8 0 amappl3 88 109 0 101 1 0 1 1 0 8 0 amappl2 80 1897 0 1829 2 0 2 2 0 8 0 amappl1 72 15651 0 15232 23 14 9 17 0 8 0 amappl 80 738 0 693 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 12 0 0 1 0 1 1 0 8 0 uaddrrnd 24 335 0 319 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 335 0 319 1 0 1 1 0 8 0 vmmpekpl 168 6252 0 6223 2 0 2 2 0 8 0 vmmpepl 168 46698 0 44770 118 23 95 112 0 357 10 vmsppl 272 334 0 319 3 1 2 2 0 8 0 pdppl 4096 676 0 640 6 1 5 6 0 8 0 pvpl 32 190056 0 171539 255 0 255 255 0 265 101 pmappl 200 334 0 319 1 0 1 1 0 8 0 extentpl 40 53 0 36 1 0 1 1 0 8 0 phpool 112 257 0 24 7 0 7 7 0 8 0 ddb> machine ddbcpu 0 No such command ddb> trace pfsync_state_import(ffff800000aab400,1) at pfsync_state_import+0x110 sys/net/if_pfsync.c:518 pfioctl(4900,c1084425,ffff800000aab400,3,ffff80001d709020) at pfioctl+0x284a sys/net/pf_ioctl.c:1686 VOP_IOCTL(fffffd805d8411a0,c1084425,ffff800000aab400,3,fffffd806c3bfae0,ffff80001d709020) at VOP_IOCTL+0x88 sys/kern/vfs_vops.c:290 vn_ioctl(fffffd80578d1720,c1084425,ffff800000aab400,ffff80001d709020) at vn_ioctl+0xb5 sys/kern/vfs_vnops.c:531 sys_ioctl(ffff80001d709020,ffff8000207a2b28,ffff8000207a2b70) at sys_ioctl+0x4a1 syscall(ffff8000207a2bf0) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xb35f401a30, count: -7 ddb> machine ddbcpu 1 No such command ddb> trace pfsync_state_import(ffff800000aab400,1) at pfsync_state_import+0x110 sys/net/if_pfsync.c:518 pfioctl(4900,c1084425,ffff800000aab400,3,ffff80001d709020) at pfioctl+0x284a sys/net/pf_ioctl.c:1686 VOP_IOCTL(fffffd805d8411a0,c1084425,ffff800000aab400,3,fffffd806c3bfae0,ffff80001d709020) at VOP_IOCTL+0x88 sys/kern/vfs_vops.c:290 vn_ioctl(fffffd80578d1720,c1084425,ffff800000aab400,ffff80001d709020) at vn_ioctl+0xb5 sys/kern/vfs_vnops.c:531 sys_ioctl(ffff80001d709020,ffff8000207a2b28,ffff8000207a2b70) at sys_ioctl+0x4a1 syscall(ffff8000207a2bf0) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xb35f401a30, count: -7