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(0xfffffd806bc0a220, 0x4, 0, 1) -> e pfi_address_add(0,2,0) at pfi_address_add+0x1eb sys/net/pf_if.c:585 end trace frame: 0xffff80001f1d9730, 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(ffff800000b1ef40,ffff800000ad6d00,0,c3) at pfi_table_update+0x174 pfi_kif_update(ffff800000ad6d00) at pfi_kif_update+0xba pfi_dynaddr_update sys/net/pf_if.c:466 [inline] pfi_kif_update(ffff800000ad6d00) at pfi_kif_update+0xba sys/net/pf_if.c:442 if_addgroup(ffff800000ac6000,ffff80001f1d9948) at if_addgroup+0x280 sys/net/if.c:2736 ifioctl(fffffd80687cb010,80286987,ffff80001f1d9930,ffff80001d6c2c48) at ifioctl+0x13e7 sys/net/if.c:2148 sys_ioctl(ffff80001d6c2c48,ffff80001f1d9a48,ffff80001f1d9a90) at sys_ioctl+0x4a1 syscall(ffff80001f1d9b10) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x594a67c0270, count: -9 ddb> show registers rdi 0xffffffff8112de67 pfi_address_add+0x1e7 rsi 0x15a rbp 0xffff80001f1d9690 rbx 0 rdx 0x15b rcx 0xffff80001e1a4000 rax 0 r8 0xffffffff8112d721 pfi_instance_add+0xf1 r9 0x1 r10 0x2 r11 0x2d7d5e06c0af756f r12 0x34 r13 0x2 r14 0xffff800000654034 r15 0 rip 0xffffffff8112de6b pfi_address_add+0x1eb cs 0x8 rflags 0x10246 __ALIGN_SIZE+0xf246 rsp 0xffff80001f1d9620 ss 0x10 pfi_address_add+0x1eb: movl 0x4(%rax),%eax ddb> show proc PROC (syz-executor.0) pid=90784 stat=onproc flags process=0 proc=4000000 pri=32, usrpri=74, nice=20 forw=0xffffffffffffffff, list=0xffff80001d71d120,0xffffffff8284b308 process=0xffff80001d6c4010 user=0xffff80001f1d4000, vmspace=0xfffffd806bc0a220 estcpu=36, cpticks=0, pctcpu=0.0 user=0, sys=0, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 40924 183118 33105 0 2 0 syz-executor.0 *40924 90784 33105 0 7 0x4000000 syz-executor.0 2115 295140 0 0 3 0x14200 bored sosplice 33105 284782 16374 0 3 0x82 nanosleep syz-executor.0 59560 359210 16374 0 3 0x82 nanosleep syz-executor.1 16374 340807 5739 0 3 0x82 thrsleep syz-fuzzer 16374 425268 5739 0 3 0x4000082 thrsleep syz-fuzzer 16374 465707 5739 0 3 0x4000082 thrsleep syz-fuzzer 16374 1975 5739 0 3 0x4000082 thrsleep syz-fuzzer 16374 16322 5739 0 3 0x4000082 thrsleep syz-fuzzer 16374 401602 5739 0 3 0x4000082 kqread syz-fuzzer 16374 32441 5739 0 3 0x4000082 thrsleep syz-fuzzer 16374 514543 5739 0 3 0x4000082 thrsleep syz-fuzzer 5739 22480 87280 0 3 0x10008a pause ksh 87280 140555 45428 0 3 0x92 select sshd 775 293043 1 0 3 0x100083 ttyin getty 45428 92397 1 0 3 0x80 select sshd 69673 168438 93003 73 3 0x100010 ffs_fsync syslogd 93003 137717 1 0 3 0x100082 netio syslogd 9392 468608 1 77 3 0x100090 poll dhclient 55651 45859 1 0 3 0x80 poll dhclient 53766 59816 0 0 3 0x14200 bored smr 15358 292288 0 0 2 0x14200 zerothread 44620 450120 0 0 3 0x14200 aiodoned aiodoned 86482 103398 0 0 3 0x14200 syncer update 32636 244819 0 0 3 0x14200 cleaner cleaner 22398 87333 0 0 3 0x14200 reaper reaper 89151 346633 0 0 3 0x14200 pgdaemon pagedaemon 59498 192550 0 0 3 0x14200 bored crynlk 14037 464362 0 0 3 0x14200 bored crypto 26555 134547 0 0 3 0x40014200 acpi0 acpi0 50540 233733 0 0 3 0x14200 bored softnet 27514 247227 0 0 3 0x14200 bored systqmp 27672 416484 0 0 3 0x14200 bored systq 43410 407027 0 0 3 0x40014200 bored softclock 24190 266555 0 0 3 0x40014200 idle0 1 733 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 7036K 78643K 11674 0 pcb 14 8K 8K 78643K 66 0 rtable 101 4K 7K 78643K 391 0 ifaddr 66 13K 13K 78643K 129 0 sysctl 2 0K 0K 78643K 2 0 counters 21 16K 16K 78643K 25 0 ioctlops 0 0K 4K 78643K 51 0 iov 0 0K 12K 78643K 22 0 mount 1 1K 1K 78643K 1 0 vnodes 1225 77K 77K 78643K 1498 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 5K 78643K 5 0 VM map 2 0K 0K 78643K 2 0 sem 12 0K 0K 78643K 58 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1809 195K 288K 78643K 12938 0 file desc 5 13K 25K 78643K 291 0 proc 50 38K 54K 78643K 392 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 15 0 in_multi 44 2K 2K 78643K 69 0 ether_multi 1 0K 0K 78643K 8 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 55 254K 254K 78643K 55 0 exec 0 0K 1K 78643K 195 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 134 39K 55K 78643K 1594 0 UVM aobj 13 2K 2K 78643K 13 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 36 0 NDP 10 0K 0K 78643K 18 0 temp 100 3853K 3917K 78643K 17227 0 kqueue 3 4K 6K 78643K 6 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 0 1 0 1 1 0 8 0 rtpcb 80 39 0 37 1 0 1 1 0 8 0 rtentry 112 50 0 13 2 0 2 2 0 8 0 unpcb 120 131 0 123 1 0 1 1 0 8 0 syncache 264 6 0 6 2 1 1 1 0 8 1 tcpqe 32 622 0 622 1 1 0 1 0 8 0 tcpcb 544 82 0 78 1 0 1 1 0 8 0 ipq 40 4 0 4 1 1 0 1 0 8 0 ipqe 40 10 0 10 1 1 0 1 0 8 0 inpcb 296 275 0 263 2 0 2 2 0 8 0 rttmr 72 5 0 4 1 0 1 1 0 8 0 nd6 48 6 0 0 1 0 1 1 0 8 0 pkpcb 40 4 0 4 1 1 0 1 0 8 0 ppxss 1128 1 0 1 1 1 0 1 0 8 0 pfrktable 1344 58 0 55 1 0 1 1 0 8 0 pftag 88 11 0 10 1 0 1 1 0 8 0 pfqueue 264 2 0 0 1 0 1 1 0 8 0 pfrule 1360 14 0 10 1 0 1 1 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 275 0 72 14 1 13 13 0 8 0 art_table 32 276 0 72 2 0 2 2 0 8 0 art_node 16 49 0 18 1 0 1 1 0 8 0 sysvmsgpl 40 4 0 0 1 0 1 1 0 8 0 semapl 112 52 0 42 1 0 1 1 0 8 0 shmpl 112 10 0 0 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 1816 0 417 88 0 88 88 0 8 0 ffsino 240 1816 0 417 83 0 83 83 0 8 0 nchpl 144 2455 0 851 60 0 60 60 0 8 0 uvmvnodes 72 2099 0 0 39 0 39 39 0 8 0 vnodes 208 2099 0 0 111 0 111 111 0 8 0 namei 1024 6476 0 6476 1 0 1 1 0 8 1 vcpupl 1984 1 0 0 1 0 1 1 0 8 0 vmpool 528 1 0 0 1 0 1 1 0 8 0 pfiaddrpl 120 18 0 16 1 0 1 1 0 8 0 scxspl 192 7335 0 7334 1 0 1 1 0 8 0 plimitpl 152 27 0 20 1 0 1 1 0 8 0 sigapl 424 478 0 449 4 0 4 4 0 8 0 futexpl 56 5821 0 5821 1 0 1 1 0 8 1 knotepl 112 64 0 45 1 0 1 1 0 8 0 kqueuepl 144 24 0 22 1 0 1 1 0 8 0 pipepl 272 116 0 106 2 1 1 2 0 8 0 fdescpl 432 463 0 449 2 0 2 2 0 8 0 filepl 120 2647 0 2547 4 0 4 4 0 8 0 lockfpl 104 53 0 52 1 0 1 1 0 8 0 lockfspl 48 19 0 18 1 0 1 1 0 8 0 sessionpl 112 17 0 7 1 0 1 1 0 8 0 pgrppl 48 21 0 11 1 0 1 1 0 8 0 ucredpl 96 258 0 251 1 0 1 1 0 8 0 zombiepl 144 449 0 448 1 0 1 1 0 8 0 processpl 928 478 0 448 4 0 4 4 0 8 0 procpl 624 863 0 825 4 0 4 4 0 8 0 sosppl 128 11 0 11 2 1 1 1 0 8 1 sockpl 400 449 0 429 3 0 3 3 0 8 0 mcl64k 65536 23 0 23 3 2 1 1 0 8 1 mcl16k 16384 2 0 2 1 1 0 1 0 8 0 mcl12k 12288 12 0 12 2 1 1 1 0 8 1 mcl9k 9216 1 0 1 1 0 1 1 0 8 1 mcl8k 8192 13 0 13 2 1 1 1 0 8 1 mcl4k 4096 67 0 67 2 1 1 1 0 8 1 mcl2k2 2112 6 0 6 2 1 1 1 0 8 1 mcl2k 2048 92221 0 92153 25 16 9 19 0 8 0 mtagpl 96 141 0 5 5 1 4 4 0 8 0 mbufpl 256 147949 0 147581 25 2 23 23 0 8 0 bufpl 280 3857 0 126 267 0 267 267 0 8 0 anonpl 16 59463 0 42309 72 2 70 71 0 107 0 amapchunkpl 152 2366 0 2232 20 1 19 19 0 158 12 amappl16 192 1888 0 932 49 0 49 49 0 8 1 amappl15 184 128 0 125 1 0 1 1 0 8 0 amappl14 176 155 0 148 1 0 1 1 0 8 0 amappl13 168 26 0 23 1 0 1 1 0 8 0 amappl12 160 8 0 7 1 0 1 1 0 8 0 amappl11 152 178 0 168 1 0 1 1 0 8 0 amappl10 144 138 0 131 1 0 1 1 0 8 0 amappl9 136 373 0 372 1 0 1 1 0 8 0 amappl8 128 331 0 288 2 0 2 2 0 8 0 amappl7 120 233 0 218 1 0 1 1 0 8 0 amappl6 112 26 0 20 1 0 1 1 0 8 0 amappl5 104 274 0 263 1 0 1 1 0 8 0 amappl4 96 557 0 530 1 0 1 1 0 8 0 amappl3 88 246 0 238 1 0 1 1 0 8 0 amappl2 80 2894 0 2830 2 0 2 2 0 8 0 amappl1 72 20038 0 19614 23 13 10 17 0 8 0 amappl 80 1109 0 1066 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 464 0 449 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 464 0 449 1 0 1 1 0 8 0 vmmpekpl 168 7031 0 7001 2 0 2 2 0 8 0 vmmpepl 168 64232 0 62167 119 23 96 114 0 357 0 vmsppl 272 463 0 449 3 1 2 2 0 8 1 pdppl 4096 934 0 899 6 1 5 6 0 8 0 pvpl 32 184289 0 164138 172 4 168 170 0 265 2 pmappl 200 463 0 449 1 0 1 1 0 8 0 extentpl 40 53 0 36 1 0 1 1 0 8 0 phpool 112 270 0 29 8 0 8 8 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(ffff800000b1ef40,ffff800000ad6d00,0,c3) at pfi_table_update+0x174 pfi_kif_update(ffff800000ad6d00) at pfi_kif_update+0xba pfi_dynaddr_update sys/net/pf_if.c:466 [inline] pfi_kif_update(ffff800000ad6d00) at pfi_kif_update+0xba sys/net/pf_if.c:442 if_addgroup(ffff800000ac6000,ffff80001f1d9948) at if_addgroup+0x280 sys/net/if.c:2736 ifioctl(fffffd80687cb010,80286987,ffff80001f1d9930,ffff80001d6c2c48) at ifioctl+0x13e7 sys/net/if.c:2148 sys_ioctl(ffff80001d6c2c48,ffff80001f1d9a48,ffff80001f1d9a90) at sys_ioctl+0x4a1 syscall(ffff80001f1d9b10) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x594a67c0270, 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(ffff800000b1ef40,ffff800000ad6d00,0,c3) at pfi_table_update+0x174 pfi_kif_update(ffff800000ad6d00) at pfi_kif_update+0xba pfi_dynaddr_update sys/net/pf_if.c:466 [inline] pfi_kif_update(ffff800000ad6d00) at pfi_kif_update+0xba sys/net/pf_if.c:442 if_addgroup(ffff800000ac6000,ffff80001f1d9948) at if_addgroup+0x280 sys/net/if.c:2736 ifioctl(fffffd80687cb010,80286987,ffff80001f1d9930,ffff80001d6c2c48) at ifioctl+0x13e7 sys/net/if.c:2148 sys_ioctl(ffff80001d6c2c48,ffff80001f1d9a48,ffff80001f1d9a90) at sys_ioctl+0x4a1 syscall(ffff80001f1d9b10) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x594a67c0270, count: -9