uvm_fault(0xfffffd806bc0aaa0, 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(0xfffffd806bc0aaa0, 0x4, 0, 1) -> e pfi_address_add(0,2,0) at pfi_address_add+0x1eb sys/net/pf_if.c:585 end trace frame: 0xffff80001e7d0e90, 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(ffff800000b1f4a8,ffff800000ae6800,0,c3) at pfi_table_update+0x174 pfi_kif_update(ffff800000ae6800) at pfi_kif_update+0xba pfi_dynaddr_update sys/net/pf_if.c:466 [inline] pfi_kif_update(ffff800000ae6800) at pfi_kif_update+0xba sys/net/pf_if.c:442 if_addgroup(ffff800000ac6000,ffff80001e7d10a8) at if_addgroup+0x280 sys/net/if.c:2739 ifioctl(fffffd805da78c88,80286987,ffff80001e7d1090,ffff80001d6c29e0) at ifioctl+0x13e7 sys/net/if.c:2151 sys_ioctl(ffff80001d6c29e0,ffff80001e7d11a8,ffff80001e7d11f0) at sys_ioctl+0x4a1 syscall(ffff80001e7d1270) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x2fc5d1952b0, count: -9 ddb> show registers rdi 0xffffffff81fad7b7 pfi_address_add+0x1e7 rsi 0x165 rbp 0xffff80001e7d0df0 rbx 0 rdx 0x166 rcx 0xffff80001f99e000 rax 0 r8 0xffffffff81fad071 pfi_instance_add+0xf1 r9 0x1 r10 0x2 r11 0xafcf79766177a6ce r12 0x34 r13 0x2 r14 0xffff800000654034 r15 0 rip 0xffffffff81fad7bb pfi_address_add+0x1eb cs 0x8 rflags 0x10246 __ALIGN_SIZE+0xf246 rsp 0xffff80001e7d0d80 ss 0x10 pfi_address_add+0x1eb: movl 0x4(%rax),%eax ddb> show proc PROC (syz-executor.1) pid=214540 stat=onproc flags process=0 proc=4000000 pri=32, usrpri=63, nice=20 forw=0xffffffffffffffff, list=0xffff80001d6c2290,0xffffffff827ea6f8 process=0xffff80001d6c55d0 user=0xffff80001e7cc000, vmspace=0xfffffd806bc0aaa0 estcpu=36, cpticks=0, pctcpu=0.0 user=0, sys=0, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 66848 176725 40381 0 2 0 syz-executor.1 *66848 214540 40381 0 7 0x4000000 syz-executor.1 82272 68005 0 0 3 0x14200 acct acct 86675 334101 45600 0 2 0x2 syz-executor.0 3224 28649 0 0 3 0x14200 bored sosplice 40381 257572 45600 0 3 0x82 nanosleep syz-executor.1 45600 14121 97978 0 3 0x82 thrsleep syz-fuzzer 45600 459391 97978 0 3 0x4000082 nanosleep syz-fuzzer 45600 152020 97978 0 3 0x4000082 thrsleep syz-fuzzer 45600 266108 97978 0 3 0x4000082 thrsleep syz-fuzzer 45600 91520 97978 0 3 0x4000082 kqread syz-fuzzer 45600 208620 97978 0 3 0x4000082 thrsleep syz-fuzzer 45600 321800 97978 0 3 0x4000082 thrsleep syz-fuzzer 45600 354467 97978 0 3 0x4000082 thrsleep syz-fuzzer 97978 473114 85554 0 3 0x10008a pause ksh 85554 41788 28302 0 3 0x92 select sshd 67399 150868 1 0 3 0x100083 ttyin getty 28302 439027 1 0 3 0x80 select sshd 41475 234977 3474 73 3 0x100090 kqread syslogd 3474 407773 1 0 3 0x100082 netio syslogd 30442 339512 1 77 3 0x100090 poll dhclient 21906 228272 1 0 3 0x80 poll dhclient 31221 104537 0 0 3 0x14200 bored smr 55110 87317 0 0 2 0x14200 zerothread 14250 224503 0 0 3 0x14200 aiodoned aiodoned 69031 196248 0 0 3 0x14200 syncer update 76367 229853 0 0 3 0x14200 cleaner cleaner 89032 174332 0 0 3 0x14200 reaper reaper 89149 218824 0 0 3 0x14200 pgdaemon pagedaemon 83401 144639 0 0 3 0x14200 bored crynlk 25118 441596 0 0 3 0x14200 bored crypto 67293 454870 0 0 3 0x40014200 acpi0 acpi0 81824 495772 0 0 3 0x14200 bored softnet 5559 280239 0 0 3 0x14200 bored systqmp 15243 486147 0 0 3 0x14200 bored systq 889 125713 0 0 3 0x40014200 bored softclock 6066 470732 0 0 3 0x40014200 idle0 1 517853 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 9492 6416K 6865K 78643K 11745 0 pcb 13 8K 8K 78643K 95 0 rtable 113 8K 8K 78643K 693 0 ifaddr 66 14K 14K 78643K 219 0 sysctl 2 0K 0K 78643K 2 0 counters 21 16K 16K 78643K 33 0 ioctlops 0 0K 4K 78643K 97 0 iov 0 0K 24K 78643K 342 0 mount 1 1K 1K 78643K 1 0 vnodes 1218 77K 77K 78643K 1692 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 5K 78643K 9 0 VM map 2 0K 0K 78643K 2 0 sem 12 0K 1K 78643K 104 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1809 195K 288K 78643K 12938 0 file desc 5 13K 25K 78643K 967 0 sigio 0 0K 0K 78643K 2 0 proc 49 38K 55K 78643K 418 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 45 0 in_multi 46 2K 2K 78643K 103 0 ether_multi 1 0K 0K 78643K 12 0 mrt 0 0K 0K 78643K 8 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 1K 78643K 223 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 130 23K 39K 78643K 2983 0 UVM aobj 33 4K 4K 78643K 37 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 78 0 NDP 9 0K 0K 78643K 28 0 temp 118 3868K 3932K 78643K 12866 0 kqueue 3 4K 8K 78643K 33 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 356 0 354 1 0 1 1 0 8 0 rtentry 112 69 0 33 2 0 2 2 0 8 0 unpcb 120 470 0 462 1 0 1 1 0 8 0 syncache 264 50 0 50 4 3 1 1 0 8 1 tcpqe 32 129 0 129 1 1 0 1 0 8 0 tcpcb 544 488 0 484 1 0 1 1 0 8 0 ipq 40 70 0 70 4 4 0 1 0 8 0 ipqe 40 140 0 140 4 4 0 1 0 8 0 inpcb 296 1185 0 1177 9 7 2 2 0 8 1 rttmr 72 3 0 3 2 2 0 1 0 8 0 nd6 48 14 0 7 1 0 1 1 0 8 0 pkpcb 40 2 0 2 1 1 0 1 0 8 0 swfcl 56 2 0 0 1 0 1 1 0 8 0 ppxss 1136 2 0 2 2 2 0 1 0 8 0 pfstscr 40 4 0 3 1 0 1 1 0 8 0 pfrktable 1344 158 0 149 6 5 1 1 0 8 0 pftag 88 22 0 20 5 4 1 1 0 8 0 pfstitem 24 2 0 0 1 0 1 1 0 8 0 pfstkey 112 8 0 6 1 0 1 1 0 8 0 pfstate 328 4 0 3 1 0 1 1 0 8 0 pfrule 1360 35 0 24 5 4 1 1 0 8 0 art_heap8 4096 2 0 0 2 0 2 2 0 8 0 art_heap4 256 322 0 123 15 2 13 13 0 8 0 art_table 32 324 0 123 2 0 2 2 0 8 0 art_node 16 68 0 36 1 0 1 1 0 8 0 sysvmsgpl 40 47 0 25 2 1 1 1 0 8 0 semupl 112 1 0 1 1 1 0 1 0 8 0 semapl 112 96 0 86 1 0 1 1 0 8 0 shmpl 112 34 0 4 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 2658 0 1261 88 0 88 88 0 8 0 ffsino 240 2658 0 1261 83 0 83 83 0 8 0 nchpl 144 4271 0 2689 60 0 60 60 0 8 0 uvmvnodes 72 2983 0 0 55 0 55 55 0 8 0 vnodes 208 2983 0 0 157 0 157 157 0 8 0 namei 1024 12933 0 12932 3 2 1 1 0 8 0 vcpupl 1984 1 0 0 1 0 1 1 0 8 0 vmpool 528 4 0 3 1 0 1 1 0 8 0 pfiaddrpl 120 47 0 42 6 5 1 1 0 8 0 scxspl 192 11796 0 11796 2 1 1 1 0 8 1 plimitpl 152 62 0 55 1 0 1 1 0 8 0 sigapl 424 1153 0 1123 4 0 4 4 0 8 0 futexpl 56 17196 0 17196 3 2 1 1 0 8 1 knotepl 112 111 0 92 1 0 1 1 0 8 0 kqueuepl 144 84 0 79 1 0 1 1 0 8 0 pipepl 272 172 0 162 2 1 1 2 0 8 0 fdescpl 432 1136 0 1122 2 0 2 2 0 8 0 filepl 120 7651 0 7554 4 0 4 4 0 8 0 lockfpl 104 273 0 271 1 0 1 1 0 8 0 lockfspl 48 125 0 123 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 2141 0 2134 1 0 1 1 0 8 0 zombiepl 144 1123 0 1123 1 0 1 1 0 8 1 processpl 928 1153 0 1123 5 1 4 5 0 8 0 procpl 624 2214 0 2176 5 1 4 4 0 8 0 sosppl 128 13 0 13 6 6 0 1 0 8 0 sockpl 400 2014 0 1996 5 2 3 3 0 8 1 mcl64k 65536 27 0 27 11 10 1 1 0 8 1 mcl16k 16384 8 0 8 6 6 0 1 0 8 0 mcl12k 12288 16 0 16 8 8 0 1 0 8 0 mcl9k 9216 7 0 7 4 4 0 1 0 8 0 mcl8k 8192 32 0 32 10 10 0 1 0 8 0 mcl4k 4096 245 0 245 7 7 0 1 0 8 0 mcl2k2 2112 2 0 2 2 2 0 1 0 8 0 mcl2k 2048 94440 0 94387 18 10 8 14 0 8 0 mtagpl 96 153 0 24 5 1 4 4 0 8 0 mbufpl 256 155984 0 155620 39 13 26 28 0 8 2 bufpl 280 4790 0 129 333 0 333 333 0 8 0 anonpl 16 107192 0 90511 78 9 69 73 0 107 0 amapchunkpl 152 5510 0 5380 47 40 7 19 0 158 0 amappl16 192 4644 0 3719 53 6 47 49 0 8 0 amappl15 184 344 0 341 1 0 1 1 0 8 0 amappl14 176 22 0 18 1 0 1 1 0 8 0 amappl13 168 34 0 31 1 0 1 1 0 8 0 amappl12 160 23 0 21 1 0 1 1 0 8 0 amappl11 152 161 0 152 1 0 1 1 0 8 0 amappl10 144 344 0 340 1 0 1 1 0 8 0 amappl9 136 851 0 848 1 0 1 1 0 8 0 amappl8 128 843 0 797 2 0 2 2 0 8 0 amappl7 120 448 0 434 1 0 1 1 0 8 0 amappl6 112 130 0 126 1 0 1 1 0 8 0 amappl5 104 1070 0 1058 1 0 1 1 0 8 0 amappl4 96 449 0 422 1 0 1 1 0 8 0 amappl3 88 123 0 118 1 0 1 1 0 8 0 amappl2 80 8258 0 8193 2 0 2 2 0 8 0 amappl1 72 35063 0 34639 23 13 10 17 0 8 0 amappl 80 2469 0 2426 1 0 1 1 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 36 0 4 1 0 1 1 0 8 0 uaddrrnd 24 1140 0 1125 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 1140 0 1125 1 0 1 1 0 8 0 vmmpekpl 168 9891 0 9860 2 0 2 2 0 8 0 vmmpepl 168 144279 0 142248 165 70 95 127 0 357 4 vmsppl 272 1139 0 1125 4 2 2 2 0 8 1 pdppl 4096 2286 0 2251 6 1 5 6 0 8 0 pvpl 32 318857 0 299146 215 50 165 176 0 265 3 pmappl 200 1139 0 1125 1 0 1 1 0 8 0 extentpl 40 53 0 36 1 0 1 1 0 8 0 phpool 112 315 0 73 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(ffff800000b1f4a8,ffff800000ae6800,0,c3) at pfi_table_update+0x174 pfi_kif_update(ffff800000ae6800) at pfi_kif_update+0xba pfi_dynaddr_update sys/net/pf_if.c:466 [inline] pfi_kif_update(ffff800000ae6800) at pfi_kif_update+0xba sys/net/pf_if.c:442 if_addgroup(ffff800000ac6000,ffff80001e7d10a8) at if_addgroup+0x280 sys/net/if.c:2739 ifioctl(fffffd805da78c88,80286987,ffff80001e7d1090,ffff80001d6c29e0) at ifioctl+0x13e7 sys/net/if.c:2151 sys_ioctl(ffff80001d6c29e0,ffff80001e7d11a8,ffff80001e7d11f0) at sys_ioctl+0x4a1 syscall(ffff80001e7d1270) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x2fc5d1952b0, 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(ffff800000ac6000,0,c3) at pfi_instance_add+0x5e5 pfi_table_update(ffff800000b1f4a8,ffff800000ae6800,0,c3) at pfi_table_update+0x174 pfi_kif_update(ffff800000ae6800) at pfi_kif_update+0xba pfi_dynaddr_update sys/net/pf_if.c:466 [inline] pfi_kif_update(ffff800000ae6800) at pfi_kif_update+0xba sys/net/pf_if.c:442 if_addgroup(ffff800000ac6000,ffff80001e7d10a8) at if_addgroup+0x280 sys/net/if.c:2739 ifioctl(fffffd805da78c88,80286987,ffff80001e7d1090,ffff80001d6c29e0) at ifioctl+0x13e7 sys/net/if.c:2151 sys_ioctl(ffff80001d6c29e0,ffff80001e7d11a8,ffff80001e7d11f0) at sys_ioctl+0x4a1 syscall(ffff80001e7d1270) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x2fc5d1952b0, count: -9