uvm_fault(0xfffffd806e791738, 0x3000004c7, 0, 1) -> e kernel: page fault trap, code=0 Stopped at pfr_detach_table+0x20: movl 0x4c4(%r14),%r15d ddb{0}> ddb{0}> set $lines = 0 ddb{0}> set $maxwidth = 0 ddb{0}> show panic kernel page fault uvm_fault(0xfffffd806e791738, 0x3000004c7, 0, 1) -> e pfr_detach_table(300000003) at pfr_detach_table+0x20 sys/net/pf_table.c:2240 end trace frame: 0xffff800021b8aaf0, count: 0 ddb{0}> trace pfr_detach_table(300000003) at pfr_detach_table+0x20 sys/net/pf_table.c:2240 pf_tbladdr_remove(ffff800000a59368) at pf_tbladdr_remove+0x4e sys/net/pf.c:1525 pf_rm_rule(0,ffff800000a59010) at pf_rm_rule+0x414 sys/net/pf_ioctl.c:312 pfioctl(4900,cd60441a,ffff8000009d2000,2,ffff800020ad6ee8) at pfioctl+0x4f8c VOP_IOCTL(fffffd806f6cc430,cd60441a,ffff8000009d2000,2,fffffd807f7be7e0,ffff800020ad6ee8) at VOP_IOCTL+0x88 sys/kern/vfs_vops.c:291 vn_ioctl(fffffd80629c81d8,cd60441a,ffff8000009d2000,ffff800020ad6ee8) at vn_ioctl+0xb7 sys/kern/vfs_vnops.c:533 sys_ioctl(ffff800020ad6ee8,ffff800021b8af98,ffff800021b8afe0) at sys_ioctl+0x5b9 syscall(ffff800021b8b060) at syscall+0x4a4 mi_syscall sys/sys/syscall_mi.h:92 [inline] syscall(ffff800021b8b060) at syscall+0x4a4 sys/arch/amd64/amd64/trap.c:555 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x89ed4e9d8c0, count: -9 ddb{0}> show registers rdi 0xffffffff8152c000 pfr_detach_table+0x20 rsi 0x371 rbp 0xffff800021b8aab0 rbx 0xffff800000a59258 rdx 0x372 rcx 0xffff800022da4000 rax 0xffff800022da4000 r8 0xffffffff81c70c35 pfioctl+0x4205 r9 0x1 r10 0x18 r11 0x114c313c6731e522 r12 0xffff800000a59368 r13 0xffff800000a592e0 r14 0x300000003 r15 0x300000003 rip 0xffffffff8152c000 pfr_detach_table+0x20 cs 0x8 rflags 0x10246 __ALIGN_SIZE+0xf246 rsp 0xffff800021b8aa80 ss 0x10 pfr_detach_table+0x20: movl 0x4c4(%r14),%r15d ddb{0}> show proc PROC (syz-executor.1) pid=93950 stat=onproc flags process=0 proc=4000000 pri=86, usrpri=86, nice=20 forw=0xffffffffffffffff, list=0xffff800020ad8010,0xffff800020ad7170 process=0xffff800020af58d0 user=0xffff800021b86000, vmspace=0xfffffd806e791738 estcpu=36, cpticks=2, pctcpu=0.0 user=0, sys=1, intr=0 ddb{0}> ps PID TID PPID UID S FLAGS WAIT COMMAND 80186 83852 82324 0 7 0 syz-executor.0 80186 374704 82324 0 2 0x4000000 syz-executor.0 84776 40670 75633 0 2 0 syz-executor.1 *84776 93950 75633 0 7 0x4000000 syz-executor.1 20059 262910 1 0 3 0x100083 ttyin getty 91868 425997 0 0 3 0x14200 bored sosplice 75633 290469 62899 0 3 0x82 nanosleep syz-executor.1 82324 337417 62899 0 3 0x82 nanosleep syz-executor.0 62899 42215 56484 0 3 0x82 thrsleep syz-fuzzer 62899 173174 56484 0 3 0x4000082 thrsleep syz-fuzzer 62899 194550 56484 0 3 0x4000082 thrsleep syz-fuzzer 62899 7057 56484 0 3 0x4000082 thrsleep syz-fuzzer 62899 73072 56484 0 3 0x4000082 thrsleep syz-fuzzer 62899 259936 56484 0 3 0x4000082 thrsleep syz-fuzzer 62899 195591 56484 0 3 0x4000082 thrsleep syz-fuzzer 62899 37993 56484 0 3 0x4000082 kqread syz-fuzzer 62899 50443 56484 0 3 0x4000082 thrsleep syz-fuzzer 62899 303731 56484 0 3 0x4000082 thrsleep syz-fuzzer 56484 452356 90054 0 3 0x10008a pause ksh 90054 114832 80969 0 3 0x92 select sshd 80969 30921 1 0 3 0x80 select sshd 37783 23733 39302 74 3 0x100092 bpf pflogd 39302 150311 1 0 3 0x80 netio pflogd 46671 179965 79485 73 3 0x100090 kqread syslogd 79485 510589 1 0 3 0x100082 netio syslogd 26723 265252 1 77 3 0x100090 poll dhclient 15507 249747 1 0 3 0x80 poll dhclient 29642 382342 0 0 2 0x14200 zerothread 92358 261119 0 0 3 0x14200 aiodoned aiodoned 63946 34224 0 0 3 0x14200 syncer update 83974 162135 0 0 3 0x14200 cleaner cleaner 83649 218550 0 0 3 0x14200 reaper reaper 48938 413179 0 0 3 0x14200 pgdaemon pagedaemon 96898 256525 0 0 3 0x14200 bored crynlk 28965 212653 0 0 3 0x14200 bored crypto 74734 380634 0 0 3 0x40014200 acpi0 acpi0 47821 171891 0 0 3 0x40014200 idle1 51863 362976 0 0 3 0x14200 bored softnet 67634 288846 0 0 3 0x14200 bored systqmp 36422 521081 0 0 3 0x14200 bored systq 45834 172103 0 0 3 0x40014200 bored softclock 31667 254025 0 0 3 0x40014200 idle0 96515 211068 0 0 2 0x14200 smr 1 367339 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{0}> show all locks Process 84776 (syz-executor.1) thread 0xffff800020ad6ee8 (93950) exclusive rwlock netlock r = 0 (0xffffffff82455b78) #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 (0xffffffff82631498) #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 ddb{0}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 9501 6536K 6914K 78643K 11468 0 pcb 15 10K 10K 78643K 729 0 rtable 118 6K 6K 78643K 539 0 ifaddr 67 14K 14K 78643K 119 0 counters 39 33K 33K 78643K 39 0 ioctlops 1 4K 4K 78643K 3601 0 iov 0 0K 16K 78643K 44 0 mount 1 1K 1K 78643K 1 0 vnodes 1224 77K 77K 78643K 1453 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 1K 1K 78643K 2 0 sem 12 0K 0K 78643K 74 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1809 196K 290K 78643K 12766 0 file desc 6 17K 25K 78643K 1349 0 sigio 0 0K 0K 78643K 4 0 proc 67 63K 83K 78643K 500 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 18 0 in_multi 61 3K 3K 78643K 80 0 ether_multi 1 0K 0K 78643K 5 0 mrt 0 0K 0K 78643K 17 0 ISOFS mount 1 32K 32K 78643K 1 0 MSDOSFS mount 1 16K 16K 78643K 1 0 ttys 43 201K 201K 78643K 43 0 exec 0 0K 1K 78643K 276 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 119 38K 47K 78643K 4372 0 UVM aobj 7 2K 2K 78643K 7 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 37 0 NDP 9 0K 0K 78643K 20 0 temp 125 3028K 3096K 78643K 11953 0 kqueue 0 0K 0K 78643K 4 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 6 0 0 1 0 1 1 0 8 0 plcache 128 20 0 0 1 0 1 1 0 8 0 rtpcb 80 45 0 43 1 0 1 1 0 8 0 rtentry 112 47 0 3 2 0 2 2 0 8 0 unpcb 120 413 0 403 1 0 1 1 0 8 0 syncache 264 12 0 12 3 3 0 1 0 8 0 sackhl 24 6 0 6 1 1 0 1 0 8 0 tcpqe 32 378 0 378 3 3 0 2 0 8 0 tcpcb 544 107 0 103 1 0 1 1 0 8 0 inpcb 280 1722 0 1712 7 3 4 4 0 8 3 rttmr 72 1 0 1 1 1 0 1 0 8 0 nd6 48 5 0 1 1 0 1 1 0 8 0 ppxss 1128 5 0 5 1 1 0 1 0 8 0 pffrag 232 2 0 2 1 0 1 1 0 482 1 pffrnode 88 2 0 2 1 0 1 1 0 8 1 pffrent 40 90 0 90 1 0 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 121 0 118 1 0 1 1 0 8 0 pftag 88 268 0 266 1 0 1 1 0 8 0 pfstitem 24 28 0 12 1 0 1 1 0 8 0 pfstkey 112 28 0 12 1 0 1 1 0 8 0 pfstate 328 28 0 12 2 0 2 2 0 8 0 pfrule 1360 941 0 901 5 1 4 4 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 213 0 1 14 0 14 14 0 8 0 art_table 32 214 0 1 2 0 2 2 0 8 0 art_node 16 46 0 6 1 0 1 1 0 8 0 sysvmsgpl 40 67 0 33 1 0 1 1 0 8 0 semapl 112 72 0 62 1 0 1 1 0 8 0 shmpl 112 5 0 0 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino1pl 128 2848 0 1438 46 0 46 46 0 8 0 ffsino 272 2848 0 1438 95 0 95 95 0 8 0 nchpl 144 6027 0 4403 61 0 61 61 0 8 0 uvmvnodes 72 3096 0 0 57 0 57 57 0 8 0 vnodes 208 3096 0 0 163 0 163 163 0 8 0 namei 1024 15602 0 15602 2 1 1 1 0 8 1 percpumem 16 30 0 0 1 0 1 1 0 8 0 vcpupl 1984 3 0 0 1 0 1 1 0 8 0 vmpool 560 3 0 0 1 0 1 1 0 8 0 scxspl 192 18785 0 18785 10 9 1 7 0 8 1 plimitpl 152 31 0 23 1 0 1 1 0 8 0 sigapl 432 1549 0 1533 3 1 2 3 0 8 0 futexpl 56 18614 0 18614 1 0 1 1 0 8 1 knotepl 112 229 0 210 1 0 1 1 0 8 0 kqueuepl 104 321 0 319 1 0 1 1 0 8 0 pipepl 112 1726 0 1705 1 0 1 1 0 8 0 fdescpl 488 1550 0 1533 3 0 3 3 0 8 0 filepl 152 11385 0 11278 8 2 6 6 0 8 1 lockfpl 104 136 0 135 1 0 1 1 0 8 0 lockfspl 48 46 0 45 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 307 0 298 1 0 1 1 0 8 0 zombiepl 144 1533 0 1533 2 1 1 1 0 8 1 processpl 904 1566 0 1533 4 0 4 4 0 8 0 procpl 632 3584 0 3540 7 2 5 5 0 8 1 sosppl 128 2 0 2 1 1 0 1 0 8 0 sockpl 384 2210 0 2188 11 4 7 7 0 8 4 mcl64k 65536 3 0 0 1 0 1 1 0 8 0 mcl16k 16384 3 0 0 1 0 1 1 0 8 0 mcl12k 12288 3 0 0 1 0 1 1 0 8 0 mcl9k 9216 4 0 0 1 0 1 1 0 8 0 mcl8k 8192 17 0 0 3 0 3 3 0 8 0 mcl4k 4096 12 0 0 2 0 2 2 0 8 0 mcl2k2 2112 1 0 0 1 0 1 1 0 8 0 mcl2k 2048 211 0 0 26 0 26 26 0 8 0 mtagpl 80 25 0 0 1 0 1 1 0 8 0 mbufpl 256 368 0 0 19 0 19 19 0 8 0 bufpl 280 8112 0 1342 484 0 484 484 0 8 0 anonpl 16 124018 0 108044 81 8 73 80 0 125 7 amapchunkpl 152 6774 0 6643 26 15 11 20 0 158 4 amappl16 192 6732 0 5860 57 13 44 55 0 8 0 amappl15 184 59 0 55 1 0 1 1 0 8 0 amappl14 176 714 0 709 1 0 1 1 0 8 0 amappl12 160 5 0 3 1 0 1 1 0 8 0 amappl11 152 60 0 45 1 0 1 1 0 8 0 amappl10 144 10 0 7 1 0 1 1 0 8 0 amappl9 136 1241 0 1234 1 0 1 1 0 8 0 amappl8 128 767 0 742 1 0 1 1 0 8 0 amappl7 120 104 0 92 1 0 1 1 0 8 0 amappl6 112 57 0 52 1 0 1 1 0 8 0 amappl5 104 151 0 136 1 0 1 1 0 8 0 amappl4 96 1819 0 1784 1 0 1 1 0 8 0 amappl3 88 129 0 122 1 0 1 1 0 8 0 amappl2 80 12100 0 12017 3 1 2 3 0 8 0 amappl1 72 37379 0 36904 26 15 11 21 0 8 0 amappl 80 3835 0 3790 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 6 0 0 1 0 1 1 0 8 0 uaddrrnd 24 1553 0 1533 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 1553 0 1533 1 0 1 1 0 8 0 vmmpekpl 168 15808 0 15775 2 0 2 2 0 8 0 vmmpepl 168 184817 0 182648 133 37 96 111 0 357 1 vmsppl 368 1552 0 1533 2 0 2 2 0 8 0 pdppl 4096 3113 0 3069 7 1 6 6 0 8 0 pvpl 32 737391 0 717664 199 13 186 195 0 265 26 pmappl 232 1552 0 1533 3 1 2 2 0 8 0 extentpl 40 46 0 29 1 0 1 1 0 8 0 phpool 112 188 0 5 6 0 6 6 0 8 0