uvm_fault(0xfffffd806e903b88, 0x4, 0, 1) -> e kernel: page fault trap, code=0 Stopped at pfi_address_add+0x1eb: movl 0x4(%rax),%eax ddb{0}> ddb{0}> set $lines = 0 ddb{0}> set $maxwidth = 0 ddb{0}> show panic kernel page fault uvm_fault(0xfffffd806e903b88, 0x4, 0, 1) -> e pfi_address_add(0,2,0) at pfi_address_add+0x1eb sys/net/pf_if.c:585 end trace frame: 0xffff800021f8b270, count: 0 ddb{0}> trace pfi_address_add(0,2,0) at pfi_address_add+0x1eb sys/net/pf_if.c:585 pfi_instance_add(ffff800000af5000,0,2) at pfi_instance_add+0x5e5 pfi_table_update(ffff800000b064c0,ffff800000b16300,0,2) at pfi_table_update+0x174 pfi_kif_update(ffff800000b16300) at pfi_kif_update+0xba pfi_dynaddr_update sys/net/pf_if.c:466 [inline] pfi_kif_update(ffff800000b16300) at pfi_kif_update+0xba sys/net/pf_if.c:442 if_addgroup(ffff800000af5000,ffff800021f8b4f8) at if_addgroup+0x280 sys/net/if.c:2635 ifioctl(fffffd80631bfb38,80286987,ffff800021f8b4e0,ffff800021f84ec8) at ifioctl+0x13f7 sys/net/if.c:2047 soo_ioctl(fffffd8079ce88f0,80286987,ffff800021f8b4e0,ffff800021f84ec8) at soo_ioctl+0x27c sys/kern/sys_socket.c:138 sys_ioctl(ffff800021f84ec8,ffff800021f8b5f8,ffff800021f8b640) at sys_ioctl+0x4a5 syscall(ffff800021f8b6c0) at syscall+0x4a4 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff800021f8b6c0) at syscall+0x4a4 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xa962bae9c80, count: -10 ddb{0}> show registers rdi 0xffffffff81513c07 pfi_address_add+0x1e7 rsi 0x386 rbp 0xffff800021f8b1d0 rbx 0 rdx 0x387 rcx 0xffff800023105000 rax 0 r8 0xffffffff815134c1 pfi_instance_add+0xf1 r9 0x1 r10 0x2 r11 0x1ef079733d6c0196 r12 0x34 r13 0x2 r14 0xffff800000657034 r15 0 rip 0xffffffff81513c0b pfi_address_add+0x1eb cs 0x8 rflags 0x10246 __ALIGN_SIZE+0xf246 rsp 0xffff800021f8b160 ss 0x10 pfi_address_add+0x1eb: movl 0x4(%rax),%eax ddb{0}> show proc PROC (syz-executor.1) pid=403466 stat=onproc flags process=0 proc=4000000 pri=32, usrpri=76, nice=20 forw=0xffffffffffffffff, list=0xffff800021f85888,0xffffffff8292fce0 process=0xffff800020ec27f0 user=0xffff800021f86000, vmspace=0xfffffd806e903b88 estcpu=36, cpticks=1, pctcpu=0.0 user=0, sys=1, intr=0 ddb{0}> ps PID TID PPID UID S FLAGS WAIT COMMAND 15281 24178 13329 0 2 0 syz-executor.1 *15281 403466 13329 0 7 0x4000000 syz-executor.1 26205 471008 27078 0 7 0 syz-executor.0 26205 151487 27078 0 3 0x4000080 fsleep syz-executor.0 59629 382376 1 0 3 0x100083 ttyin getty 53263 31021 0 0 3 0x14280 nfsidl nfsio 9882 280315 0 0 3 0x14280 nfsidl nfsio 67882 81390 0 0 3 0x14280 nfsidl nfsio 17632 495416 0 0 3 0x14280 nfsidl nfsio 83020 353602 0 0 3 0x14280 nfsidl nfsio 92123 81777 0 0 3 0x14280 nfsidl nfsio 3356 51411 0 0 3 0x14280 nfsidl nfsio 75432 361072 0 0 3 0x14280 nfsidl nfsio 70585 194006 0 0 3 0x14280 nfsidl nfsio 63955 505786 0 0 3 0x14280 nfsidl nfsio 15800 488437 0 0 3 0x14280 nfsidl nfsio 41541 115293 0 0 3 0x14280 nfsidl nfsio 66471 281305 0 0 3 0x14280 nfsidl nfsio 22402 28863 0 0 3 0x14280 nfsidl nfsio 32872 315131 0 0 3 0x14280 nfsidl nfsio 61336 237189 0 0 3 0x14280 nfsidl nfsio 45338 202267 0 0 3 0x14280 nfsidl nfsio 66755 392644 0 0 3 0x14280 nfsidl nfsio 61498 371378 0 0 3 0x14280 nfsidl nfsio 21627 337299 0 0 3 0x14280 nfsidl nfsio 13905 498831 0 0 3 0x14200 bored sosplice 13329 190452 98426 0 2 0x482 syz-executor.1 27078 512457 98426 0 2 0x482 syz-executor.0 98426 257467 43256 0 3 0x82 thrsleep syz-fuzzer 98426 259915 43256 0 2 0x4000482 syz-fuzzer 98426 28739 43256 0 3 0x4000082 thrsleep syz-fuzzer 98426 414943 43256 0 3 0x4000082 thrsleep syz-fuzzer 98426 281262 43256 0 3 0x4000082 thrsleep syz-fuzzer 98426 28291 43256 0 3 0x4000082 thrsleep syz-fuzzer 98426 201242 43256 0 3 0x4000082 thrsleep syz-fuzzer 98426 296802 43256 0 3 0x4000082 thrsleep syz-fuzzer 98426 72376 43256 0 3 0x4000082 kqread syz-fuzzer 98426 340750 43256 0 3 0x4000082 thrsleep syz-fuzzer 43256 161325 32673 0 3 0x10008a pause ksh 32673 35580 9585 0 3 0x92 select sshd 9585 237487 1 0 3 0x80 select sshd 66954 173266 8498 74 3 0x100092 bpf pflogd 8498 233735 1 0 3 0x80 netio pflogd 16594 93612 19083 73 3 0x100090 kqread syslogd 19083 112648 1 0 3 0x100082 netio syslogd 12937 78062 1 77 3 0x100090 poll dhclient 94140 171349 1 0 3 0x80 poll dhclient 79334 295348 0 0 3 0x14200 bored smr 31621 506730 0 0 2 0x14200 zerothread 67807 83913 0 0 3 0x14200 aiodoned aiodoned 99651 226920 0 0 3 0x14200 syncer update 74760 262446 0 0 3 0x14200 cleaner cleaner 88737 460740 0 0 3 0x14200 reaper reaper 94655 430362 0 0 3 0x14200 pgdaemon pagedaemon 11587 116144 0 0 3 0x14200 bored crynlk 11328 487372 0 0 3 0x14200 bored crypto 63612 337282 0 0 3 0x40014200 acpi0 acpi0 21686 359719 0 0 3 0x40014200 idle1 17207 89966 0 0 3 0x14200 bored softnet 63741 58826 0 0 3 0x14200 bored systqmp 74399 193382 0 0 3 0x14200 bored systq 51479 298602 0 0 2 0x40014200 softclock 7582 410184 0 0 3 0x40014200 idle0 1 265117 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{0}> show all locks Process 15281 (syz-executor.1) thread 0xffff800021f84ec8 (403466) exclusive rwlock netlock r = 0 (0xffffffff82726938) #0 witness_lock+0x4c7 stacktrace_save sys/sys/stacktrace.h:36 [inline] #0 witness_lock+0x4c7 sys/kern/subr_witness.c:1164 #1 ifioctl+0x13ea sys/net/if.c:2047 #2 soo_ioctl+0x27c sys/kern/sys_socket.c:138 #3 sys_ioctl+0x4a5 #4 syscall+0x4a4 mi_syscall sys/sys/syscall_mi.h:102 [inline] #4 syscall+0x4a4 sys/arch/amd64/amd64/trap.c:570 #5 Xsyscall+0x128 exclusive kernel_lock &kernel_lock r = 1 (0xffffffff828e6a68) #0 witness_lock+0x4c7 stacktrace_save sys/sys/stacktrace.h:36 [inline] #0 witness_lock+0x4c7 sys/kern/subr_witness.c:1164 #1 soo_ioctl+0x26a sys/kern/sys_socket.c:138 #2 sys_ioctl+0x4a5 #3 syscall+0x4a4 mi_syscall sys/sys/syscall_mi.h:102 [inline] #3 syscall+0x4a4 sys/arch/amd64/amd64/trap.c:570 #4 Xsyscall+0x128 ddb{0}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 9534 6557K 6873K 78643K 11504 0 pcb 14 8K 8K 78643K 81 0 rtable 112 5K 9K 78643K 550 0 ifaddr 80 15K 17K 78643K 195 0 sysctl 2 0K 0K 78643K 2 0 counters 43 33K 34K 78643K 69 0 ioctlops 0 0K 4K 78643K 1599 0 iov 0 0K 24K 78643K 65 0 mount 1 1K 1K 78643K 1 0 vnodes 1218 77K 77K 78643K 1527 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 5K 78643K 17 0 VM map 2 1K 1K 78643K 2 0 sem 12 0K 0K 78643K 232 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1824 197K 290K 78643K 13058 0 file desc 6 17K 25K 78643K 851 0 sigio 0 0K 0K 78643K 13 0 proc 62 63K 95K 78643K 490 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 270 0 in_multi 45 2K 3K 78643K 161 0 ether_multi 1 0K 0K 78643K 10 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 67 307K 307K 78643K 67 0 exec 0 0K 1K 78643K 246 0 pfkey data 0 0K 1K 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 129 71K 80K 78643K 3660 0 UVM aobj 37 2K 2K 78643K 62 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 51 0 NDP 13 0K 0K 78643K 40 0 temp 147 3882K 3946K 78643K 5421 0 kqueue 3 4K 12K 78643K 27 0 SYN cache 2 16K 16K 78643K 2 0 ddb{0}> show all pools Name Size Requests Fail Releases Pgreq Pgrel Npage Hiwat Minpg Maxpg Idle arp 64 12 0 4 1 0 1 1 0 8 0 plcache 128 20 0 0 1 0 1 1 0 8 0 rtpcb 80 61 0 59 1 0 1 1 0 8 0 rtentry 112 101 0 60 2 0 2 2 0 8 0 unpcb 120 1580 0 1566 2 1 1 2 0 8 0 syncache 264 10 0 10 4 3 1 1 0 8 1 tcpqe 32 19 0 19 2 1 1 1 0 8 1 tcpcb 544 334 0 326 4 2 2 2 0 8 1 inpcb 296 1306 0 1291 4 2 2 2 0 8 0 rttmr 72 5 0 5 3 2 1 1 0 8 1 nd6 48 27 0 24 1 0 1 1 0 8 0 pkpcb 40 10 0 10 3 2 1 1 0 8 1 pfstscr 40 1 0 1 1 1 0 1 0 8 0 pffrag 232 7 0 7 2 1 1 1 0 482 1 pffrnode 88 7 0 7 2 1 1 1 0 8 1 pffrent 40 317 0 317 2 1 1 1 0 8 1 pfosfp 40 846 0 423 5 0 5 5 0 8 0 pfosfpen 112 1428 0 714 21 0 21 21 0 8 0 pfrktable 1344 35 0 31 2 0 2 2 0 8 1 pfstitem 24 18 0 11 1 0 1 1 0 8 0 pfstkey 112 20 0 13 1 0 1 1 0 8 0 pfstate 328 19 0 12 2 0 2 2 0 8 0 pfrule 1360 37 0 23 3 1 2 2 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 413 0 237 16 2 14 16 0 8 2 art_table 32 414 0 237 2 0 2 2 0 8 0 art_node 16 100 0 63 1 0 1 1 0 8 0 sysvmsgpl 40 20 0 18 3 2 1 1 0 8 0 semupl 112 4 0 4 1 1 0 1 0 8 0 semapl 112 228 0 218 1 0 1 1 0 8 0 shmpl 112 59 0 25 2 1 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 2500 0 1100 89 0 89 89 0 8 0 ffsino 272 2500 0 1100 94 0 94 94 0 8 0 nchpl 144 3852 0 2242 60 0 60 60 0 8 0 uvmvnodes 72 2743 0 0 50 0 50 50 0 8 0 vnodes 208 2743 0 0 145 0 145 145 0 8 0 namei 1024 10652 0 10652 4 3 1 1 0 8 1 percpumem 16 45 0 13 1 0 1 1 0 8 0 vcpupl 1984 4 0 0 1 0 1 1 0 8 0 vmpool 560 4 0 0 1 0 1 1 0 8 0 pfiaddrpl 120 13 0 10 1 0 1 1 0 8 0 scxspl 192 11413 0 11413 12 9 3 7 0 8 3 plimitpl 152 70 0 62 1 0 1 1 0 8 0 sigapl 424 1088 0 1035 6 0 6 6 0 8 0 futexpl 56 11811 0 11810 4 3 1 1 0 8 0 knotepl 112 90 0 71 1 0 1 1 0 8 0 kqueuepl 144 121 0 118 1 0 1 1 0 8 0 pipepl 304 195 0 185 2 1 1 2 0 8 0 fdescpl 496 1052 0 1035 3 0 3 3 0 8 0 filepl 152 6921 0 6813 7 2 5 6 0 8 0 lockfpl 104 163 0 162 1 0 1 1 0 8 0 lockfspl 48 57 0 56 1 0 1 1 0 8 0 sessionpl 112 19 0 8 1 0 1 1 0 8 0 pgrppl 48 23 0 12 1 0 1 1 0 8 0 ucredpl 96 711 0 701 1 0 1 1 0 8 0 zombiepl 144 1035 0 1035 2 1 1 1 0 8 1 processpl 992 1088 0 1035 7 0 7 7 0 8 0 procpl 624 2875 0 2811 6 0 6 6 0 8 0 srpgc 64 2 0 2 1 1 0 1 0 8 0 sosppl 128 10 0 10 2 1 1 1 0 8 1 sockpl 400 2962 0 2934 10 5 5 5 0 8 2 mcl64k 65536 8 0 0 1 0 1 1 0 8 0 mcl16k 16384 3 0 0 1 0 1 1 0 8 0 mcl12k 12288 11 0 0 2 0 2 2 0 8 0 mcl9k 9216 5 0 0 1 0 1 1 0 8 0 mcl8k 8192 9 0 0 2 0 2 2 0 8 0 mcl4k 4096 17 0 0 3 0 3 3 0 8 0 mcl2k2 2112 2 0 0 1 0 1 1 0 8 0 mcl2k 2048 180 0 0 22 0 22 22 0 8 0 mtagpl 96 36 0 0 1 0 1 1 0 8 0 mbufpl 256 435 0 0 24 0 24 24 0 8 0 bufpl 280 4693 0 137 326 0 326 326 0 8 0 anonpl 16 115108 0 97460 95 12 83 86 0 124 11 amapchunkpl 152 6381 0 6226 29 22 7 20 0 158 0 amappl16 192 4432 0 3475 62 10 52 59 0 8 4 amappl15 184 3 0 2 2 1 1 1 0 8 0 amappl14 176 430 0 425 1 0 1 1 0 8 0 amappl13 168 30 0 27 1 0 1 1 0 8 0 amappl12 160 6 0 5 2 1 1 1 0 8 0 amappl11 152 470 0 453 1 0 1 1 0 8 0 amappl10 144 25 0 18 1 0 1 1 0 8 0 amappl9 136 795 0 792 1 0 1 1 0 8 0 amappl8 128 355 0 321 2 0 2 2 0 8 0 amappl7 120 117 0 106 1 0 1 1 0 8 0 amappl6 112 26 0 21 1 0 1 1 0 8 0 amappl5 104 556 0 539 1 0 1 1 0 8 0 amappl4 96 905 0 874 1 0 1 1 0 8 0 amappl3 88 549 0 541 1 0 1 1 0 8 0 amappl2 80 7530 0 7451 2 0 2 2 0 8 0 amappl1 72 40874 0 40404 24 14 10 18 0 8 0 amappl 80 3118 0 3069 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 61 0 25 1 0 1 1 0 8 0 uaddrrnd 24 1056 0 1035 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 1056 0 1035 1 0 1 1 0 8 0 vmmpekpl 168 10973 0 10928 3 0 3 3 0 8 0 vmmpepl 168 142597 0 140345 129 29 100 115 0 357 2 vmsppl 368 1055 0 1035 2 0 2 2 0 8 0 pdppl 4096 2119 0 2074 7 1 6 6 0 8 0 pvpl 32 356333 0 335209 219 20 199 202 0 265 28 pmappl 232 1055 0 1035 3 1 2 2 0 8 0 extentpl 40 53 0 36 1 0 1 1 0 8 0 phpool 112 294 0 16 8 0 8 8 0 8 0 ddb{0}> machine ddbcpu 0 Invalid cpu 0 ddb{0}> trace pfi_address_add(0,2,0) at pfi_address_add+0x1eb sys/net/pf_if.c:585 pfi_instance_add(ffff800000af5000,0,2) at pfi_instance_add+0x5e5 pfi_table_update(ffff800000b064c0,ffff800000b16300,0,2) at pfi_table_update+0x174 pfi_kif_update(ffff800000b16300) at pfi_kif_update+0xba pfi_dynaddr_update sys/net/pf_if.c:466 [inline] pfi_kif_update(ffff800000b16300) at pfi_kif_update+0xba sys/net/pf_if.c:442 if_addgroup(ffff800000af5000,ffff800021f8b4f8) at if_addgroup+0x280 sys/net/if.c:2635 ifioctl(fffffd80631bfb38,80286987,ffff800021f8b4e0,ffff800021f84ec8) at ifioctl+0x13f7 sys/net/if.c:2047 soo_ioctl(fffffd8079ce88f0,80286987,ffff800021f8b4e0,ffff800021f84ec8) at soo_ioctl+0x27c sys/kern/sys_socket.c:138 sys_ioctl(ffff800021f84ec8,ffff800021f8b5f8,ffff800021f8b640) at sys_ioctl+0x4a5 syscall(ffff800021f8b6c0) at syscall+0x4a4 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff800021f8b6c0) at syscall+0x4a4 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xa962bae9c80, count: -10 ddb{0}> machine ddbcpu 1 Stopped at x86_ipi_db+0x1a: addq $0x8,%rsp ddb{1}> trace x86_ipi_db(ffff800020d70ff0) at x86_ipi_db+0x1a sys/arch/amd64/amd64/db_interface.c:352 x86_ipi_handler() at x86_ipi_handler+0xc6 sys/arch/amd64/amd64/ipi.c:106 Xresume_lapic_ipi() at Xresume_lapic_ipi+0x23 __mp_lock(ffffffff828e6860) at __mp_lock+0x127 __mp_lock_spin sys/kern/kern_lock.c:116 [inline] __mp_lock(ffffffff828e6860) at __mp_lock+0x127 sys/kern/kern_lock.c:147 pageflttrap(ffff800023104d80,1) at pageflttrap+0x7f sys/arch/amd64/amd64/trap.c:180 usertrap(ffff800023104d80) at usertrap+0x21a sys/arch/amd64/amd64/trap.c:384 recall_trap() at recall_trap+0x8 end of kernel end trace frame: 0x7f7ffffee480, count: -7