uvm_fault(0xfffffd80677da770, 0x4, 0, 1) -> e kernel: page fault trap, code=0 Stopped at pfi_address_add+0x1eb: movl 0x4(%rax),%eax ddb> ddb> set $lines = 0 ddb> set $maxwidth = 0 ddb> show panic kernel page fault uvm_fault(0xfffffd80677da770, 0x4, 0, 1) -> e pfi_address_add(0,2,0) at pfi_address_add+0x1eb sys/net/pf_if.c:585 end trace frame: 0xffff80001f7d9480, count: 0 ddb> trace pfi_address_add(0,2,0) at pfi_address_add+0x1eb sys/net/pf_if.c:585 pfi_instance_add(ffff800000ac6000,0,c3) at pfi_instance_add+0x5e5 pfi_table_update(ffff800000aec540,ffff800000afdb00,0,c3) at pfi_table_update+0x174 pfi_kif_update(ffff800000afdb00) at pfi_kif_update+0xba pfi_dynaddr_update sys/net/pf_if.c:466 [inline] pfi_kif_update(ffff800000afdb00) at pfi_kif_update+0xba sys/net/pf_if.c:442 pfi_dynaddr_setup(ffff800000ae7338,0) at pfi_dynaddr_setup+0x3fa sys/net/pf_if.c:420 pfioctl(4900,cd604404,ffff800000acf000,3,ffff80001d6c3af0) at pfioctl+0x51b2 pf_addr_setup sys/net/pf_ioctl.c:893 [inline] pfioctl(4900,cd604404,ffff800000acf000,3,ffff80001d6c3af0) at pfioctl+0x51b2 sys/net/pf_ioctl.c:1265 VOP_IOCTL(fffffd805dd65680,cd604404,ffff800000acf000,3,fffffd806c3bfa20,ffff80001d6c3af0) at VOP_IOCTL+0x88 sys/kern/vfs_vops.c:290 vn_ioctl(fffffd80575e7358,cd604404,ffff800000acf000,ffff80001d6c3af0) at vn_ioctl+0xb5 sys/kern/vfs_vnops.c:531 sys_ioctl(ffff80001d6c3af0,ffff80001f7d9a28,ffff80001f7d9a70) at sys_ioctl+0x4a1 syscall(ffff80001f7d9af0) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xc0646dc4470, count: -11 ddb> show registers rdi 0xffffffff81c3a8b7 pfi_address_add+0x1e7 rsi 0xac0 rbp 0xffff80001f7d93e0 rbx 0 rdx 0xac1 rcx 0xffff800020986000 rax 0 r8 0xffffffff81c3a171 pfi_instance_add+0xf1 r9 0x1 r10 0x2 r11 0xafddb6d095d9eab2 r12 0x34 r13 0x2 r14 0xffff800000654034 r15 0 rip 0xffffffff81c3a8bb pfi_address_add+0x1eb cs 0x8 rflags 0x10246 __ALIGN_SIZE+0xf246 rsp 0xffff80001f7d9370 ss 0x10 pfi_address_add+0x1eb: movl 0x4(%rax),%eax ddb> show proc PROC (syz-executor.0) pid=122634 stat=onproc flags process=0 proc=4000000 pri=32, usrpri=75, nice=20 forw=0xffffffffffffffff, list=0xffff80001d6c2500,0xffffffff82837f10 process=0xffff80001d6c5970 user=0xffff80001f7d4000, vmspace=0xfffffd80677da770 estcpu=36, cpticks=0, pctcpu=0.0 user=0, sys=0, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 23375 243584 12504 0 2 0 syz-executor.0 *23375 122634 12504 0 7 0x4000000 syz-executor.0 12504 101009 37295 0 3 0x82 nanosleep syz-executor.0 98318 72100 0 0 3 0x14200 acct acct 61032 276270 0 0 3 0x14200 bored sosplice 81363 439108 37295 0 3 0x82 nanosleep syz-executor.1 37295 288014 1819 0 3 0x82 thrsleep syz-fuzzer 37295 357475 1819 0 3 0x4000082 nanosleep syz-fuzzer 37295 505970 1819 0 3 0x4000082 kqread syz-fuzzer 37295 512003 1819 0 3 0x4000082 thrsleep syz-fuzzer 37295 349629 1819 0 3 0x4000082 thrsleep syz-fuzzer 37295 54729 1819 0 3 0x4000082 thrsleep syz-fuzzer 37295 366688 1819 0 3 0x4000082 thrsleep syz-fuzzer 37295 220105 1819 0 3 0x4000082 thrsleep syz-fuzzer 1819 238584 21822 0 3 0x10008a pause ksh 21822 333286 47840 0 3 0x92 select sshd 18266 366304 1 0 3 0x100083 ttyopn getty 47840 516622 1 0 3 0x80 select sshd 46514 510091 34694 73 3 0x100090 kqread syslogd 34694 477162 1 0 3 0x100082 netio syslogd 72364 519470 1 77 3 0x100090 poll dhclient 90551 386374 1 0 3 0x80 poll dhclient 59733 497828 0 0 3 0x14200 bored smr 83205 198246 0 0 2 0x14200 zerothread 41399 179964 0 0 3 0x14200 aiodoned aiodoned 69325 499853 0 0 3 0x14200 syncer update 23580 511447 0 0 3 0x14200 cleaner cleaner 10100 84672 0 0 3 0x14200 reaper reaper 94723 356424 0 0 3 0x14200 pgdaemon pagedaemon 65708 81591 0 0 3 0x14200 bored crynlk 47465 482285 0 0 3 0x14200 bored crypto 93645 212442 0 0 3 0x40014200 acpi0 acpi0 18611 438693 0 0 3 0x14200 bored softnet 14510 416883 0 0 3 0x14200 bored systqmp 52554 313495 0 0 3 0x14200 bored systq 73067 144443 0 0 3 0x40014200 bored softclock 92344 236104 0 0 3 0x40014200 idle0 1 52252 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 9508 6416K 6658K 78643K 11141 0 pcb 13 8K 8K 78643K 103 0 rtable 106 7K 8K 78643K 551 0 ifaddr 80 16K 17K 78643K 190 0 sysctl 2 0K 0K 78643K 2 0 counters 21 16K 16K 78643K 34 0 ioctlops 1 4K 4K 78643K 112 0 iov 0 0K 16K 78643K 78 0 mount 1 1K 1K 78643K 1 0 vnodes 1218 77K 77K 78643K 1467 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 5K 78643K 8 0 VM map 2 0K 0K 78643K 2 0 sem 12 1K 1K 78643K 45 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1809 195K 288K 78643K 12938 0 file desc 5 13K 25K 78643K 653 0 sigio 0 0K 0K 78643K 6 0 proc 49 38K 55K 78643K 492 0 subproc 32 2K 2K 78643K 68 0 NFS srvsock 1 0K 0K 78643K 1 0 NFS daemon 1 16K 16K 78643K 1 0 ip_moptions 0 0K 0K 78643K 51 0 in_multi 61 3K 3K 78643K 141 0 ether_multi 1 0K 0K 78643K 17 0 ISOFS mount 1 32K 32K 78643K 1 0 MSDOSFS mount 1 16K 16K 78643K 1 0 ttys 55 254K 254K 78643K 55 0 exec 0 0K 1K 78643K 241 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 140 40K 44K 78643K 2354 0 UVM aobj 19 4K 4K 78643K 25 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 84 0 NDP 12 0K 0K 78643K 34 0 temp 107 3854K 3918K 78643K 12095 0 kqueue 3 4K 8K 78643K 21 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 10 0 4 1 0 1 1 0 8 0 rtpcb 80 101 0 99 1 0 1 1 0 8 0 rtentry 112 75 0 42 2 0 2 2 0 8 0 unpcb 120 279 0 271 1 0 1 1 0 8 0 syncache 264 6 0 6 2 2 0 1 0 8 0 tcpqe 32 43 0 43 1 1 0 1 0 8 0 tcpcb 544 1522 0 1516 3 2 1 2 0 8 0 ipq 40 6 0 6 3 2 1 1 0 8 1 ipqe 40 100 0 100 3 2 1 1 0 8 1 inpcb 296 1902 0 1894 3 1 2 2 0 8 1 ip6q 72 1 0 1 1 1 0 1 0 8 0 ip6af 40 2 0 2 1 1 0 1 0 8 0 nd6 48 13 0 9 1 0 1 1 0 8 0 ppxss 1136 3 0 3 2 1 1 1 0 8 1 pfosfp 40 1 0 0 1 0 1 1 0 8 0 pfosfpen 112 1 0 0 1 0 1 1 0 8 0 pfrke_plain 160 3 0 1 1 0 1 1 0 8 0 pfrktable 1344 76 0 68 1 0 1 1 0 8 0 pftag 88 8 0 8 2 2 0 1 0 8 0 pfstitem 24 2 0 0 1 0 1 1 0 8 0 pfstkey 112 4 0 2 1 0 1 1 0 8 0 pfstate 328 2 0 1 1 0 1 1 0 8 0 pfrule 1360 25 0 16 1 0 1 1 0 8 0 art_heap8 4096 2 0 0 2 0 2 2 0 8 0 art_heap4 256 341 0 200 13 2 11 12 0 8 0 art_table 32 343 0 200 2 0 2 2 0 8 0 art_node 16 72 0 44 1 0 1 1 0 8 0 sysvmsgpl 40 12 0 6 2 1 1 1 0 8 0 semupl 112 2 0 2 1 1 0 1 0 8 0 semapl 112 37 0 27 1 0 1 1 0 8 0 shmpl 112 22 0 6 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 2208 0 809 88 0 88 88 0 8 0 ffsino 240 2208 0 809 83 0 83 83 0 8 0 nchpl 144 3217 0 1628 60 0 60 60 0 8 0 uvmvnodes 72 2421 0 0 45 0 45 45 0 8 0 vnodes 208 2421 0 0 128 0 128 128 0 8 0 namei 1024 8790 0 8790 2 1 1 1 0 8 1 vcpupl 1984 3 0 0 1 0 1 1 0 8 0 vmpool 528 7 0 4 1 0 1 1 0 8 0 pfiaddrpl 120 25 0 18 1 0 1 1 0 8 0 scxspl 192 9708 0 9708 1 0 1 1 0 8 1 plimitpl 152 56 0 49 1 0 1 1 0 8 0 sigapl 424 835 0 805 4 0 4 4 0 8 0 futexpl 56 15283 0 15283 2 1 1 1 0 8 1 knotepl 112 104 0 85 1 0 1 1 0 8 0 kqueuepl 144 64 0 62 1 0 1 1 0 8 0 pipepl 272 151 0 141 1 0 1 1 0 8 0 fdescpl 432 819 0 805 2 0 2 2 0 8 0 filepl 120 5429 0 5332 4 0 4 4 0 8 1 lockfpl 104 121 0 120 1 0 1 1 0 8 0 lockfspl 48 47 0 46 1 0 1 1 0 8 0 sessionpl 112 19 0 9 1 0 1 1 0 8 0 pgrppl 48 23 0 13 1 0 1 1 0 8 0 ucredpl 96 465 0 458 1 0 1 1 0 8 0 zombiepl 144 805 0 804 1 0 1 1 0 8 0 processpl 928 835 0 804 4 0 4 4 0 8 0 procpl 624 1536 0 1497 5 1 4 4 0 8 0 sosppl 128 6 0 6 1 1 0 1 0 8 0 sockpl 400 2282 0 2264 5 2 3 4 0 8 1 mcl64k 65536 34 0 34 2 1 1 1 0 8 1 mcl16k 16384 3 0 3 1 0 1 1 0 8 1 mcl12k 12288 16 0 16 3 2 1 1 0 8 1 mcl9k 9216 8 0 8 4 3 1 1 0 8 1 mcl8k 8192 11 0 11 3 2 1 1 0 8 1 mcl4k 4096 64 0 64 3 2 1 1 0 8 1 mcl2k2 2112 3 0 3 3 2 1 1 0 8 1 mcl2k 2048 93129 0 93084 20 13 7 15 0 8 0 mtagpl 96 35 0 20 2 1 1 1 0 8 0 mbufpl 256 152972 0 152851 22 5 17 17 0 8 5 bufpl 280 4639 0 137 322 0 322 322 0 8 0 anonpl 16 105286 0 89904 85 11 74 82 0 107 1 amapchunkpl 152 3898 0 3764 14 6 8 13 0 158 2 amappl16 192 4030 0 3025 64 12 52 63 0 8 1 amappl15 184 94 0 92 1 0 1 1 0 8 0 amappl14 176 24 0 18 1 0 1 1 0 8 0 amappl13 168 41 0 38 1 0 1 1 0 8 0 amappl12 160 12 0 9 1 0 1 1 0 8 0 amappl11 152 48 0 39 1 0 1 1 0 8 0 amappl10 144 91 0 87 1 0 1 1 0 8 0 amappl9 136 837 0 834 1 0 1 1 0 8 0 amappl8 128 844 0 796 2 0 2 2 0 8 0 amappl7 120 127 0 113 1 0 1 1 0 8 0 amappl6 112 23 0 19 1 0 1 1 0 8 0 amappl5 104 746 0 734 1 0 1 1 0 8 0 amappl4 96 454 0 425 1 0 1 1 0 8 0 amappl3 88 122 0 116 1 0 1 1 0 8 0 amappl2 80 5675 0 5606 2 0 2 2 0 8 0 amappl1 72 27651 0 27236 24 15 9 17 0 8 0 amappl 80 1794 0 1752 2 1 1 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 24 0 6 1 0 1 1 0 8 0 uaddrrnd 24 826 0 809 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 826 0 809 1 0 1 1 0 8 0 vmmpekpl 168 8320 0 8289 2 0 2 2 0 8 0 vmmpepl 168 106662 0 104551 162 31 131 132 0 357 37 vmsppl 272 825 0 809 4 2 2 2 0 8 0 pdppl 4096 1658 0 1621 7 1 6 6 0 8 1 pvpl 32 284379 0 265993 197 10 187 195 0 265 16 pmappl 200 825 0 809 1 0 1 1 0 8 0 extentpl 40 53 0 36 1 0 1 1 0 8 0 phpool 112 270 0 36 7 0 7 7 0 8 0 ddb> machine ddbcpu 0 No such command ddb> trace pfi_address_add(0,2,0) at pfi_address_add+0x1eb sys/net/pf_if.c:585 pfi_instance_add(ffff800000ac6000,0,c3) at pfi_instance_add+0x5e5 pfi_table_update(ffff800000aec540,ffff800000afdb00,0,c3) at pfi_table_update+0x174 pfi_kif_update(ffff800000afdb00) at pfi_kif_update+0xba pfi_dynaddr_update sys/net/pf_if.c:466 [inline] pfi_kif_update(ffff800000afdb00) at pfi_kif_update+0xba sys/net/pf_if.c:442 pfi_dynaddr_setup(ffff800000ae7338,0) at pfi_dynaddr_setup+0x3fa sys/net/pf_if.c:420 pfioctl(4900,cd604404,ffff800000acf000,3,ffff80001d6c3af0) at pfioctl+0x51b2 pf_addr_setup sys/net/pf_ioctl.c:893 [inline] pfioctl(4900,cd604404,ffff800000acf000,3,ffff80001d6c3af0) at pfioctl+0x51b2 sys/net/pf_ioctl.c:1265 VOP_IOCTL(fffffd805dd65680,cd604404,ffff800000acf000,3,fffffd806c3bfa20,ffff80001d6c3af0) at VOP_IOCTL+0x88 sys/kern/vfs_vops.c:290 vn_ioctl(fffffd80575e7358,cd604404,ffff800000acf000,ffff80001d6c3af0) at vn_ioctl+0xb5 sys/kern/vfs_vnops.c:531 sys_ioctl(ffff80001d6c3af0,ffff80001f7d9a28,ffff80001f7d9a70) at sys_ioctl+0x4a1 syscall(ffff80001f7d9af0) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xc0646dc4470, count: -11 ddb> machine ddbcpu 1 No such command ddb> trace pfi_address_add(0,2,0) at pfi_address_add+0x1eb sys/net/pf_if.c:585 pfi_instance_add(ffff800000ac6000,0,c3) at pfi_instance_add+0x5e5 pfi_table_update(ffff800000aec540,ffff800000afdb00,0,c3) at pfi_table_update+0x174 pfi_kif_update(ffff800000afdb00) at pfi_kif_update+0xba pfi_dynaddr_update sys/net/pf_if.c:466 [inline] pfi_kif_update(ffff800000afdb00) at pfi_kif_update+0xba sys/net/pf_if.c:442 pfi_dynaddr_setup(ffff800000ae7338,0) at pfi_dynaddr_setup+0x3fa sys/net/pf_if.c:420 pfioctl(4900,cd604404,ffff800000acf000,3,ffff80001d6c3af0) at pfioctl+0x51b2 pf_addr_setup sys/net/pf_ioctl.c:893 [inline] pfioctl(4900,cd604404,ffff800000acf000,3,ffff80001d6c3af0) at pfioctl+0x51b2 sys/net/pf_ioctl.c:1265 VOP_IOCTL(fffffd805dd65680,cd604404,ffff800000acf000,3,fffffd806c3bfa20,ffff80001d6c3af0) at VOP_IOCTL+0x88 sys/kern/vfs_vops.c:290 vn_ioctl(fffffd80575e7358,cd604404,ffff800000acf000,ffff80001d6c3af0) at vn_ioctl+0xb5 sys/kern/vfs_vnops.c:531 sys_ioctl(ffff80001d6c3af0,ffff80001f7d9a28,ffff80001f7d9a70) at sys_ioctl+0x4a1 syscall(ffff80001f7d9af0) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xc0646dc4470, count: -11