uvm_fault(0xfffffd8063173230, 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(0xfffffd8063173230, 0x4, 0, 1) -> e pfi_address_add(0,2,0) at pfi_address_add+0x1eb sys/net/pf_if.c:585 end trace frame: 0xffff80001e779240, count: 0 ddb> trace pfi_address_add(0,2,0) at pfi_address_add+0x1eb sys/net/pf_if.c:585 pfi_instance_add(ffff800000ac6800,0,c3) at pfi_instance_add+0x5e5 pfi_table_update(ffff800000aeea00,ffff800000af0d00,0,c3) at pfi_table_update+0x174 pfi_kif_update(ffff800000af0d00) at pfi_kif_update+0xba pfi_dynaddr_update sys/net/pf_if.c:466 [inline] pfi_kif_update(ffff800000af0d00) at pfi_kif_update+0xba sys/net/pf_if.c:442 if_addgroup(ffff800000ac6800,ffff80001e779458) at if_addgroup+0x280 sys/net/if.c:2736 ifioctl(fffffd805da72e18,80286987,ffff80001e779440,ffff80001d6c3878) at ifioctl+0x13e7 sys/net/if.c:2148 sys_ioctl(ffff80001d6c3878,ffff80001e779558,ffff80001e7795a0) at sys_ioctl+0x4a1 syscall(ffff80001e779620) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xfd8513ccd00, count: -9 ddb> show registers rdi 0xffffffff8112de67 pfi_address_add+0x1e7 rsi 0x11fb __ALIGN_SIZE+0x1fb rbp 0xffff80001e7791a0 rbx 0 rdx 0x11fc __ALIGN_SIZE+0x1fc rcx 0xffff80001e97e000 rax 0 r8 0xffffffff8112d721 pfi_instance_add+0xf1 r9 0x1 r10 0x2 r11 0xca91f2cfdc5fc089 r12 0x34 r13 0x2 r14 0xffff800000654034 r15 0 rip 0xffffffff8112de6b pfi_address_add+0x1eb cs 0x8 rflags 0x10246 __ALIGN_SIZE+0xf246 rsp 0xffff80001e779130 ss 0x10 pfi_address_add+0x1eb: movl 0x4(%rax),%eax ddb> show proc PROC (syz-executor.0) pid=62311 stat=onproc flags process=0 proc=4000000 pri=32, usrpri=76, nice=20 forw=0xffffffffffffffff, list=0xffff80001d6c3608,0xffffffff8284b308 process=0xffff80001d7075d8 user=0xffff80001e774000, vmspace=0xfffffd8063173230 estcpu=36, cpticks=1, pctcpu=0.0 user=0, sys=1, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 86056 405228 91078 0 2 0 syz-executor.0 *86056 62311 91078 0 7 0x4000000 syz-executor.0 91078 38372 73150 0 3 0x82 nanosleep syz-executor.0 70284 8162 0 0 3 0x14200 acct acct 86845 29786 0 0 3 0x14200 bored sosplice 73244 488904 73150 0 3 0x82 nanosleep syz-executor.1 73150 133653 66547 0 3 0x82 thrsleep syz-fuzzer 73150 427121 66547 0 3 0x4000082 nanosleep syz-fuzzer 73150 117471 66547 0 3 0x4000082 thrsleep syz-fuzzer 73150 103995 66547 0 3 0x4000082 thrsleep syz-fuzzer 73150 255410 66547 0 3 0x4000082 thrsleep syz-fuzzer 73150 472826 66547 0 3 0x4000082 thrsleep syz-fuzzer 73150 246777 66547 0 3 0x4000082 thrsleep syz-fuzzer 73150 397237 66547 0 3 0x4000082 kqread syz-fuzzer 66547 171434 19635 0 3 0x10008a pause ksh 19635 437306 46198 0 3 0x92 select sshd 15656 83964 1 0 3 0x100083 ttyin getty 46198 476387 1 0 3 0x80 select sshd 32296 366509 37509 73 3 0x100090 kqread syslogd 37509 431691 1 0 3 0x100082 netio syslogd 68097 158718 1 77 3 0x100090 poll dhclient 63599 89791 1 0 3 0x80 poll dhclient 16005 511982 0 0 3 0x14200 bored smr 35644 476378 0 0 2 0x14200 zerothread 71488 459658 0 0 3 0x14200 aiodoned aiodoned 12919 77851 0 0 3 0x14200 syncer update 4216 301081 0 0 3 0x14200 cleaner cleaner 89612 112834 0 0 3 0x14200 reaper reaper 81957 109805 0 0 3 0x14200 pgdaemon pagedaemon 96752 193569 0 0 3 0x14200 bored crynlk 79964 369077 0 0 3 0x14200 bored crypto 99600 191488 0 0 3 0x40014200 acpi0 acpi0 15854 255738 0 0 3 0x14200 bored softnet 14381 19262 0 0 3 0x14200 bored systqmp 73222 95718 0 0 3 0x14200 bored systq 53156 119280 0 0 3 0x40014200 bored softclock 6869 159975 0 0 3 0x40014200 idle0 1 262120 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 9491 6346K 6660K 78643K 11270 0 pcb 14 8K 8K 78643K 88 0 rtable 131 10K 14K 78643K 632 0 ifaddr 73 15K 17K 78643K 236 0 sysctl 2 0K 0K 78643K 2 0 counters 21 16K 17K 78643K 35 0 ioctlops 0 0K 4K 78643K 360 0 iov 0 0K 12K 78643K 96 0 mount 1 1K 1K 78643K 1 0 vnodes 1221 77K 77K 78643K 1476 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 5K 78643K 6 0 VM map 2 0K 0K 78643K 2 0 sem 12 0K 0K 78643K 199 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1809 195K 288K 78643K 12938 0 file desc 5 13K 25K 78643K 764 0 sigio 0 0K 0K 78643K 2 0 proc 50 38K 63K 78643K 426 0 subproc 32 2K 2K 78643K 51 0 NFS srvsock 1 0K 0K 78643K 1 0 NFS daemon 1 16K 16K 78643K 1 0 ip_moptions 0 0K 0K 78643K 37 0 in_multi 67 3K 3K 78643K 139 0 ether_multi 1 0K 0K 78643K 9 0 mrt 0 0K 0K 78643K 6 0 ISOFS mount 1 32K 32K 78643K 1 0 MSDOSFS mount 1 16K 16K 78643K 1 0 ttys 49 228K 228K 78643K 49 0 exec 0 0K 1K 78643K 228 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 142 64K 65K 78643K 2474 0 UVM aobj 15 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 66 0 NDP 10 0K 0K 78643K 35 0 temp 111 3865K 3929K 78643K 13340 0 kqueue 3 4K 12K 78643K 27 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 8 0 2 1 0 1 1 0 8 0 rtpcb 80 49 0 47 1 0 1 1 0 8 0 rtentry 112 74 0 33 2 0 2 2 0 8 0 unpcb 120 339 0 331 1 0 1 1 0 8 0 syncache 264 6 0 6 2 2 0 1 0 8 0 sackhl 24 1 0 1 1 1 0 1 0 8 0 tcpqe 32 752 0 752 1 1 0 1 0 8 0 tcpcb 544 164 0 160 1 0 1 1 0 8 0 ipq 40 3 0 3 1 0 1 1 0 8 1 ipqe 40 92 0 92 1 0 1 1 0 8 1 inpcb 296 487 0 477 4 2 2 2 0 8 1 rttmr 72 1 0 1 1 1 0 1 0 8 0 nd6 48 16 0 13 1 0 1 1 0 8 0 pkpcb 40 2 0 2 1 0 1 1 0 8 1 ppxss 1128 7 0 7 2 2 0 1 0 8 0 pfstscr 40 2 0 1 1 0 1 1 0 8 0 pfosfp 40 23 0 6 1 0 1 1 0 8 0 pfosfpen 112 50 0 14 2 0 2 2 0 8 0 pfrke_plain 160 2 0 0 1 0 1 1 0 8 0 pfrktable 1344 123 0 111 3 1 2 2 0 8 1 pftag 88 22 0 22 3 2 1 1 0 8 1 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 29 0 17 3 1 2 2 0 8 1 art_heap8 4096 2 0 0 2 0 2 2 0 8 0 art_heap4 256 313 0 132 13 1 12 13 0 8 0 art_table 32 315 0 132 2 0 2 2 0 8 0 art_node 16 73 0 35 1 0 1 1 0 8 0 sysvmsgpl 40 15 0 4 1 0 1 1 0 8 0 semupl 112 3 0 3 1 1 0 1 0 8 0 semapl 112 194 0 184 1 0 1 1 0 8 0 shmpl 112 22 0 10 2 1 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 2523 0 1121 88 0 88 88 0 8 0 ffsino 240 2523 0 1121 83 0 83 83 0 8 0 nchpl 144 3883 0 2295 60 0 60 60 0 8 0 rtmask 32 4 0 2 1 0 1 1 0 8 0 uvmvnodes 72 2740 0 0 50 0 50 50 0 8 0 vnodes 208 2740 0 0 145 0 145 145 0 8 0 namei 1024 10330 0 10330 1 0 1 1 0 8 1 vcpupl 1984 6 0 1 1 0 1 1 0 8 0 vmpool 528 9 0 4 1 0 1 1 0 8 0 pfiaddrpl 120 41 0 31 1 0 1 1 0 8 0 scxspl 192 11218 0 11218 1 0 1 1 0 8 1 plimitpl 152 46 0 39 1 0 1 1 0 8 0 sigapl 424 949 0 919 4 0 4 4 0 8 0 futexpl 56 11993 0 11993 1 0 1 1 0 8 1 knotepl 112 101 0 82 1 0 1 1 0 8 0 kqueuepl 144 62 0 58 1 0 1 1 0 8 0 pipepl 272 128 0 118 1 0 1 1 0 8 0 fdescpl 432 933 0 919 2 0 2 2 0 8 0 filepl 120 4764 0 4666 4 0 4 4 0 8 0 lockfpl 104 156 0 155 1 0 1 1 0 8 0 lockfspl 48 57 0 56 1 0 1 1 0 8 0 sessionpl 112 18 0 8 1 0 1 1 0 8 0 pgrppl 48 22 0 12 1 0 1 1 0 8 0 ucredpl 96 403 0 396 1 0 1 1 0 8 0 zombiepl 144 919 0 918 1 0 1 1 0 8 0 processpl 928 949 0 918 4 0 4 4 0 8 0 procpl 624 1697 0 1658 4 0 4 4 0 8 0 sosppl 128 6 0 6 1 1 0 1 0 8 0 sockpl 400 878 0 858 5 2 3 4 0 8 1 mcl64k 65536 793 0 793 66 3 63 65 0 8 63 mcl16k 16384 8 0 8 2 1 1 1 0 8 1 mcl12k 12288 13 0 13 2 1 1 1 0 8 1 mcl9k 9216 5 0 5 2 1 1 1 0 8 1 mcl8k 8192 29 0 29 2 1 1 1 0 8 1 mcl4k 4096 49 0 49 2 1 1 1 0 8 1 mcl2k2 2112 6 0 6 1 1 0 1 0 8 0 mcl2k 2048 89937 0 89881 22 14 8 20 0 8 0 mtagpl 96 49 0 24 2 1 1 1 0 8 0 mbufpl 256 147568 0 147442 52 32 20 40 0 8 8 bufpl 280 4830 0 128 336 0 336 336 0 8 0 anonpl 16 116924 0 100175 91 12 79 86 0 107 1 amapchunkpl 152 4656 0 4507 26 8 18 20 0 158 11 amappl16 192 4551 0 3502 74 13 61 65 0 8 8 amappl15 184 2 0 0 1 0 1 1 0 8 0 amappl14 176 355 0 350 1 0 1 1 0 8 0 amappl13 168 291 0 288 1 0 1 1 0 8 0 amappl12 160 11 0 9 1 0 1 1 0 8 0 amappl11 152 415 0 404 1 0 1 1 0 8 0 amappl10 144 19 0 15 1 0 1 1 0 8 0 amappl9 136 441 0 437 1 0 1 1 0 8 0 amappl8 128 362 0 318 2 0 2 2 0 8 0 amappl7 120 113 0 100 1 0 1 1 0 8 0 amappl6 112 399 0 389 1 0 1 1 0 8 0 amappl5 104 505 0 494 1 0 1 1 0 8 0 amappl4 96 990 0 965 1 0 1 1 0 8 0 amappl3 88 119 0 113 1 0 1 1 0 8 0 amappl2 80 6010 0 5943 2 0 2 2 0 8 0 amappl1 72 28109 0 27685 24 15 9 17 0 8 0 amappl 80 1952 0 1904 3 1 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 24 0 10 1 0 1 1 0 8 0 uaddrrnd 24 942 0 923 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 942 0 923 1 0 1 1 0 8 0 vmmpekpl 168 8604 0 8573 2 0 2 2 0 8 0 vmmpepl 168 117672 0 115499 164 27 137 137 0 357 37 vmsppl 272 941 0 923 3 1 2 2 0 8 0 pdppl 4096 1890 0 1851 7 1 6 6 0 8 0 pvpl 32 305108 0 285352 201 14 187 199 0 265 6 pmappl 200 941 0 923 2 0 2 2 0 8 1 extentpl 40 53 0 36 1 0 1 1 0 8 0 phpool 112 362 0 60 10 0 10 10 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(ffff800000ac6800,0,c3) at pfi_instance_add+0x5e5 pfi_table_update(ffff800000aeea00,ffff800000af0d00,0,c3) at pfi_table_update+0x174 pfi_kif_update(ffff800000af0d00) at pfi_kif_update+0xba pfi_dynaddr_update sys/net/pf_if.c:466 [inline] pfi_kif_update(ffff800000af0d00) at pfi_kif_update+0xba sys/net/pf_if.c:442 if_addgroup(ffff800000ac6800,ffff80001e779458) at if_addgroup+0x280 sys/net/if.c:2736 ifioctl(fffffd805da72e18,80286987,ffff80001e779440,ffff80001d6c3878) at ifioctl+0x13e7 sys/net/if.c:2148 sys_ioctl(ffff80001d6c3878,ffff80001e779558,ffff80001e7795a0) at sys_ioctl+0x4a1 syscall(ffff80001e779620) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xfd8513ccd00, count: -9 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(ffff800000ac6800,0,c3) at pfi_instance_add+0x5e5 pfi_table_update(ffff800000aeea00,ffff800000af0d00,0,c3) at pfi_table_update+0x174 pfi_kif_update(ffff800000af0d00) at pfi_kif_update+0xba pfi_dynaddr_update sys/net/pf_if.c:466 [inline] pfi_kif_update(ffff800000af0d00) at pfi_kif_update+0xba sys/net/pf_if.c:442 if_addgroup(ffff800000ac6800,ffff80001e779458) at if_addgroup+0x280 sys/net/if.c:2736 ifioctl(fffffd805da72e18,80286987,ffff80001e779440,ffff80001d6c3878) at ifioctl+0x13e7 sys/net/if.c:2148 sys_ioctl(ffff80001d6c3878,ffff80001e779558,ffff80001e7795a0) at sys_ioctl+0x4a1 syscall(ffff80001e779620) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xfd8513ccd00, count: -9