panic: pool_p_free: pffrnode free list modified: page 0xfffffd80665b2000; item addr 0xfffffd80665b2000; offset 0x0=0x0 Stopped at db_enter+0x18: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND *312821 69125 0 0x14000 0x200 0 systqmp db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff8224ec23) at panic+0x15c sys/kern/subr_prf.c:207 pool_p_free(ffffffff82670108,fffffd80665b2f90) at pool_p_free+0x1de sys/kern/subr_pool.c:983 pool_gc_pages(0) at pool_gc_pages+0x255 sys/kern/subr_pool.c:1578 taskq_thread(ffffffff82498330) 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 0xfffffd80665b2000; item addr 0xfffffd80665b2000; offset 0x0=0x0 ddb{0}> trace db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff8224ec23) at panic+0x15c sys/kern/subr_prf.c:207 pool_p_free(ffffffff82670108,fffffd80665b2f90) at pool_p_free+0x1de sys/kern/subr_pool.c:983 pool_gc_pages(0) at pool_gc_pages+0x255 sys/kern/subr_pool.c:1578 taskq_thread(ffffffff82498330) 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 0xffff800020a335d0 rbx 0xffff800020a33680 rdx 0xffff800020a19380 rcx 0 rax 0 r8 0xffffffff81e9534f kprintf+0x16f r9 0x1 r10 0x25 r11 0x9d087ef1b8a2e9ed r12 0x3000000008 r13 0xffff800020a335e0 r14 0x100 r15 0x1 rip 0xffffffff81e7c0f8 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff800020a335c0 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb{0}> show proc PROC (systqmp) pid=312821 stat=onproc flags process=14000 proc=200 pri=32, usrpri=50, nice=20 forw=0xffffffffffffffff, list=0xffff800020a195f0,0xffff800020a18280 process=0xffff800020a1a3c0 user=0xffff800020a2e000, vmspace=0xffffffff82666338 estcpu=0, cpticks=1, pctcpu=0.0 user=0, sys=1, intr=0 ddb{0}> ps PID TID PPID UID S FLAGS WAIT COMMAND 49474 391881 94167 0 3 0x80 nanosleep syz-executor.0 49474 301049 94167 0 3 0x4000080 netcon2 syz-executor.0 9933 454807 8060 0 3 0x80 nanosleep syz-executor.1 9933 500355 8060 0 3 0x4000080 poll syz-executor.1 9933 330516 8060 0 3 0x4000080 fsleep syz-executor.1 8060 175826 85497 0 3 0x82 nanosleep syz-executor.1 42019 395562 0 0 3 0x14200 bored sosplice 94167 162410 85497 0 3 0x82 nanosleep syz-executor.0 85497 392773 91295 0 3 0x82 thrsleep syz-fuzzer 85497 170815 91295 0 3 0x4000082 thrsleep syz-fuzzer 85497 248185 91295 0 3 0x4000082 thrsleep syz-fuzzer 85497 168879 91295 0 3 0x4000082 thrsleep syz-fuzzer 85497 125657 91295 0 3 0x4000082 thrsleep syz-fuzzer 85497 221313 91295 0 3 0x4000082 thrsleep syz-fuzzer 85497 429298 91295 0 3 0x4000082 thrsleep syz-fuzzer 85497 425893 91295 0 3 0x4000082 thrsleep syz-fuzzer 85497 269394 91295 0 3 0x4000082 thrsleep syz-fuzzer 85497 137211 91295 0 3 0x4000082 kqread syz-fuzzer 91295 89401 81268 0 3 0x10008a pause ksh 81268 3505 49760 0 3 0x92 select sshd 48304 159952 1 0 3 0x100083 ttyin getty 49760 223901 1 0 3 0x80 select sshd 71868 257801 72819 74 3 0x100092 bpf pflogd 72819 305663 1 0 3 0x80 netio pflogd 31571 381703 64558 73 3 0x100090 kqread syslogd 64558 231065 1 0 3 0x100082 netio syslogd 62602 68789 1 77 3 0x100090 poll dhclient 10366 156033 1 0 3 0x80 poll dhclient 39825 200701 0 0 3 0x14200 bored smr 45994 217289 0 0 3 0x14200 pgzero zerothread 42888 168682 0 0 3 0x14200 aiodoned aiodoned 48284 377177 0 0 3 0x14200 syncer update 93864 472323 0 0 3 0x14200 cleaner cleaner 89311 140839 0 0 3 0x14200 reaper reaper 60018 203417 0 0 3 0x14200 pgdaemon pagedaemon 73686 187462 0 0 3 0x14200 bored crynlk 13640 301378 0 0 3 0x14200 bored crypto 6236 279629 0 0 3 0x40014200 acpi0 acpi0 58452 268992 0 0 7 0x40014200 idle1 59080 84367 0 0 3 0x14200 bored softnet *69125 312821 0 0 7 0x14200 systqmp 33993 45665 0 0 3 0x14200 bored systq 25529 156151 0 0 3 0x40014200 bored softclock 16061 286123 0 0 3 0x40014200 idle0 1 395035 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{0}> show all locks Process 69125 (systqmp) thread 0xffff800020a19380 (312821) shared rwlock pools r = 0 (0xffffffff824d6220) #0 witness_lock+0x52e sys/kern/subr_witness.c:1164 #1 pool_gc_pages+0x21 sys/kern/subr_pool.c:1555 #2 taskq_thread+0x9c sys/kern/kern_task.c:369 #3 proc_trampoline+0x1c shared rwlock systqmp r = 0 (0xffffffff82498390) #0 witness_lock+0x52e sys/kern/subr_witness.c:1164 #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 9534 6422K 6806K 78643K 10976 0 pcb 13 8K 8K 78643K 94 0 rtable 107 11K 12K 78643K 327 0 ifaddr 82 15K 15K 78643K 124 0 counters 43 33K 34K 78643K 53 0 ioctlops 0 0K 4K 78643K 1484 0 iov 0 0K 16K 78643K 40 0 mount 1 1K 1K 78643K 1 0 vnodes 1221 77K 77K 78643K 1358 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 5K 78643K 8 0 VM map 2 1K 1K 78643K 2 0 sem 12 0K 0K 78643K 60 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1809 196K 290K 78643K 12766 0 file desc 6 17K 25K 78643K 223 0 sigio 0 0K 0K 78643K 3 0 proc 61 63K 95K 78643K 490 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 29 0 in_multi 58 3K 3K 78643K 113 0 ether_multi 1 0K 0K 78643K 13 0 mrt 0 0K 0K 78643K 3 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 242 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 104 21K 22K 78643K 1670 0 UVM aobj 13 2K 2K 78643K 15 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 62 0 NDP 14 0K 0K 78643K 27 0 temp 125 3026K 3090K 78643K 8351 0 kqueue 3 4K 10K 78643K 17 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 2 1 0 1 1 0 8 0 plcache 128 20 0 0 1 0 1 1 0 8 0 rtpcb 80 40 0 38 1 0 1 1 0 8 0 rtentry 112 68 0 26 2 0 2 2 0 8 0 unpcb 120 374 0 364 1 0 1 1 0 8 0 syncache 264 6 0 6 2 2 0 1 0 8 0 tcpqe 32 65 0 65 1 1 0 1 0 8 0 tcpcb 544 147 0 142 2 0 2 2 0 8 1 inpcb 280 401 0 393 3 0 3 3 0 8 2 rttmr 72 1 0 1 1 1 0 1 0 8 0 nd6 48 11 0 7 1 0 1 1 0 8 0 pffrag 232 3 0 3 1 1 0 1 0 482 0 pffrnode 88 3 0 3 1 1 0 1 0 8 0 pffrent 40 135 0 135 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 41 0 3 1 0 1 1 0 8 0 pfstkey 112 41 0 3 2 0 2 2 0 8 0 pfstate 328 41 0 2 4 0 4 4 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 285 0 108 13 0 13 13 0 8 1 art_table 32 286 0 108 2 0 2 2 0 8 0 art_node 16 65 0 26 1 0 1 1 0 8 0 sysvmsgpl 40 42 0 22 1 0 1 1 0 8 0 semupl 112 2 0 2 1 1 0 1 0 8 0 semapl 112 52 0 42 1 0 1 1 0 8 0 shmpl 112 13 0 2 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino1pl 128 1692 0 285 46 0 46 46 0 8 0 ffsino 272 1692 0 285 95 0 95 95 0 8 0 nchpl 144 2192 0 589 61 0 61 61 0 8 0 uvmvnodes 72 1834 0 0 34 0 34 34 0 8 0 vnodes 208 1834 0 0 97 0 97 97 0 8 0 namei 1024 6140 0 6140 1 0 1 1 0 8 1 percpumem 16 37 0 5 1 0 1 1 0 8 0 vcpupl 1984 1 0 0 1 0 1 1 0 8 0 vmpool 560 3 0 2 1 0 1 1 0 8 0 scxspl 192 7001 0 7001 4 1 3 3 0 8 3 plimitpl 152 33 0 25 1 0 1 1 0 8 0 sigapl 424 436 0 403 4 0 4 4 0 8 0 futexpl 56 4109 0 4108 1 0 1 1 0 8 0 knotepl 112 86 0 67 1 0 1 1 0 8 0 kqueuepl 144 99 0 97 2 0 2 2 0 8 1 pipelkpl 48 131 0 121 1 0 1 1 0 8 0 pipepl 120 262 0 243 2 1 1 2 0 8 0 fdescpl 496 420 0 403 3 0 3 3 0 8 0 filepl 152 2985 0 2883 7 0 7 7 0 8 3 lockfpl 104 70 0 69 1 0 1 1 0 8 0 lockfspl 48 25 0 24 1 0 1 1 0 8 0 sessionpl 112 19 0 8 1 0 1 1 0 8 0 pgrppl 48 19 0 8 1 0 1 1 0 8 0 ucredpl 96 227 0 217 1 0 1 1 0 8 0 zombiepl 144 403 0 403 1 0 1 1 0 8 1 processpl 960 436 0 403 5 0 5 5 0 8 0 procpl 624 867 0 822 4 0 4 4 0 8 0 sosppl 128 9 0 9 1 0 1 1 0 8 1 sockpl 400 823 0 803 5 0 5 5 0 8 3 mcl64k 65536 19 0 0 3 0 3 3 0 8 0 mcl16k 16384 3 0 0 1 0 1 1 0 8 0 mcl12k 12288 5 0 0 1 0 1 1 0 8 0 mcl9k 9216 1 0 0 1 0 1 1 0 8 0 mcl8k 8192 6 0 0 1 0 1 1 0 8 0 mcl4k 4096 5 0 0 1 0 1 1 0 8 0 mcl2k2 2112 1 0 0 1 0 1 1 0 8 0 mcl2k 2048 151 0 0 18 0 18 18 0 8 0 mtagpl 80 21 0 0 1 0 1 1 0 8 0 mbufpl 256 342 0 0 21 0 21 21 0 8 0 bufpl 280 4809 0 174 332 0 332 332 0 8 0 anonpl 16 61063 0 44129 82 3 79 81 0 124 10 amapchunkpl 152 2810 0 2666 12 2 10 10 0 158 2 amappl16 192 2104 0 1168 56 5 51 56 0 8 4 amappl15 184 1 0 1 1 1 0 1 0 8 0 amappl14 176 88 0 83 2 1 1 1 0 8 0 amappl13 168 125 0 121 1 0 1 1 0 8 0 amappl12 160 11 0 10 1 0 1 1 0 8 0 amappl11 152 75 0 57 1 0 1 1 0 8 0 amappl10 144 18 0 13 1 0 1 1 0 8 0 amappl9 136 378 0 375 1 0 1 1 0 8 0 amappl8 128 335 0 315 1 0 1 1 0 8 0 amappl7 120 126 0 115 1 0 1 1 0 8 0 amappl6 112 25 0 20 1 0 1 1 0 8 0 amappl5 104 192 0 175 1 0 1 1 0 8 0 amappl4 96 676 0 639 2 1 1 2 0 8 0 amappl3 88 263 0 255 1 0 1 1 0 8 0 amappl2 80 2383 0 2305 3 1 2 3 0 8 0 amappl1 72 19235 0 18776 26 16 10 20 0 8 0 amappl 80 1136 0 1089 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 14 0 2 1 0 1 1 0 8 0 uaddrrnd 24 423 0 405 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 423 0 405 1 0 1 1 0 8 0 vmmpekpl 168 7190 0 7158 2 0 2 2 0 8 0 vmmpepl 168 59672 0 57490 136 10 126 126 0 357 31 vmsppl 368 422 0 405 2 0 2 2 0 8 0 pdppl 4096 854 0 811 6 0 6 6 0 8 0 pvpl 32 190792 0 170617 192 2 190 192 0 265 23 pmappl 232 422 0 405 2 0 2 2 0 8 1 extentpl 40 46 0 29 1 0 1 1 0 8 0 phpool 112 181 0 3 6 0 6 6 0 8 0