panic: pool_p_free: sockpl free list modified: page 0xfffffd80707b3000; item addr 0xfffffd80707b30ea; offset 0x0=0x55dd8b1a4987355c Stopped at db_enter+0x18: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND *268008 27344 0 0x14000 0x200 0 systqmp db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:437 panic(ffffffff825f53d8) at panic+0x161 sys/kern/subr_prf.c:198 pool_p_free(ffffffff829bcd68,fffffd80707b3f90) at pool_p_free+0x1d3 pool_gc_pages(0) at pool_gc_pages+0x215 sys/kern/subr_pool.c:1583 taskq_thread(ffffffff828f3630) at taskq_thread+0x9b sys/kern/kern_task.c:449 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> ddb> set $lines = 0 ddb> set $maxwidth = 0 ddb> show panic *cpu0: pool_p_free: sockpl free list modified: page 0xfffffd80707b3000; item addr 0xfffffd80707b30ea; offset 0x0=0x55dd8b1a4987355c ddb> trace db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:437 panic(ffffffff825f53d8) at panic+0x161 sys/kern/subr_prf.c:198 pool_p_free(ffffffff829bcd68,fffffd80707b3f90) at pool_p_free+0x1d3 pool_gc_pages(0) at pool_gc_pages+0x215 sys/kern/subr_pool.c:1583 taskq_thread(ffffffff828f3630) at taskq_thread+0x9b sys/kern/kern_task.c:449 end trace frame: 0x0, count: -5 ddb> show registers rdi 0 rsi 0x1 rbp 0xffff800021690a50 rbx 0x8b1a4987355cce55 rdx 0 rcx 0 rax 0xffff8000ffffea80 r8 0x101010101010101 r9 0x8080808080808080 r10 0x60aa19e0ff293397 r11 0x704f88c91607ab40 r12 0 r13 0x55dd8b1a4987355c r14 0 r15 0x1 rip 0xffffffff818fca28 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff800021690a40 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb> show proc PROC (systqmp) pid=268008 stat=onproc flags process=14000 proc=200 pri=32, usrpri=50, nice=20 forw=0xffffffffffffffff, list=0xffff8000ffffed20,0xffff8000ffffe2b0 process=0xffff8000ffffc000 user=0xffff80002168b000, vmspace=0xffffffff82a652e0 estcpu=0, cpticks=1, pctcpu=0.0 user=0, sys=1, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 69756 67788 23606 0 3 0x82 piperd syz-executor.0 85797 40026 23606 0 3 0x3 kernel: protection fault trap, code=0 Faulted in DDB; continuing... ddb> show all locks No such command ddb> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 10193 6412K 7393K 78643K 31194 0 pcb 13 17K 21K 78643K 956 0 rtable 191 19K 19K 78643K 2510 0 ifaddr 145 34K 35K 78643K 887 0 sysctl 2 0K 0K 78643K 2 0 counters 25 17K 17K 78643K 126 0 ioctlops 0 0K 4K 78643K 2677 0 iov 0 0K 24K 78643K 640 0 mount 1 1K 1K 78643K 1 0 log 0 0K 0K 78643K 4 0 vnodes 1451 91K 91K 78643K 6709 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 9K 78643K 50 0 VM map 2 0K 0K 78643K 2 0 sem 23 5K 10K 78643K 192 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1697 195K 286K 78643K 12548 0 file desc 10 33K 69K 78643K 5158 0 sigio 0 0K 0K 78643K 214 0 proc 59 59K 75K 78643K 1678 0 subproc 104 6K 6K 78643K 632 0 NFS srvsock 1 0K 0K 78643K 1 0 NFS daemon 1 16K 16K 78643K 1 0 ip_moptions 0 0K 0K 78643K 142 0 in_multi 58 3K 7K 78643K 850 0 ether_multi 1 0K 0K 78643K 35 0 mrt 1 0K 0K 78643K 45 0 ISOFS mount 1 32K 32K 78643K 1 0 MSDOSFS mount 1 16K 16K 78643K 1 0 ttys 163 731K 731K 78643K 163 0 exec 0 0K 2K 78643K 2463 0 pfkey data 0 0K 0K 78643K 4 0 tdb 3 0K 0K 78643K 3 0 pagedep 1 8K 8K 78643K 1 0 inodedep 1 32K 32K 78643K 1 0 newblk 1 0K 0K 78643K 1 0 VM swap 8 62K 64K 78643K 10 0 UVM amap 260 182K 188K 78643K 28916 0 UVM aobj 102 6K 6K 78643K 114 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 292 0 NDP 11 0K 2K 78643K 232 0 temp 152 4730K 5750K 78643K 84464 0 kqueue 12 18K 24K 78643K 497 0 SYN cache 2 16K 16K 78643K 2 0 ddb> show all pools Name Size Requests Fail Releases Pgreq Pgrel Npage Hiwat Minpg Maxpg Idle rtpcb 120 481 0 478 6 5 1 3 0 8 0 rtentry 112 780 0 722 4 1 3 4 0 8 0 unpcb 144 3409 0 3396 45 44 1 7 0 8 0 syncache 296 46 0 46 10 10 0 1 0 8 0 tcpqe 32 155 0 155 5 5 0 1 0 8 0 tcpcb 768 1688 0 1684 74 73 1 15 0 8 0 arp 88 99 0 89 1 0 1 1 0 8 0 ipq 40 17 0 17 3 3 0 1 0 8 0 ipqe 40 36 0 36 3 3 0 1 0 8 0 inpcb 336 4701 0 4694 73 72 1 12 0 8 0 nd6 48 182 0 171 1 0 1 1 0 8 0 pkpcb 40 10 0 10 3 3 0 1 0 8 0 kcovpl 48 48 0 40 1 0 1 1 0 8 0 ppxss 1160 37 0 37 7 7 0 1 0 8 0 pfstscr 40 138 0 136 1 0 1 1 0 8 0 pfrktable 1344 164 0 143 3 1 2 2 0 8 0 pfanchor 1280 653 7 141 43 0 43 43 0 8 0 pftag 88 9 0 2 1 0 1 1 0 8 0 pfstitem 24 11 0 8 1 0 1 1 0 8 0 pfstkey 120 233 0 230 1 0 1 1 0 8 0 pfstate 336 134 0 132 1 0 1 1 0 8 0 pfrule 1360 941 0 886 9 4 5 5 0 8 0 rttmr 136 17 0 17 5 5 0 1 0 8 0 art_heap8 4096 10 0 9 5 4 1 3 0 8 0 art_heap4 256 3625 0 3345 44 24 20 31 0 8 0 art_table 32 3635 0 3354 4 0 4 4 0 8 0 art_node 16 779 0 729 1 0 1 1 0 8 0 sysvmsgpl 40 38 0 3 1 0 1 1 0 8 0 semupl 112 3 0 3 1 1 0 1 0 8 0 semapl 112 172 0 151 1 0 1 1 0 8 0 shmpl 112 111 0 12 3 0 3 3 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 8175 0 6711 92 0 92 92 0 8 0 ffsino 240 8175 0 6711 87 0 87 87 0 8 0 nchpl 144 14983 0 14511 63 42 21 63 0 8 0 rtmask 32 2 0 2 1 1 0 1 0 8 0 uvmvnodes 80 5926 0 0 121 0 121 121 0 8 0 vnodes 216 5926 0 0 330 0 330 330 0 8 0 namei 1024 62579 0 62579 2 2 0 2 0 8 0 vcpupl 2048 7 0 0 1 0 1 1 0 8 0 vmpool 536 42 0 35 1 0 1 1 0 8 0 pfiaddrpl 120 74 0 53 2 1 1 1 0 8 0 kstatmem 264 200 0 178 3 0 3 3 0 8 0 scsiplug 72 3 0 3 1 1 0 1 0 8 0 scxspl 216 42051 0 42051 21 21 0 8 0 8 0 plimitpl 152 985 0 970 1 0 1 1 0 8 0 sigapl 424 5388 0 5329 8 0 8 8 0 8 0 futexpl 64 53125 0 53125 1 1 0 1 0 8 0 knotepl 120 73810 0 73730 38 32 6 12 0 8 1 kqueuepl 184 986 0 978 10 9 1 4 0 8 0 pipepl 288 1092 0 1064 20 17 3 7 0 8 0 fdescpl 432 5350 0 5329 4 0 4 4 0 8 0 filepl 120 40385 0 40152 55 46 9 15 0 8 0 lockfpl 104 5672 0 5670 16 15 1 4 0 8 0 lockfspl 48 2370 0 2368 2 1 1 2 0 8 0 sessionpl 144 65 0 49 1 0 1 1 0 8 0 pgrppl 48 221 0 205 1 0 1 1 0 8 0 ucredpl 104 5380 0 5370 1 0 1 1 0 8 0 zombiepl 144 5329 0 5329 2 2 0 1 0 8 0 processpl 1000 5388 0 5329 11 2 9 9 0 8 0 procpl 672 12990 0 12911 14 6 8 9 0 8 0 sosppl 168 68 0 68 9 9 0 1 0 8 0 sockpl 456 8605 0 8582 202 199 3 29 0 8 0 mcl64k 65536 196 0 196 7 7 0 1 0 8 0 mcl16k 16384 79 0 79 12 12 0 1 0 8 0 mcl12k 12288 173 0 173 10 10 0 1 0 8 0 mcl9k 9216 53 0 53 12 12 0 1 0 8 0 mcl8k 8192 394 0 394 5 5 0 1 0 8 0 mcl4k 4096 589 0 589 4 4 0 1 0 8 0 mcl2k2 2112 45 0 45 10 10 0 1 0 8 0 mcl2k 2048 79883 0 79760 44 24 20 24 0 8 0 mtagpl 96 3821 0 3474 35 26 9 28 0 8 0 mbufpl 256 169453 0 168653 168 109 59 105 0 8 0 bufpl 288 12571 0 6161 458 0 458 458 0 8 0 anonpl 24 982639 0 967348 149 42 107 125 0 188 0 amapchunkpl 152 88281 0 87675 66 40 26 39 0 158 0 amappl16 200 13638 0 13035 69 35 34 46 0 8 0 amappl15 192 1311 0 1309 2 1 1 1 0 8 0 amappl14 184 276 0 271 1 0 1 1 0 8 0 amappl13 176 684 0 680 1 0 1 1 0 8 0 amappl12 168 726 0 722 1 0 1 1 0 8 0 amappl11 160 393 0 375 1 0 1 1 0 8 0 amappl10 152 566 0 563 1 0 1 1 0 8 0 amappl9 144 998 0 989 1 0 1 1 0 8 0 amappl8 136 2198 0 2127 3 0 3 3 0 8 0 amappl7 128 1229 0 1205 1 0 1 1 0 8 0 amappl6 120 894 0 879 2 1 1 2 0 8 0 amappl5 112 4443 0 4434 1 0 1 1 0 8 0 amappl4 104 2256 0 2224 2 0 2 2 0 8 0 amappl3 96 15194 0 15156 2 0 2 2 0 8 0 amappl2 88 6052 0 5991 2 0 2 2 0 8 0 amappl1 80 126138 0 125545 23 6 17 21 0 8 0 amappl 88 27725 0 27583 5 0 5 5 0 92 0 dma4096 4096 1 0 1 1 1 0 1 0 8 0 dma1024 1024 1 0 0 1 0 1 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 72 113 0 12 2 0 2 2 0 8 0 uaddrrnd 24 5392 0 5364 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 5392 0 5364 1 0 1 1 0 8 0 vmmpekpl 168 43312 0 43259 3 0 3 3 0 8 0 vmmpepl 168 535067 0 532835 192 61 131 141 0 357 3 vmsppl 272 5391 0 5364 4 1 3 3 0 8 0 rwobjpl 24 130252 0 122609 49 0 49 49 0 8 0 pdppl 4096 10790 0 10735 423 355 68 73 0 8 13 pvpl 32 2043753 0 2024204 304 127 177 242 0 265 0 pmappl 216 5391 0 5364 3 1 2 3 0 8 0 extentpl 40 56 0 38 1 0 1 1 0 8 0 phpool 112 1465 0 642 26 0 26 26 0 8 0 ddb> machine ddbcpu 0 No such command ddb> trace db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:437 panic(ffffffff825f53d8) at panic+0x161 sys/kern/subr_prf.c:198 pool_p_free(ffffffff829bcd68,fffffd80707b3f90) at pool_p_free+0x1d3 pool_gc_pages(0) at pool_gc_pages+0x215 sys/kern/subr_pool.c:1583 taskq_thread(ffffffff828f3630) at taskq_thread+0x9b sys/kern/kern_task.c:449 end trace frame: 0x0, count: -5 ddb> machine ddbcpu 1 No such command ddb> trace db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:437 panic(ffffffff825f53d8) at panic+0x161 sys/kern/subr_prf.c:198 pool_p_free(ffffffff829bcd68,fffffd80707b3f90) at pool_p_free+0x1d3 pool_gc_pages(0) at pool_gc_pages+0x215 sys/kern/subr_pool.c:1583 taskq_thread(ffffffff828f3630) at taskq_thread+0x9b sys/kern/kern_task.c:449 end trace frame: 0x0, count: -5