panic: pool_p_free: sockpl free list modified: page 0xfffffd80742f2000; item addr 0xfffffd80742f2903; offset 0x0=0x700b70ce44dde441 Stopped at db_enter+0x18: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND *506345 11643 0 0x14000 0x200 0 systqmp db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:437 panic(ffffffff827a78d5) at panic+0x161 sys/kern/subr_prf.c:198 pool_p_free(ffffffff82c1e018,fffffd80742f2f90) at pool_p_free+0x1d3 pool_gc_pages(0) at pool_gc_pages+0x215 sys/kern/subr_pool.c:1583 taskq_thread(ffffffff82ae87a0) 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 0xfffffd80742f2000; item addr 0xfffffd80742f2903; offset 0x0=0x700b70ce44dde441 ddb> trace db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:437 panic(ffffffff827a78d5) at panic+0x161 sys/kern/subr_prf.c:198 pool_p_free(ffffffff82c1e018,fffffd80742f2f90) at pool_p_free+0x1d3 pool_gc_pages(0) at pool_gc_pages+0x215 sys/kern/subr_pool.c:1583 taskq_thread(ffffffff82ae87a0) at taskq_thread+0x9b sys/kern/kern_task.c:449 end trace frame: 0x0, count: -5 ddb> show registers rdi 0 rsi 0x1 rbp 0xffff800021610900 rbx 0xce44dde441b4b37e rdx 0 rcx 0 rax 0xffff8000ffffe570 r8 0x101010101010101 r9 0x8080808080808080 r10 0x66112d28366f7814 r11 0x65f13f1e59d7bf65 r12 0 r13 0x700b70ce44dde441 r14 0 r15 0x1 rip 0xffffffff81a69eb8 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff8000216108f0 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb> show proc PROC (systqmp) pid=506345 stat=onproc flags process=14000 proc=200 pri=32, usrpri=50, nice=20 forw=0xffffffffffffffff, list=0xffff8000ffffeae0,0xffff8000ffffe2c8 process=0xffff8000ffffc7e0 user=0xffff80002160b000, vmspace=0xffffffff82c0a9b0 estcpu=0, cpticks=1, pctcpu=0.0 user=0, sys=1, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 25934 353694 96391 0 3 0x82 piperd syz-executor.6 97514 317872 0 0 3 0x14200 acct acct 28354 158538 0 0 3 0x14280 nfsidl nfsio 50769 340126 0 0 3 0x14280 nfsidl nfsio 26298 302128 0 0 3 0x14280 nfsidl nfsio 85022 33009 0 0 3 0x14280 nfsidl nfsio 34589 438378 0 0 3 0x14280 nfsidl nfsio 96105 476205 0 0 3 0x14280 nfsidl nfsio 91587 413177 0 0 3 0x14280 nfsidl nfsio 75102 244906 0 0 3 0x14280 nfsidl nfsio 56565 220049 0 0 3 0x14280 nfsidl nfsio 56511 225979 0 0 3 0x14280 nfsidl nfsio 16419 203376 0 0 3 0x14280 nfsidl nfsio 21961 331559 0 0 3 0x14280 nfsidl nfsio 62375 53366 0 0 3 0x14280 nfsidl nfsio 74353 474638 0 0 3 0x14280 nfsidl nfsio 56301 125005 0 0 3 0x14280 nfsidl nfsio 55100 259782 0 0 3 0x14280 nfsidl nfsio 54061 209955 0 0 3 0x14280 nfsidl nfsio 51224 91171 0 0 3 0x14280 nfsidl nfsio 67268 163990 0 0 3 0x14280 nfsidl nfsio 79409 131640 0 0 3 0x14280 nfsidl nfsio 48421 423575 96391 0 3 0x82 piperd syz-executor.7 79842 276150 96391 0 3 0x82 piperd syz-executor.5 33350 254604 96391 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 10190 6403K 6801K 78643K 14920 0 pcb 13 16K 20K 78643K 439 0 rtable 180 14K 16K 78643K 706 0 ifaddr 69 20K 22K 78643K 289 0 sysctl 2 0K 0K 78643K 2 0 counters 26 17K 17K 78643K 156 0 ioctlops 0 0K 2K 78643K 345 0 iov 0 0K 26K 78643K 714 0 mount 1 1K 1K 78643K 1 0 log 0 0K 0K 78643K 4 0 vnodes 1464 92K 92K 78643K 2890 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 5K 78643K 29 0 VM map 2 1K 1K 78643K 2 0 sem 12 0K 0K 78643K 644 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1697 195K 286K 78643K 12548 0 file desc 10 33K 69K 78643K 2201 0 sigio 0 0K 0K 78643K 87 0 proc 58 59K 75K 78643K 676 0 subproc 104 6K 6K 78643K 156 0 NFS srvsock 1 0K 0K 78643K 1 0 NFS daemon 1 16K 16K 78643K 1 0 ip_moptions 0 0K 0K 78643K 233 0 in_multi 78 5K 6K 78643K 221 0 ether_multi 1 0K 0K 78643K 10 0 mrt 1 0K 0K 78643K 25 0 ISOFS mount 1 32K 32K 78643K 1 0 MSDOSFS mount 1 16K 16K 78643K 1 0 ttys 85 387K 387K 78643K 85 0 exec 0 0K 1K 78643K 621 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 258 81K 95K 78643K 16046 0 UVM aobj 131 4K 4K 78643K 131 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 50 0 NDP 11 0K 1K 78643K 90 0 temp 134 5774K 5838K 78643K 25484 0 kqueue 12 18K 26K 78643K 187 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 262 0 259 6 5 1 3 0 8 0 rtentry 112 248 0 171 4 0 4 4 0 8 0 unpcb 144 5808 0 5795 29 28 1 9 0 8 0 syncache 296 22 0 22 4 4 0 1 0 8 0 tcpqe 32 188 0 188 4 4 0 1 0 8 0 tcpcb 776 803 0 799 40 39 1 14 0 8 0 arp 88 26 0 12 1 0 1 1 0 8 0 ipq 40 1 0 1 1 1 0 1 0 8 0 ipqe 40 3 0 3 1 1 0 1 0 8 0 inpcb 336 2034 0 2027 36 35 1 12 0 8 0 ip6q 72 2 0 2 1 1 0 1 0 8 0 ip6af 40 4 0 4 1 1 0 1 0 8 0 nd6 48 42 0 24 1 0 1 1 0 8 0 kcovpl 48 12 0 4 1 0 1 1 0 8 0 ppxss 1160 96 0 96 3 3 0 1 0 8 0 pppxif 1360 80 0 80 5 5 0 1 0 8 0 pfstscr 40 4 0 2 1 0 1 1 0 8 0 pfosfp 40 4 0 3 1 0 1 1 0 8 0 pfosfpen 112 4 0 3 1 0 1 1 0 8 0 pfanchor 1280 4 0 4 1 1 0 1 0 8 0 pfstitem 24 4 0 0 1 0 1 1 0 8 0 pfstkey 128 8 0 6 1 0 1 1 0 8 0 pfstate 352 4 0 2 1 0 1 1 0 8 0 rttmr 136 9 0 9 1 1 0 1 0 8 0 art_heap8 4096 5 0 4 3 2 1 2 0 8 0 art_heap4 256 952 0 613 32 10 22 31 0 8 0 art_table 32 957 0 617 4 0 4 4 0 8 0 art_node 16 207 0 140 1 0 1 1 0 8 0 sysvmsgpl 40 19 0 12 1 0 1 1 0 8 0 semupl 112 1 0 1 1 1 0 1 0 8 0 semapl 112 638 0 628 1 0 1 1 0 8 0 shmpl 112 128 0 0 4 0 4 4 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 4463 0 3025 91 0 91 91 0 8 0 ffsino 240 4463 0 3025 85 0 85 85 0 8 0 nchpl 144 7533 0 5904 63 0 63 63 0 8 0 uvmvnodes 80 5653 0 0 116 0 116 116 0 8 0 vnodes 216 5653 0 0 315 0 315 315 0 8 0 namei 1024 25929 0 25928 4 3 1 3 0 8 0 vmpool 664 41 0 41 2 2 0 1 0 8 0 kstatmem 264 122 0 100 3 1 2 3 0 8 0 scxspl 216 21128 0 21128 12 11 1 8 0 8 1 plimitpl 152 139 0 124 1 0 1 1 0 8 0 sigapl 424 2549 0 2489 8 0 8 8 0 8 0 futexpl 64 24310 0 24310 1 1 0 1 0 8 0 knotepl 120 45431 0 45351 32 28 4 12 0 8 0 kqueuepl 184 456 0 448 7 6 1 4 0 8 0 pipepl 288 675 0 647 11 8 3 7 0 8 0 fdescpl 432 2471 0 2450 4 0 4 4 0 8 0 filepl 120 20181 0 19948 39 31 8 18 0 8 0 lockfpl 104 469 0 467 2 1 1 2 0 8 0 lockfspl 48 204 0 202 1 0 1 1 0 8 0 sessionpl 144 27 0 11 1 0 1 1 0 8 0 pgrppl 48 35 0 19 1 0 1 1 0 8 0 ucredpl 104 2337 0 2327 1 0 1 1 0 8 0 zombiepl 144 2490 0 2489 1 0 1 1 0 8 0 processpl 1008 2549 0 2489 10 1 9 9 0 8 0 procpl 696 5912 0 5839 13 4 9 10 0 8 0 sosppl 168 18 0 18 6 6 0 1 0 8 0 sockpl 456 8208 0 8185 225 222 3 43 0 8 0 mcl64k 65536 78 0 78 3 3 0 1 0 8 0 mcl16k 16384 48 0 48 5 5 0 1 0 8 0 mcl12k 12288 76 0 76 6 6 0 1 0 8 0 mcl9k 9216 21 0 18 2 1 1 1 0 8 0 mcl8k 8192 168 0 168 3 3 0 1 0 8 0 mcl4k 4096 281 0 281 3 3 0 1 0 8 0 mcl2k2 2112 24 0 24 5 5 0 1 0 8 0 mcl2k 2048 82181 0 82113 34 24 10 32 0 8 0 mtagpl 96 339 0 232 8 3 5 7 0 8 0 mbufpl 256 165175 0 164841 277 244 33 85 0 8 0 bufpl 288 6834 0 440 457 0 457 457 0 8 0 anonpl 24 1081040 0 1066346 247 109 138 188 0 188 4 amapchunkpl 152 53508 0 52895 55 26 29 42 0 158 0 amappl16 200 38766 0 38128 280 245 35 72 0 8 0 amappl15 192 5 0 5 2 2 0 1 0 8 0 amappl14 184 171 0 159 2 1 1 2 0 8 0 amappl13 176 5 0 5 2 2 0 1 0 8 0 amappl12 168 451 0 448 1 0 1 1 0 8 0 amappl11 160 48 0 37 1 0 1 1 0 8 0 amappl10 152 38 0 29 1 0 1 1 0 8 0 amappl9 144 974 0 972 1 0 1 1 0 8 0 amappl8 136 174 0 117 3 1 2 3 0 8 0 amappl7 128 148 0 128 2 0 2 2 0 8 0 amappl6 120 194 0 182 2 1 1 2 0 8 0 amappl5 112 150 0 143 1 0 1 1 0 8 0 amappl4 104 518 0 491 2 1 1 2 0 8 0 amappl3 96 6773 0 6733 2 0 2 2 0 8 0 amappl2 88 2924 0 2858 3 1 2 3 0 8 0 amappl1 80 57902 0 57300 32 16 16 26 0 8 0 amappl 88 15454 0 15315 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 130 0 0 3 0 3 3 0 8 0 uaddrrnd 24 2512 0 2491 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 2512 0 2491 1 0 1 1 0 8 0 vmmpekpl 168 23750 0 23699 4 1 3 3 0 8 0 vmmpepl 168 264986 0 262711 195 65 130 160 0 357 6 vmsppl 344 2511 0 2491 3 0 3 3 0 8 0 rwobjpl 24 100858 0 93441 47 0 47 47 0 8 0 pdppl 4096 5030 0 4982 184 127 57 66 0 8 9 pvpl 32 1646210 0 1626774 466 227 239 334 0 265 22 pmappl 216 2511 0 2491 2 0 2 2 0 8 0 extentpl 40 56 0 38 1 0 1 1 0 8 0 phpool 112 1239 0 474 24 0 24 24 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(ffffffff827a78d5) at panic+0x161 sys/kern/subr_prf.c:198 pool_p_free(ffffffff82c1e018,fffffd80742f2f90) at pool_p_free+0x1d3 pool_gc_pages(0) at pool_gc_pages+0x215 sys/kern/subr_pool.c:1583 taskq_thread(ffffffff82ae87a0) 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(ffffffff827a78d5) at panic+0x161 sys/kern/subr_prf.c:198 pool_p_free(ffffffff82c1e018,fffffd80742f2f90) at pool_p_free+0x1d3 pool_gc_pages(0) at pool_gc_pages+0x215 sys/kern/subr_pool.c:1583 taskq_thread(ffffffff82ae87a0) at taskq_thread+0x9b sys/kern/kern_task.c:449 end trace frame: 0x0, count: -5