panic: pool_p_free: sockpl free list modified: page 0xfffffd8052d72000; item addr 0xfffffd8052d72010; offset 0x0=0x0 Stopped at db_enter+0x18: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND *147376 87862 0 0x14000 0x200 0 systqmp db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff82204dbc) at panic+0x15c sys/kern/subr_prf.c:207 pool_p_free(ffffffff825530d8,fffffd806c3c4a80) at pool_p_free+0x1de sys/kern/subr_pool.c:983 pool_gc_pages(0) at pool_gc_pages+0x225 sys/kern/subr_pool.c:1578 taskq_thread(ffffffff824a7e20) at taskq_thread+0x52 sys/kern/kern_task.c:370 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 pool_p_free: sockpl free list modified: page 0xfffffd8052d72000; item addr 0xfffffd8052d72010; offset 0x0=0x0 ddb> trace db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic(ffffffff82204dbc) at panic+0x15c sys/kern/subr_prf.c:207 pool_p_free(ffffffff825530d8,fffffd806c3c4a80) at pool_p_free+0x1de sys/kern/subr_pool.c:983 pool_gc_pages(0) at pool_gc_pages+0x225 sys/kern/subr_pool.c:1578 taskq_thread(ffffffff824a7e20) at taskq_thread+0x52 sys/kern/kern_task.c:370 end trace frame: 0x0, count: -5 ddb> show registers rdi 0 rsi 0x1 rbp 0xffff80001d317f50 rbx 0xffff80001d318000 rdx 0x2 rcx 0 rax 0 r8 0xffff80001d317f10 r9 0x1 r10 0 r11 0x25096fb833eca56f r12 0x3000000008 r13 0xffff80001d317f60 r14 0x100 r15 0x1 rip 0xffffffff81f91158 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff80001d317f40 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb> show proc PROC (systqmp) pid=147376 stat=onproc flags process=14000 proc=200 pri=32, usrpri=51, nice=20 forw=0xffffffffffffffff, list=0xffff80001d2f1270,0xffff80001d2f14f0 process=0xffff8000ffffe000 user=0xffff80001d313000, vmspace=0xffffffff8254c938 estcpu=1, cpticks=2, pctcpu=0.0 user=0, sys=2, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 95120 427457 3179 0 2 0 syz-executor.0 95120 471139 3179 0 2 0x4000000 syz-executor.0 32165 278449 79233 0 2 0 syz-executor.1 32165 472465 79233 0 3 0x4000080 ttyin syz-executor.1 79233 406312 72916 0 2 0x482 syz-executor.1 3179 394204 72916 0 2 0x482 syz-executor.0 72916 377948 85540 0 3 0x82 thrsleep syz-fuzzer 72916 107477 85540 0 2 0x4000082 syz-fuzzer 72916 460695 85540 0 2 0x4000002 syz-fuzzer 72916 20102 85540 0 3 0x4000082 thrsleep syz-fuzzer 72916 177328 85540 0 3 0x4000082 thrsleep syz-fuzzer 72916 389136 85540 0 3 0x4000082 kqread syz-fuzzer 72916 456814 85540 0 3 0x4000082 thrsleep syz-fuzzer 85540 190350 3927 0 3 0x10008a pause ksh 3927 143175 76402 0 3 0x92 select sshd 13606 427826 1 0 3 0x100083 ttyin getty 76402 153586 1 0 3 0x80 select sshd 9264 59481 49496 73 3 0x100090 kqread syslogd 49496 423263 1 0 3 0x100082 netio syslogd 74235 511803 1 77 3 0x100090 poll dhclient 32785 193733 1 0 3 0x80 poll dhclient 22185 18047 0 0 2 0x14200 zerothread 82358 138876 0 0 3 0x14200 aiodoned aiodoned 52078 354873 0 0 2 0x14200 update 16100 99098 0 0 3 0x14200 cleaner cleaner 99828 444803 0 0 3 0x14200 reaper reaper 43088 254295 0 0 3 0x14200 pgdaemon pagedaemon 68435 166663 0 0 3 0x14200 bored crynlk 50677 366327 0 0 3 0x14200 bored crypto 35493 242132 0 0 3 0x40014200 acpi0 acpi0 84573 259050 0 0 2 0x14200 softnet *87862 147376 0 0 7 0x14200 systqmp 17394 336211 0 0 3 0x14200 bored systq 50508 201683 0 0 2 0x40014200 softclock 48647 496684 0 0 3 0x40014200 idle0 4688 248358 0 0 3 0x14200 bored smr 1 457590 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb> show all locks No such command ddb> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 9459 6327K 6711K 78643K 10637 0 pcb 13 8K 8K 78643K 43 0 rtable 107 3K 3K 78643K 210 0 ifaddr 58 14K 14K 78643K 71 0 counters 21 16K 16K 78643K 23 0 ioctlops 0 0K 2K 78643K 25 0 iov 0 0K 8K 78643K 4 0 mount 1 1K 1K 78643K 1 0 vnodes 1222 77K 77K 78643K 1251 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 5K 78643K 4 0 VM map 2 0K 0K 78643K 2 0 sem 12 0K 0K 78643K 43 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1794 195K 288K 78643K 12646 0 file desc 6 17K 25K 78643K 107 0 sigio 0 0K 0K 78643K 2 0 proc 48 38K 54K 78643K 364 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 13 0 in_multi 77 3K 3K 78643K 93 0 ether_multi 1 0K 0K 78643K 8 0 mrt 0 0K 0K 78643K 1 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 195 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 96 21K 23K 78643K 1084 0 UVM aobj 10 2K 2K 78643K 10 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 44 0 NDP 6 0K 0K 78643K 12 0 temp 76 3009K 3073K 78643K 1998 0 kqueue 3 4K 8K 78643K 5 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 arp 64 6 0 0 1 0 1 1 0 8 0 rtpcb 80 29 0 27 1 0 1 1 0 8 0 rtentry 112 46 0 1 2 0 2 2 0 8 0 unpcb 120 146 0 138 1 0 1 1 0 8 0 syncache 264 4 0 4 1 1 0 1 0 8 0 tcpqe 32 11 0 11 1 1 0 1 0 8 0 tcpcb 544 109 0 105 4 1 3 4 0 8 2 ipq 40 2 0 2 1 1 0 1 0 8 0 ipqe 40 90 0 90 1 1 0 1 0 8 0 inpcb 280 313 0 306 4 1 3 4 0 8 2 nd6 48 6 0 0 1 0 1 1 0 8 0 art_heap8 4096 2 0 0 2 0 2 2 0 8 0 art_heap4 256 195 0 0 13 0 13 13 0 8 0 art_table 32 197 0 0 2 0 2 2 0 8 0 art_node 16 45 0 4 1 0 1 1 0 8 0 sysvmsgpl 40 4 0 2 1 0 1 1 0 8 0 semupl 112 3 0 3 1 0 1 1 0 8 1 semapl 112 40 0 30 1 0 1 1 0 8 0 shmpl 112 8 0 0 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino1pl 128 1514 0 113 46 0 46 46 0 8 0 ffsino 240 1514 0 113 83 0 83 83 0 8 0 nchpl 144 1846 0 236 60 0 60 60 0 8 0 uvmvnodes 72 1576 0 0 29 0 29 29 0 8 0 vnodes 208 1576 0 0 83 0 83 83 0 8 0 namei 1024 4659 0 4659 1 0 1 1 0 8 1 vmpool 528 2 0 2 1 0 1 1 0 8 1 scxspl 192 5432 0 5432 1 0 1 1 0 8 1 plimitpl 152 30 0 23 1 0 1 1 0 8 0 sigapl 432 278 0 264 2 0 2 2 0 8 0 futexpl 56 3287 0 3287 1 0 1 1 0 8 1 knotepl 112 61 0 42 1 0 1 1 0 8 0 kqueuepl 144 14 0 12 1 0 1 1 0 8 0 pipelkpl 16 141 0 131 1 0 1 1 0 8 0 pipepl 120 282 0 263 2 0 2 2 0 8 1 fdescpl 432 279 0 264 2 0 2 2 0 8 0 filepl 120 1980 0 1882 5 0 5 5 0 8 1 lockfpl 104 17 0 16 1 0 1 1 0 8 0 lockfspl 48 6 0 5 1 0 1 1 0 8 0 sessionpl 112 17 0 7 1 0 1 1 0 8 0 pgrppl 48 17 0 7 1 0 1 1 0 8 0 ucredpl 96 155 0 148 1 0 1 1 0 8 0 zombiepl 144 264 0 264 1 0 1 1 0 8 1 processpl 896 293 0 264 4 0 4 4 0 8 0 procpl 624 417 0 380 4 0 4 4 0 8 1 sockpl 400 492 0 475 8 1 7 8 0 8 5 mcl64k 65536 2 0 2 1 1 0 1 0 8 0 mcl16k 16384 2 0 2 1 0 1 1 0 8 1 mcl9k 9216 1 0 1 1 0 1 1 0 8 1 mcl8k 8192 5 0 5 1 0 1 1 0 8 1 mcl4k 4096 18 0 18 1 0 1 1 0 8 1 mcl2k 2048 63642 0 63600 15 4 11 13 0 8 5 mtagpl 80 6 0 2 2 1 1 1 0 8 0 mbufpl 256 101856 0 101759 24 8 16 22 0 8 7 bufpl 280 4106 0 160 282 0 282 282 0 8 0 anonpl 16 40931 0 25014 67 2 65 65 0 107 0 amapchunkpl 152 1226 0 1092 7 1 6 7 0 158 0 amappl16 192 1275 0 401 44 0 44 44 0 8 0 amappl15 184 112 0 105 1 0 1 1 0 8 0 amappl14 176 3 0 1 2 1 1 1 0 8 0 amappl13 168 24 0 23 1 0 1 1 0 8 0 amappl12 160 5 0 5 1 1 0 1 0 8 0 amappl11 152 65 0 51 1 0 1 1 0 8 0 amappl10 144 17 0 12 1 0 1 1 0 8 0 amappl9 136 376 0 373 1 0 1 1 0 8 0 amappl8 128 262 0 247 1 0 1 1 0 8 0 amappl7 120 114 0 103 1 0 1 1 0 8 0 amappl6 112 21 0 17 2 1 1 1 0 8 0 amappl5 104 141 0 131 1 0 1 1 0 8 0 amappl4 96 515 0 478 2 1 1 2 0 8 0 amappl3 88 105 0 100 1 0 1 1 0 8 0 amappl2 80 1492 0 1420 3 1 2 3 0 8 0 amappl1 72 14744 0 14324 27 16 11 20 0 8 2 amappl 80 639 0 597 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 9 0 0 1 0 1 1 0 8 0 uaddrrnd 24 281 0 266 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 281 0 266 1 0 1 1 0 8 0 vmmpekpl 168 6202 0 6178 2 0 2 2 0 8 0 vmmpepl 168 40591 0 38573 122 9 113 114 0 357 25 vmsppl 272 280 0 266 2 0 2 2 0 8 1 pdppl 4096 568 0 532 6 1 5 6 0 8 0 pvpl 32 139154 0 120168 161 0 161 161 0 265 7 pmappl 200 280 0 266 1 0 1 1 0 8 0 extentpl 40 46 0 29 1 0 1 1 0 8 0 phpool 112 171 0 17 5 0 5 5 0 8 0