panic: pool_p_free: pffrnode free list modified: page 0xfffffd8065596000; item addr 0xfffffd8065596000; offset 0x0=0x0 Stopped at db_enter+0x18: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND *198095 37668 0 0x14000 0x200 0 systqmp db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff82225536) at panic+0x15c sys/kern/subr_prf.c:207 pool_p_free(ffffffff82647b18,fffffd8065596f90) at pool_p_free+0x1de sys/kern/subr_pool.c:991 pool_gc_pages(0) at pool_gc_pages+0x255 sys/kern/subr_pool.c:1586 taskq_thread(ffffffff824b8d30) at taskq_thread+0x9c sys/kern/kern_task.c:369 end trace frame: 0x0, count: 10 https://www.openbsd.org/ddb.html describes the minimum info required in bug reports. Insufficient info makes it difficult to find and fix bugs. ddb{0}> ddb{0}> set $lines = 0 ddb{0}> set $maxwidth = 0 ddb{0}> show panic pool_p_free: pffrnode free list modified: page 0xfffffd8065596000; item addr 0xfffffd8065596000; offset 0x0=0x0 ddb{0}> trace db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff82225536) at panic+0x15c sys/kern/subr_prf.c:207 pool_p_free(ffffffff82647b18,fffffd8065596f90) at pool_p_free+0x1de sys/kern/subr_pool.c:991 pool_gc_pages(0) at pool_gc_pages+0x255 sys/kern/subr_pool.c:1586 taskq_thread(ffffffff824b8d30) at taskq_thread+0x9c sys/kern/kern_task.c:369 end trace frame: 0x0, count: -5 ddb{0}> show registers rdi 0 rsi 0x1 rbp 0xffff800020a492a0 rbx 0xffff800020a49350 rdx 0xffff800020a28000 rcx 0 rax 0 r8 0xffffffff819eb1ef kprintf+0x16f r9 0x1 r10 0x25 r11 0xdc5ab9373bbf56d3 r12 0x3000000008 r13 0xffff800020a492b0 r14 0x100 r15 0x1 rip 0xffffffff8162aa38 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff800020a49290 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb{0}> show proc PROC (systqmp) pid=198095 stat=onproc flags process=14000 proc=200 pri=32, usrpri=50, nice=20 forw=0xffffffffffffffff, list=0xffff800020a28278,0xffff800020a289f0 process=0xffff800020a2aa98 user=0xffff800020a44000, vmspace=0xffffffff826473e8 estcpu=0, cpticks=1, pctcpu=0.0 user=0, sys=1, intr=0 ddb{0}> ps PID TID PPID UID S FLAGS WAIT COMMAND 34026 132116 51736 0 3 0x80 nanosleep syz-executor.0 34026 97043 51736 0 3 0x4000080 msgwait syz-executor.0 34026 330225 51736 0 3 0x4000080 fsleep syz-executor.0 34026 311746 51736 0 3 0x4000080 msgwait syz-executor.0 51736 32706 38372 0 3 0x82 nanosleep syz-executor.0 72572 385773 0 0 3 0x14200 bored sosplice 14879 76583 38372 0 3 0x82 piperd syz-executor.1 38372 328430 25533 0 3 0x82 thrsleep syz-fuzzer 38372 488635 25533 0 3 0x4000082 thrsleep syz-fuzzer 38372 14113 25533 0 3 0x4000082 thrsleep syz-fuzzer 38372 52730 25533 0 3 0x4000082 kqread syz-fuzzer 38372 292706 25533 0 3 0x4000082 thrsleep syz-fuzzer 38372 401825 25533 0 3 0x4000082 thrsleep syz-fuzzer 38372 203342 25533 0 3 0x4000082 thrsleep syz-fuzzer 38372 117768 25533 0 3 0x4000082 thrsleep syz-fuzzer 38372 144704 25533 0 3 0x4000082 thrsleep syz-fuzzer 38372 159672 25533 0 3 0x4000082 thrsleep syz-fuzzer 25533 291 68707 0 3 0x10008a pause ksh 68707 262326 85446 0 3 0x92 select sshd 37055 137905 1 0 3 0x100083 ttyin getty 85446 212052 1 0 3 0x80 select sshd 72082 486424 12059 74 3 0x100092 bpf pflogd 12059 286335 1 0 3 0x80 netio pflogd 70643 11677 70169 73 3 0x100090 kqread syslogd 70169 473991 1 0 3 0x100082 netio syslogd 3381 384623 1 77 3 0x100090 poll dhclient 56984 1037 1 0 3 0x80 poll dhclient 99540 35067 0 0 3 0x14200 pgzero zerothread 3534 280164 0 0 3 0x14200 aiodoned aiodoned 7379 386496 0 0 3 0x14200 syncer update 81455 522235 0 0 3 0x14200 cleaner cleaner 7581 200308 0 0 3 0x14200 reaper reaper 57974 448143 0 0 3 0x14200 pgdaemon pagedaemon 78056 352621 0 0 3 0x14200 bored crynlk 46475 159093 0 0 3 0x14200 bored crypto 85239 310583 0 0 3 0x40014200 acpi0 acpi0 38753 440643 0 0 7 0x40014200 idle1 3703 310399 0 0 3 0x14200 bored softnet *37668 198095 0 0 7 0x14200 systqmp 38642 441337 0 0 3 0x14200 bored systq 83631 145729 0 0 3 0x40014200 bored softclock 10942 381263 0 0 3 0x40014200 idle0 70730 74210 0 0 3 0x14200 bored smr 1 22746 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{0}> show all locks Process 37668 (systqmp) thread 0xffff800020a28000 (198095) shared rwlock pools r = 0 (0xffffffff82475e40) #0 witness_lock+0x52e sys/kern/subr_witness.c:1163 #1 pool_gc_pages+0x21 sys/kern/subr_pool.c:1563 #2 taskq_thread+0x9c sys/kern/kern_task.c:369 #3 proc_trampoline+0x1c shared rwlock systqmp r = 0 (0xffffffff824b8d90) #0 witness_lock+0x52e sys/kern/subr_witness.c:1163 #1 taskq_thread+0x8f sys/kern/kern_task.c:368 #2 proc_trampoline+0x1c ddb{0}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 9514 6605K 7448K 78643K 11363 0 pcb 13 8K 8K 78643K 55 0 rtable 111 4K 4K 78643K 365 0 ifaddr 67 14K 14K 78643K 127 0 counters 39 33K 33K 78643K 39 0 ioctlops 0 0K 4K 78643K 1485 0 iov 0 0K 28K 78643K 35 0 mount 1 1K 1K 78643K 1 0 vnodes 1224 77K 77K 78643K 1458 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 5K 78643K 9 0 VM map 2 1K 1K 78643K 2 0 sem 12 1K 1K 78643K 70 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1809 196K 290K 78643K 12766 0 file desc 5 13K 25K 78643K 234 0 sigio 2 0K 0K 78643K 30 0 proc 60 63K 83K 78643K 494 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 26 0 in_multi 53 3K 3K 78643K 95 0 ether_multi 1 0K 0K 78643K 4 0 mrt 0 0K 0K 78643K 5 0 ISOFS mount 1 32K 32K 78643K 1 0 MSDOSFS mount 1 16K 16K 78643K 1 0 ttys 49 228K 228K 78643K 49 0 exec 0 0K 1K 78643K 247 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 121 22K 23K 78643K 1726 0 UVM aobj 40 4K 4K 78643K 40 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 1K 78643K 65 0 NDP 10 0K 0K 78643K 29 0 temp 126 3022K 3086K 78643K 7152 0 kqueue 0 0K 0K 78643K 3 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 9 0 3 1 0 1 1 0 8 0 plcache 128 20 0 0 1 0 1 1 0 8 0 rtpcb 80 37 0 31 1 0 1 1 0 8 0 rtentry 112 73 0 29 2 0 2 2 0 8 0 unpcb 120 185 0 168 1 0 1 1 0 8 0 syncache 264 4 0 4 1 1 0 1 0 8 0 tcpqe 32 14 0 14 1 1 0 1 0 8 0 tcpcb 544 150 0 144 2 1 1 2 0 8 0 inpcb 280 408 0 397 2 0 2 2 0 8 1 rttmr 72 2 0 2 1 1 0 1 0 8 0 nd6 48 10 0 6 1 0 1 1 0 8 0 ppxss 1128 4 0 4 1 0 1 1 0 8 1 pffrag 232 5 0 5 1 1 0 1 0 482 0 pffrnode 88 5 0 5 1 1 0 1 0 8 0 pffrent 40 98 0 98 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 pfstitem 24 33 0 2 1 0 1 1 0 8 0 pfstkey 112 33 0 2 1 0 1 1 0 8 0 pfstate 328 33 0 2 3 0 3 3 0 8 0 pfrule 1360 21 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 330 0 117 14 0 14 14 0 8 0 art_table 32 331 0 117 2 0 2 2 0 8 0 art_node 16 70 0 30 1 0 1 1 0 8 0 sysvmsgpl 40 29 0 14 1 0 1 1 0 8 0 semapl 112 64 0 54 1 0 1 1 0 8 0 shmpl 112 38 0 0 2 0 2 2 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino1pl 128 1731 0 321 46 0 46 46 0 8 0 ffsino 272 1731 0 321 95 0 95 95 0 8 0 nchpl 144 2313 0 707 61 0 61 61 0 8 0 uvmvnodes 72 1972 0 0 36 0 36 36 0 8 0 vnodes 208 1972 0 0 104 0 104 104 0 8 0 namei 1024 6642 0 6642 1 0 1 1 0 8 1 percpumem 16 30 0 0 1 0 1 1 0 8 0 scxspl 192 6203 0 6203 8 5 3 7 0 8 3 plimitpl 152 28 0 20 1 0 1 1 0 8 0 sigapl 432 430 0 415 3 1 2 3 0 8 0 futexpl 56 4799 0 4798 1 0 1 1 0 8 0 knotepl 112 84 0 65 1 0 1 1 0 8 0 kqueuepl 104 52 0 48 1 0 1 1 0 8 0 pipepl 112 324 0 301 2 0 2 2 0 8 1 fdescpl 488 431 0 415 3 0 3 3 0 8 0 filepl 152 2995 0 2862 8 0 8 8 0 8 2 lockfpl 104 96 0 95 1 0 1 1 0 8 0 lockfspl 48 39 0 38 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 178 0 169 1 0 1 1 0 8 0 zombiepl 144 415 0 415 1 0 1 1 0 8 1 processpl 904 447 0 415 4 0 4 4 0 8 0 procpl 632 892 0 848 5 0 5 5 0 8 1 srpgc 64 2 0 2 1 0 1 1 0 8 1 sosppl 128 3 0 3 1 1 0 1 0 8 0 sockpl 384 630 0 596 6 0 6 6 0 8 2 mcl64k 65536 13 0 0 2 0 2 2 0 8 0 mcl16k 16384 2 0 0 1 0 1 1 0 8 0 mcl12k 12288 9 0 0 1 0 1 1 0 8 0 mcl9k 9216 2 0 0 1 0 1 1 0 8 0 mcl8k 8192 2 0 0 1 0 1 1 0 8 0 mcl4k 4096 11 0 0 2 0 2 2 0 8 0 mcl2k2 2112 4 0 0 1 0 1 1 0 8 0 mcl2k 2048 158 0 0 19 0 19 19 0 8 0 mtagpl 80 28 0 0 1 0 1 1 0 8 0 mbufpl 256 220 0 0 14 0 14 14 0 8 0 bufpl 280 6609 0 1340 377 0 377 377 0 8 0 anonpl 16 62624 0 43507 80 1 79 79 0 125 1 amapchunkpl 152 2270 0 2113 8 1 7 8 0 158 0 amappl16 192 2142 0 1103 64 4 60 64 0 8 8 amappl15 184 60 0 57 1 0 1 1 0 8 0 amappl14 176 40 0 37 1 0 1 1 0 8 0 amappl13 168 9 0 8 2 1 1 1 0 8 0 amappl12 160 160 0 159 2 1 1 1 0 8 0 amappl11 152 70 0 54 1 0 1 1 0 8 0 amappl10 144 19 0 13 1 0 1 1 0 8 0 amappl9 136 640 0 635 1 0 1 1 0 8 0 amappl8 128 167 0 140 1 0 1 1 0 8 0 amappl7 120 111 0 98 1 0 1 1 0 8 0 amappl6 112 63 0 53 1 0 1 1 0 8 0 amappl5 104 308 0 293 1 0 1 1 0 8 0 amappl4 96 533 0 501 1 0 1 1 0 8 0 amappl3 88 285 0 277 1 0 1 1 0 8 0 amappl2 80 2475 0 2400 3 1 2 3 0 8 0 amappl1 72 19621 0 19157 25 15 10 20 0 8 0 amappl 80 1165 0 1118 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 39 0 0 1 0 1 1 0 8 0 uaddrrnd 24 431 0 415 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 431 0 415 1 0 1 1 0 8 0 vmmpekpl 168 7179 0 7143 3 1 2 2 0 8 0 vmmpepl 168 61731 0 59492 142 4 138 138 0 357 38 vmsppl 368 430 0 415 2 0 2 2 0 8 0 pdppl 4096 869 0 830 6 0 6 6 0 8 1 pvpl 32 193125 0 170790 187 0 187 187 0 265 5 pmappl 232 430 0 415 2 1 1 2 0 8 0 extentpl 40 46 0 29 1 0 1 1 0 8 0 phpool 112 171 0 4 5 0 5 5 0 8 0