uvm_fault(0xfffffd80643fe460, 0x4, 0, 1) -> e kernel: page fault trap, code=0 Stopped at pfi_address_add+0x1eb: movl 0x4(%rax),%eax ddb{1}> ddb{1}> set $lines = 0 ddb{1}> set $maxwidth = 0 ddb{1}> show panic kernel page fault uvm_fault(0xfffffd80643fe460, 0x4, 0, 1) -> e pfi_address_add(0,2,0) at pfi_address_add+0x1eb sys/net/pf_if.c:585 end trace frame: 0xffff800020ec51b0, count: 0 ddb{1}> trace pfi_address_add(0,2,0) at pfi_address_add+0x1eb sys/net/pf_if.c:585 pfi_instance_add(ffff800000ac6000,0,2) at pfi_instance_add+0x5e5 pfi_table_update(ffff800000b4f9d0,ffff800000b29700,0,2) at pfi_table_update+0x174 pfi_kif_update(ffff800000b29700) at pfi_kif_update+0xba pfi_dynaddr_update sys/net/pf_if.c:466 [inline] pfi_kif_update(ffff800000b29700) at pfi_kif_update+0xba sys/net/pf_if.c:442 if_addgroup(ffff800000ac6000,ffff800020ec5438) at if_addgroup+0x280 sys/net/if.c:2736 ifioctl(fffffd8064362990,80286987,ffff800020ec5420,ffff800020ecd3a8) at ifioctl+0x13f7 sys/net/if.c:2148 soo_ioctl(fffffd8070e0d698,80286987,ffff800020ec5420,ffff800020ecd3a8) at soo_ioctl+0x27c sys/kern/sys_socket.c:138 sys_ioctl(ffff800020ecd3a8,ffff800020ec5538,ffff800020ec5580) at sys_ioctl+0x4a5 syscall(ffff800020ec5600) at syscall+0x4a4 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff800020ec5600) at syscall+0x4a4 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x59260f35030, count: -10 ddb{1}> show registers rdi 0xffffffff818f0297 pfi_address_add+0x1e7 rsi 0x35b rbp 0xffff800020ec5110 rbx 0 rdx 0x35c rcx 0xffff800020ef8000 rax 0 r8 0xffffffff818efb51 pfi_instance_add+0xf1 r9 0x1 r10 0x2 r11 0x13fab66e38c67d66 r12 0 r13 0x2 r14 0xffff800000656000 r15 0 rip 0xffffffff818f029b pfi_address_add+0x1eb cs 0x8 rflags 0x10246 __ALIGN_SIZE+0xf246 rsp 0xffff800020ec50a0 ss 0x10 pfi_address_add+0x1eb: movl 0x4(%rax),%eax ddb{1}> show proc PROC (syz-executor.1) pid=332637 stat=onproc flags process=0 proc=4000000 pri=32, usrpri=77, nice=20 forw=0xffffffffffffffff, list=0xffff800020ecc028,0xffffffff828d5a88 process=0xffff800020e24bd8 user=0xffff800020ec0000, vmspace=0xfffffd80643fe460 estcpu=36, cpticks=1, pctcpu=0.0 user=0, sys=1, intr=0 ddb{1}> ps PID TID PPID UID S FLAGS WAIT COMMAND 53439 1475 28664 0 7 0 syz-executor.1 *53439 332637 28664 0 7 0x4000000 syz-executor.1 8282 16715 0 0 3 0x14200 acct acct 61845 207853 47127 0 3 0x82 nanosleep syz-executor.0 79353 441437 0 0 3 0x14200 bored sosplice 84782 253630 0 0 3 0x14280 nfsidl nfsio 815 440369 0 0 3 0x14280 nfsidl nfsio 8092 288136 0 0 3 0x14280 nfsidl nfsio 66659 174357 0 0 3 0x14280 nfsidl nfsio 88544 59297 0 0 3 0x14280 nfsidl nfsio 89729 40734 0 0 3 0x14280 nfsidl nfsio 37595 331595 0 0 3 0x14280 nfsidl nfsio 4203 247065 0 0 3 0x14280 nfsidl nfsio 55205 235966 0 0 3 0x14280 nfsidl nfsio 56584 153783 0 0 3 0x14280 nfsidl nfsio 12561 448196 0 0 3 0x14280 nfsidl nfsio 38823 221272 0 0 3 0x14280 nfsidl nfsio 63041 401853 0 0 3 0x14280 nfsidl nfsio 20805 378529 0 0 3 0x14280 nfsidl nfsio 63549 505168 0 0 3 0x14280 nfsidl nfsio 32407 159388 0 0 3 0x14280 nfsidl nfsio 57373 277144 0 0 3 0x14280 nfsidl nfsio 68885 469441 0 0 3 0x14280 nfsidl nfsio 18772 478746 0 0 3 0x14280 nfsidl nfsio 49302 362094 0 0 3 0x14280 nfsidl nfsio 28664 520775 47127 0 3 0x82 nanosleep syz-executor.1 47127 89963 59564 0 3 0x82 thrsleep syz-fuzzer 47127 451292 59564 0 3 0x4000082 nanosleep syz-fuzzer 47127 242748 59564 0 3 0x4000082 thrsleep syz-fuzzer 47127 446362 59564 0 3 0x4000082 nanosleep syz-fuzzer 47127 458656 59564 0 3 0x4000082 thrsleep syz-fuzzer 47127 336666 59564 0 3 0x4000082 thrsleep syz-fuzzer 47127 505026 59564 0 3 0x4000082 thrsleep syz-fuzzer 47127 66492 59564 0 3 0x4000082 thrsleep syz-fuzzer 47127 326123 59564 0 3 0x4000082 thrsleep syz-fuzzer 47127 213695 59564 0 3 0x4000082 kqread syz-fuzzer 59564 266273 87559 0 3 0x10008a pause ksh 87559 224822 93118 0 3 0x92 select sshd 8701 167103 1 0 3 0x100083 ttyin getty 93118 348514 1 0 3 0x80 select sshd 84901 522388 62916 74 3 0x100092 bpf pflogd 62916 51507 1 0 3 0x80 netio pflogd 2526 439696 51083 73 3 0x100090 kqread syslogd 51083 408528 1 0 3 0x100082 netio syslogd 84359 431319 1 77 3 0x100090 poll dhclient 8987 58789 1 0 3 0x80 poll dhclient 14860 55761 0 0 3 0x14200 bored smr 97369 209701 0 0 3 0x14200 pgzero zerothread 29955 444147 0 0 3 0x14200 aiodoned aiodoned 90576 336190 0 0 3 0x14200 syncer update 46791 461962 0 0 3 0x14200 cleaner cleaner 44980 69066 0 0 3 0x14200 reaper reaper 58236 39459 0 0 3 0x14200 pgdaemon pagedaemon 72840 153201 0 0 3 0x14200 bored crynlk 12070 442458 0 0 3 0x14200 bored crypto 29096 185487 0 0 3 0x40014200 acpi0 acpi0 18882 380397 0 0 3 0x40014200 idle1 40268 306472 0 0 3 0x14200 bored softnet 12259 170333 0 0 3 0x14200 bored systqmp 34450 139859 0 0 3 0x14200 bored systq 26986 70493 0 0 3 0x40014200 bored softclock 72926 167184 0 0 3 0x40014200 idle0 1 3743 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{1}> show all locks Process 53439 (syz-executor.1) thread 0xffff800020ecd3a8 (332637) exclusive rwlock netlock r = 0 (0xffffffff82704f48) #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:2148 #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 (0xffffffff828b6580) #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{1}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 9557 6563K 6885K 78643K 11483 0 pcb 13 8K 8K 78643K 100 0 rtable 135 18K 18K 78643K 585 0 ifaddr 90 16K 17K 78643K 196 0 counters 43 33K 34K 78643K 61 0 ioctlops 0 0K 4K 78643K 1549 0 iov 0 0K 28K 78643K 464 0 mount 1 1K 1K 78643K 1 0 vnodes 1220 77K 77K 78643K 1517 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 5K 78643K 13 0 VM map 2 1K 1K 78643K 2 0 sem 12 0K 1K 78643K 85 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1824 197K 290K 78643K 13058 0 file desc 5 13K 25K 78643K 560 0 sigio 0 0K 0K 78643K 14 0 proc 64 63K 83K 78643K 512 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 33 0 in_multi 51 3K 3K 78643K 183 0 ether_multi 1 0K 0K 78643K 13 0 mrt 1 0K 0K 78643K 18 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 290 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 138 88K 96K 78643K 2888 0 UVM aobj 38 4K 4K 78643K 38 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 17 0K 0K 78643K 46 0 temp 147 3869K 3933K 78643K 6776 0 kqueue 3 4K 10K 78643K 20 0 SYN cache 2 16K 16K 78643K 2 0 ddb{1}> 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 plcache 128 20 0 0 1 0 1 1 0 8 0 rtpcb 80 476 0 474 1 0 1 1 0 8 0 rtentry 112 106 0 63 2 0 2 2 0 8 0 unpcb 120 557 0 547 1 0 1 1 0 8 0 syncache 264 10 0 10 2 2 0 1 0 8 0 sackhl 24 1 0 1 1 1 0 1 0 8 0 tcpqe 32 778 0 778 2 2 0 1 0 8 0 tcpcb 544 194 0 189 1 0 1 1 0 8 0 inpcb 296 609 0 599 3 1 2 2 0 8 1 rttmr 72 6 0 6 3 2 1 1 0 8 1 nd6 48 33 0 28 1 0 1 1 0 8 0 ppxss 1128 2 0 2 2 1 1 1 0 8 1 pfstscr 40 2 0 2 1 1 0 1 0 8 0 pffrag 232 4 0 4 2 1 1 1 0 482 1 pffrnode 88 4 0 4 2 1 1 1 0 8 1 pffrent 40 51 0 51 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 63 0 52 5 3 2 2 0 8 1 pfstitem 24 32 0 13 1 0 1 1 0 8 0 pfstkey 112 34 0 15 1 0 1 1 0 8 0 pfstate 328 33 0 14 3 0 3 3 0 8 0 pfrule 1360 35 0 26 2 1 1 2 0 8 0 art_heap8 4096 2 0 0 2 0 2 2 0 8 0 art_heap4 256 329 0 144 13 1 12 13 0 8 0 art_table 32 331 0 144 2 0 2 2 0 8 0 art_node 16 105 0 65 1 0 1 1 0 8 0 sysvmsgpl 40 3 0 1 1 0 1 1 0 8 0 semupl 112 1 0 1 1 1 0 1 0 8 0 semapl 112 79 0 69 1 0 1 1 0 8 0 shmpl 112 35 0 0 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 2277 0 875 90 1 89 89 0 8 0 ffsino 272 2277 0 875 95 1 94 94 0 8 0 nchpl 144 3310 0 1712 60 0 60 60 0 8 0 uvmvnodes 72 2529 0 0 46 0 46 46 0 8 0 vnodes 208 2529 0 0 134 0 134 134 0 8 0 namei 1024 9207 0 9207 3 2 1 1 0 8 1 percpumem 16 41 0 9 1 0 1 1 0 8 0 vcpupl 1984 7 0 0 1 0 1 1 0 8 0 vmpool 560 9 0 2 1 0 1 1 0 8 0 pfiaddrpl 120 25 0 17 3 2 1 1 0 8 0 scsiplug 64 2 0 2 2 2 0 1 0 8 0 scxspl 192 10505 0 10505 12 9 3 6 0 8 3 plimitpl 152 46 0 38 1 0 1 1 0 8 0 sigapl 424 794 0 741 7 0 7 7 0 8 1 futexpl 56 8488 0 8488 2 1 1 1 0 8 1 knotepl 112 96 0 77 1 0 1 1 0 8 0 kqueuepl 144 81 0 77 1 0 1 1 0 8 0 pipepl 304 150 0 139 2 0 2 2 0 8 1 fdescpl 496 757 0 741 3 0 3 3 0 8 0 filepl 152 5036 0 4931 8 3 5 6 0 8 0 lockfpl 104 666 0 664 1 0 1 1 0 8 0 lockfspl 48 156 0 154 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 442 0 433 1 0 1 1 0 8 0 zombiepl 144 741 0 740 2 1 1 1 0 8 0 processpl 992 794 0 740 8 1 7 7 0 8 0 procpl 624 2037 0 1973 6 0 6 6 0 8 0 sosppl 128 6 0 6 3 2 1 1 0 8 1 sockpl 400 1646 0 1624 9 5 4 6 0 8 1 mcl64k 65536 8 0 0 1 0 1 1 0 8 0 mcl16k 16384 2 0 0 1 0 1 1 0 8 0 mcl12k 12288 6 0 0 1 0 1 1 0 8 0 mcl9k 9216 2 0 0 1 0 1 1 0 8 0 mcl8k 8192 4 0 0 1 0 1 1 0 8 0 mcl4k 4096 17 0 0 3 0 3 3 0 8 0 mcl2k2 2112 3 0 0 1 0 1 1 0 8 0 mcl2k 2048 287 0 0 35 0 35 35 0 8 0 mtagpl 96 68 0 0 2 0 2 2 0 8 0 mbufpl 256 478 0 0 27 0 27 27 0 8 0 bufpl 280 5157 0 134 359 0 359 359 0 8 0 anonpl 16 84766 0 70184 81 6 75 78 0 124 3 amapchunkpl 152 4506 0 4341 13 1 12 12 0 158 4 amappl16 192 3046 0 2121 51 0 51 51 0 8 4 amappl15 184 4 0 2 1 0 1 1 0 8 0 amappl14 176 28 0 23 1 0 1 1 0 8 0 amappl13 168 538 0 532 1 0 1 1 0 8 0 amappl12 160 524 0 518 2 1 1 1 0 8 0 amappl11 152 68 0 52 1 0 1 1 0 8 0 amappl10 144 19 0 15 1 0 1 1 0 8 0 amappl9 136 386 0 385 1 0 1 1 0 8 0 amappl8 128 409 0 365 2 0 2 2 0 8 0 amappl7 120 126 0 112 1 0 1 1 0 8 0 amappl6 112 25 0 19 1 0 1 1 0 8 0 amappl5 104 420 0 403 1 0 1 1 0 8 0 amappl4 96 756 0 724 1 0 1 1 0 8 0 amappl3 88 362 0 357 1 0 1 1 0 8 0 amappl2 80 5330 0 5255 2 0 2 2 0 8 0 amappl1 72 26381 0 25934 23 13 10 18 0 8 0 amappl 80 2299 0 2248 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 37 0 0 1 0 1 1 0 8 0 uaddrrnd 24 766 0 743 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 766 0 743 1 0 1 1 0 8 0 vmmpekpl 168 9677 0 9630 3 0 3 3 0 8 0 vmmpepl 168 100724 0 98592 165 35 130 130 0 357 31 vmsppl 368 765 0 743 3 0 3 3 0 8 0 pdppl 4096 1539 0 1493 9 2 7 7 0 8 0 pvpl 32 267464 0 249714 193 10 183 186 0 265 13 pmappl 232 765 0 743 3 1 2 2 0 8 0 extentpl 40 53 0 36 1 0 1 1 0 8 0 phpool 112 306 0 15 9 0 9 9 0 8 0 ddb{1}> machine ddbcpu 0 Stopped at x86_ipi_db+0x1a: addq $0x8,%rsp ddb{0}> trace x86_ipi_db(ffffffff82729ff0) 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 __sanitizer_cov_trace_cmp4(ffffffff828b6378,ffffffff828b6378) at __sanitizer_cov_trace_cmp4+0xb sys/dev/kcov.c:134 softintr_dispatch(0) at softintr_dispatch+0x4e sys/arch/amd64/amd64/softintr.c:89 Xsoftclock() at Xsoftclock+0x1f end of kernel end trace frame: 0x7f7ffffca680, count: -6 ddb{0}> machine ddbcpu 1 Stopped at pfi_address_add+0x1eb: movl 0x4(%rax),%eax ddb{1}> trace pfi_address_add(0,2,0) at pfi_address_add+0x1eb sys/net/pf_if.c:585 pfi_instance_add(ffff800000ac6000,0,2) at pfi_instance_add+0x5e5 pfi_table_update(ffff800000b4f9d0,ffff800000b29700,0,2) at pfi_table_update+0x174 pfi_kif_update(ffff800000b29700) at pfi_kif_update+0xba pfi_dynaddr_update sys/net/pf_if.c:466 [inline] pfi_kif_update(ffff800000b29700) at pfi_kif_update+0xba sys/net/pf_if.c:442 if_addgroup(ffff800000ac6000,ffff800020ec5438) at if_addgroup+0x280 sys/net/if.c:2736 ifioctl(fffffd8064362990,80286987,ffff800020ec5420,ffff800020ecd3a8) at ifioctl+0x13f7 sys/net/if.c:2148 soo_ioctl(fffffd8070e0d698,80286987,ffff800020ec5420,ffff800020ecd3a8) at soo_ioctl+0x27c sys/kern/sys_socket.c:138 sys_ioctl(ffff800020ecd3a8,ffff800020ec5538,ffff800020ec5580) at sys_ioctl+0x4a5 syscall(ffff800020ec5600) at syscall+0x4a4 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff800020ec5600) at syscall+0x4a4 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x59260f35030, count: -10