uvm_fault(0xfffffd807f000450, 0x5c, 0, 1) -> e kernel: page fault trap, code=0 Stopped at pfi_dynaddr_remove+0x4a: movq 0x58(%r15),%r12 ddb{0}> ddb{0}> set $lines = 0 ddb{0}> set $maxwidth = 0 ddb{0}> show panic kernel page fault uvm_fault(0xfffffd807f000450, 0x5c, 0, 1) -> e pfi_dynaddr_remove(ffff8000009d5250) at pfi_dynaddr_remove+0x4a sys/net/pf_if.c:602 end trace frame: 0xffff800022d9f6f0, count: 0 ddb{0}> trace pfi_dynaddr_remove(ffff8000009d5250) at pfi_dynaddr_remove+0x4a sys/net/pf_if.c:602 pf_rm_rule(0,ffff8000009d5008) at pf_rm_rule+0x3cc sys/net/pf_ioctl.c:304 pfioctl(4900,cd60441a,ffff800000a1e000,2,ffff800020ac98c8) at pfioctl+0x4f8c VOP_IOCTL(fffffd806f6cd500,cd60441a,ffff800000a1e000,2,fffffd807f7be720,ffff800020ac98c8) at VOP_IOCTL+0x88 sys/kern/vfs_vops.c:291 vn_ioctl(fffffd80673f3e58,cd60441a,ffff800000a1e000,ffff800020ac98c8) at vn_ioctl+0xb7 sys/kern/vfs_vnops.c:533 sys_ioctl(ffff800020ac98c8,ffff800022d9fb38,ffff800022d9fb80) at sys_ioctl+0x5b9 syscall(ffff800022d9fc00) at syscall+0x4a4 mi_syscall sys/sys/syscall_mi.h:92 [inline] syscall(ffff800022d9fc00) at syscall+0x4a4 sys/arch/amd64/amd64/trap.c:555 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x189ca633dc0, count: -8 ddb{0}> show registers rdi 0x2 rsi 0x2 rbp 0xffff800022d9f690 rbx 0xffff8000009d5250 rdx 0x1ce rcx 0xffff8000009d1a40 rax 0xffffffff814fee03 pfi_dynaddr_remove+0x33 r8 0xffffffff81acf895 pfioctl+0x4205 r9 0x1 r10 0x18 r11 0x5a7d4cb1948c5c23 r12 0xffff8000009d5040 r13 0xffff8000009d52d8 r14 0xffff8000009d5250 r15 0x4 rip 0xffffffff814fee1a pfi_dynaddr_remove+0x4a cs 0x8 rflags 0x10202 __ALIGN_SIZE+0xf202 rsp 0xffff800022d9f660 ss 0x10 pfi_dynaddr_remove+0x4a: movq 0x58(%r15),%r12 ddb{0}> show proc PROC (syz-executor.0) pid=404917 stat=onproc flags process=0 proc=4000000 pri=86, usrpri=86, nice=20 forw=0xffffffffffffffff, list=0xffff800020ac8508,0xffffffff82641530 process=0xffff800020af5548 user=0xffff800022d9a000, vmspace=0xfffffd807f000450 estcpu=36, cpticks=0, pctcpu=0.0 user=0, sys=0, intr=0 ddb{0}> ps PID TID PPID UID S FLAGS WAIT COMMAND 6028 34494 19406 0 7 0 syz-executor.0 * 6028 404917 19406 0 7 0x4000000 syz-executor.0 96663 394403 0 0 3 0x14200 bored sosplice 61524 30313 47253 0 2 0x2 syz-executor.1 19406 416828 47253 0 3 0x82 nanosleep syz-executor.0 47253 67706 92138 0 3 0x82 thrsleep syz-fuzzer 47253 461071 92138 0 3 0x4000082 nanosleep syz-fuzzer 47253 437228 92138 0 3 0x4000082 thrsleep syz-fuzzer 47253 112836 92138 0 3 0x4000082 thrsleep syz-fuzzer 47253 3358 92138 0 3 0x4000082 thrsleep syz-fuzzer 47253 420876 92138 0 3 0x4000082 thrsleep syz-fuzzer 47253 491471 92138 0 3 0x4000082 thrsleep syz-fuzzer 47253 223860 92138 0 3 0x4000082 thrsleep syz-fuzzer 47253 487051 92138 0 3 0x4000082 nanosleep syz-fuzzer 47253 495798 92138 0 3 0x4000082 thrsleep syz-fuzzer 47253 376063 92138 0 3 0x4000082 thrsleep syz-fuzzer 92138 339723 3649 0 3 0x10008a pause ksh 3649 358607 17723 0 3 0x92 select sshd 12488 271730 1 0 3 0x100083 ttyin getty 17723 497283 1 0 3 0x80 select sshd 48200 222151 86430 74 3 0x100092 bpf pflogd 86430 299934 1 0 3 0x80 netio pflogd 69360 385900 39913 73 3 0x100090 kqread syslogd 39913 517122 1 0 3 0x100082 netio syslogd 89734 345797 1 77 3 0x100090 poll dhclient 7930 218647 1 0 3 0x80 poll dhclient 11372 314734 0 0 3 0x14200 pgzero zerothread 40339 160850 0 0 3 0x14200 aiodoned aiodoned 39192 139896 0 0 3 0x14200 syncer update 8879 394373 0 0 3 0x14200 cleaner cleaner 98408 286905 0 0 3 0x14200 reaper reaper 59770 475941 0 0 3 0x14200 pgdaemon pagedaemon 44099 262822 0 0 3 0x14200 bored crynlk 10970 329114 0 0 3 0x14200 bored crypto 74286 371192 0 0 3 0x40014200 acpi0 acpi0 75314 102487 0 0 3 0x40014200 idle1 20997 222685 0 0 3 0x14200 bored softnet 51501 448444 0 0 3 0x14200 bored systqmp 40002 405689 0 0 3 0x14200 bored systq 63627 293091 0 0 3 0x40014200 bored softclock 84451 362931 0 0 3 0x40014200 idle0 84811 514254 0 0 3 0x14200 bored smr 1 219265 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{0}> show all locks Process 6028 (syz-executor.0) thread 0xffff800020ac98c8 (404917) exclusive rwlock netlock r = 0 (0xffffffff8246c508) #0 witness_lock+0x52e sys/kern/subr_witness.c:1163 #1 pfioctl+0x15f sys/net/pf_ioctl.c:1028 #2 VOP_IOCTL+0x88 sys/kern/vfs_vops.c:291 #3 vn_ioctl+0xb7 sys/kern/vfs_vnops.c:533 #4 sys_ioctl+0x5b9 #5 syscall+0x4a4 mi_syscall sys/sys/syscall_mi.h:92 [inline] #5 syscall+0x4a4 sys/arch/amd64/amd64/trap.c:555 #6 Xsyscall+0x128 exclusive kernel_lock &kernel_lock r = 1 (0xffffffff8265f6c0) #0 witness_lock+0x52e sys/kern/subr_witness.c:1163 #1 syscall+0x400 mi_syscall sys/sys/syscall_mi.h:83 [inline] #1 syscall+0x400 sys/arch/amd64/amd64/trap.c:555 #2 Xsyscall+0x128 Process 61524 (syz-executor.1) thread 0xffff800020ac8018 (30313) exclusive rrwlock inode r = 0 (0xfffffd80689c8f80) #0 witness_lock+0x52e sys/kern/subr_witness.c:1163 #1 rw_enter+0x453 sys/kern/kern_rwlock.c:309 #2 rrw_enter+0x88 sys/kern/kern_rwlock.c:453 #3 VOP_LOCK+0xf9 sys/kern/vfs_vops.c:615 #4 vn_lock+0x81 sys/kern/vfs_vnops.c:571 #5 vget+0x1c8 sys/kern/vfs_subr.c:671 #6 ufs_ihashget+0x141 sys/ufs/ufs/ufs_ihash.c:119 #7 ffs_vget+0x74 sys/ufs/ffs/ffs_vfsops.c:1323 #8 ufs_lookup+0x14b4 sys/ufs/ufs/ufs_lookup.c:487 #9 VOP_LOOKUP+0x5b sys/kern/vfs_vops.c:91 #10 vfs_lookup+0x7a6 sys/kern/vfs_lookup.c:568 #11 namei+0x63c sys/kern/vfs_lookup.c:249 #12 dounlinkat+0x99 sys/kern/vfs_syscalls.c:1776 #13 syscall+0x4a4 mi_syscall sys/sys/syscall_mi.h:92 [inline] #13 syscall+0x4a4 sys/arch/amd64/amd64/trap.c:555 #14 Xsyscall+0x128 exclusive rrwlock inode r = 0 (0xfffffd806aca24d8) #0 witness_lock+0x52e sys/kern/subr_witness.c:1163 #1 rw_enter+0x453 sys/kern/kern_rwlock.c:309 #2 rrw_enter+0x88 sys/kern/kern_rwlock.c:453 #3 VOP_LOCK+0xf9 sys/kern/vfs_vops.c:615 #4 vn_lock+0x81 sys/kern/vfs_vnops.c:571 #5 vfs_lookup+0xe6 sys/kern/vfs_lookup.c:419 #6 namei+0x63c sys/kern/vfs_lookup.c:249 #7 dounlinkat+0x99 sys/kern/vfs_syscalls.c:1776 #8 syscall+0x4a4 mi_syscall sys/sys/syscall_mi.h:92 [inline] #8 syscall+0x4a4 sys/arch/amd64/amd64/trap.c:555 #9 Xsyscall+0x128 ddb{0}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 9485 6404K 6422K 78643K 13145 0 pcb 13 8K 8K 78643K 109 0 rtable 107 3K 3K 78643K 209 0 ifaddr 44 10K 10K 78643K 45 0 counters 39 33K 33K 78643K 39 0 ioctlops 1 4K 4K 78643K 1704 0 iov 0 0K 24K 78643K 257 0 mount 1 1K 1K 78643K 1 0 vnodes 1220 77K 77K 78643K 2342 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 5K 78643K 143 0 VM map 2 1K 1K 78643K 2 0 sem 12 0K 0K 78643K 67 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1809 196K 290K 78643K 12766 0 file desc 5 13K 25K 78643K 13406 0 sigio 0 0K 0K 78643K 3370 0 proc 70 63K 95K 78643K 590 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 6 0 in_multi 33 2K 2K 78643K 33 0 ether_multi 1 0K 0K 78643K 1 0 ISOFS mount 1 32K 32K 78643K 1 0 MSDOSFS mount 1 16K 16K 78643K 1 0 ttys 37 175K 175K 78643K 37 0 exec 0 0K 1K 78643K 207 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 117 22K 22K 78643K 29960 0 UVM aobj 130 4K 4K 78643K 195 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 NDP 6 0K 0K 78643K 10 0 temp 109 3022K 3090K 78643K 33410 0 kqueue 0 0K 0K 78643K 2 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 7 0 0 1 0 1 1 0 8 0 plcache 128 20 0 0 1 0 1 1 0 8 0 rtpcb 80 108 0 106 1 0 1 1 0 8 0 rtentry 112 46 0 1 2 0 2 2 0 8 0 unpcb 120 14267 0 14257 9 8 1 2 0 8 0 syncache 264 4 0 4 1 1 0 1 0 8 0 sackhl 24 1 0 1 1 1 0 1 0 8 0 tcpqe 32 11 0 11 1 1 0 1 0 8 0 tcpcb 544 68 0 64 1 0 1 1 0 8 0 inpcb 280 14637 0 14629 16 14 2 3 0 8 1 nd6 48 4 0 0 1 0 1 1 0 8 0 pkpcb 40 2 0 2 1 1 0 1 0 8 0 pfosfp 40 846 0 423 5 0 5 5 0 8 0 pfosfpen 112 1428 0 714 21 0 21 21 0 8 0 pfstitem 24 17 0 15 1 0 1 1 0 8 0 pfstkey 112 17 0 15 1 0 1 1 0 8 0 pfstate 328 17 0 15 2 1 1 2 0 8 0 pfrule 1360 22 0 16 2 1 1 2 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 212 0 0 14 0 14 14 0 8 0 art_table 32 213 0 0 2 0 2 2 0 8 0 art_node 16 45 0 4 1 0 1 1 0 8 0 semapl 112 65 0 55 1 0 1 1 0 8 0 shmpl 112 193 0 65 4 0 4 4 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino1pl 128 15179 0 13771 46 0 46 46 0 8 0 ffsino 272 15179 0 13771 95 0 95 95 0 8 0 nchpl 144 31330 0 29713 76 15 61 61 0 8 0 uvmvnodes 72 5926 0 0 108 0 108 108 0 8 0 vnodes 208 5926 0 0 312 0 312 312 0 8 0 namei 1024 74676 0 74676 1 0 1 1 0 8 1 percpumem 16 30 0 0 1 0 1 1 0 8 0 scxspl 192 87331 0 87331 8 7 1 7 0 8 1 plimitpl 152 959 0 951 1 0 1 1 0 8 0 sigapl 432 13605 0 13590 3 1 2 3 0 8 0 futexpl 56 86783 0 86783 1 0 1 1 0 8 1 knotepl 112 126 0 107 1 0 1 1 0 8 0 kqueuepl 104 712 0 710 1 0 1 1 0 8 0 pipepl 112 15830 0 15811 9 8 1 2 0 8 0 fdescpl 488 13606 0 13590 3 0 3 3 0 8 0 filepl 152 69954 0 69852 24 18 6 7 0 8 2 lockfpl 104 580 0 579 1 0 1 1 0 8 0 lockfspl 48 283 0 282 1 0 1 1 0 8 0 sessionpl 112 18 0 7 1 0 1 1 0 8 0 pgrppl 48 171 0 160 1 0 1 1 0 8 0 ucredpl 96 6003 0 5994 1 0 1 1 0 8 0 zombiepl 144 13590 0 13590 1 0 1 1 0 8 1 processpl 904 13622 0 13590 4 0 4 4 0 8 0 procpl 632 29073 0 29030 15 10 5 5 0 8 1 sosppl 128 2 0 2 1 1 0 1 0 8 0 sockpl 384 29026 0 29007 43 38 5 8 0 8 3 mcl64k 65536 7 0 0 1 0 1 1 0 8 0 mcl16k 16384 17 0 0 3 0 3 3 0 8 0 mcl12k 12288 25 0 0 2 0 2 2 0 8 0 mcl9k 9216 17 0 0 2 0 2 2 0 8 0 mcl8k 8192 17 0 0 3 0 3 3 0 8 0 mcl4k 4096 25 0 0 4 1 3 3 0 8 0 mcl2k2 2112 7 0 0 1 0 1 1 0 8 0 mcl2k 2048 199 0 0 15 6 9 15 0 8 0 mtagpl 80 1 0 0 1 0 1 1 0 8 0 mbufpl 256 475 0 0 11 1 10 11 0 8 0 bufpl 280 20339 0 13269 506 0 506 506 0 8 0 anonpl 16 799243 0 794464 41 21 20 36 0 125 0 amapchunkpl 152 45515 0 45424 9 4 5 9 0 158 0 amappl16 192 55523 0 55308 28 16 12 23 0 8 1 amappl15 184 61 0 55 1 0 1 1 0 8 0 amappl14 176 28 0 26 1 0 1 1 0 8 0 amappl13 168 8 0 7 1 0 1 1 0 8 0 amappl12 160 13 0 12 2 1 1 1 0 8 0 amappl11 152 55 0 40 1 0 1 1 0 8 0 amappl10 144 6682 0 6677 1 0 1 1 0 8 0 amappl9 136 7302 0 7297 1 0 1 1 0 8 0 amappl8 128 6873 0 6839 3 1 2 2 0 8 0 amappl7 120 6741 0 6730 1 0 1 1 0 8 0 amappl6 112 58 0 52 1 0 1 1 0 8 0 amappl5 104 164 0 149 1 0 1 1 0 8 0 amappl4 96 13956 0 13925 2 1 1 2 0 8 0 amappl3 88 705 0 697 1 0 1 1 0 8 0 amappl2 80 108625 0 108548 3 1 2 3 0 8 0 amappl1 72 241244 0 240796 25 15 10 20 0 8 0 amappl 80 29354 0 29318 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 194 0 65 3 0 3 3 0 8 0 uaddrrnd 24 13606 0 13590 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 13606 0 13590 1 0 1 1 0 8 0 vmmpekpl 168 93463 0 93434 2 0 2 2 0 8 0 vmmpepl 168 1527989 0 1526586 115 48 67 82 0 357 1 vmsppl 368 13605 0 13590 2 0 2 2 0 8 0 pdppl 4096 27219 0 27180 6 0 6 6 0 8 1 pvpl 32 2568471 0 2560451 195 127 68 118 0 265 0 pmappl 232 13605 0 13590 2 1 1 2 0 8 0 extentpl 40 46 0 29 1 0 1 1 0 8 0 phpool 112 168 0 11 5 0 5 5 0 8 0