panic: pool_do_get: sockpl free list modified: page 0xfffffd806cbd6000; item addr 0xfffffd806cbd6811; offset 0x0=0x9a0c11e97a3b92e4 != 0xc11e97a3b92e408 Stopped at db_enter+0x1c: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND *231760 25784 0 0x8000000 0x4000000 0 syz-executor.1 db_enter() at db_enter+0x1c sys/arch/amd64/amd64/db_interface.c:437 panic(ffffffff82859f69) at panic+0x165 sys/kern/subr_prf.c:198 pool_do_get(ffffffff82d3e910,9,ffff80002dadf0ac) at pool_do_get+0x434 pool_get(ffffffff82d3e910,9) at pool_get+0xba sys/kern/subr_pool.c:582 soalloc(ffffffff829fe7a8,1) at soalloc+0x58 sys/kern/uipc_socket.c:141 socreate(2,ffff80002dadf1c8,3,0) at socreate+0xa6 sys/kern/uipc_socket.c:200 sys_socket(ffff80002f5439d0,ffff80002dadf320,ffff80002dadf270) at sys_socket+0xdc sys/kern/uipc_syscalls.c:101 syscall(ffff80002dadf320) at syscall+0x72a sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xca5ac608900, count: 6 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_do_get: sockpl free list modified: page 0xfffffd806cbd6000; item addr 0xfffffd806cbd6811; offset 0x0=0x9a0c11e97a3b92e4 != 0xc11e97a3b92e408 ddb> trace db_enter() at db_enter+0x1c sys/arch/amd64/amd64/db_interface.c:437 panic(ffffffff82859f69) at panic+0x165 sys/kern/subr_prf.c:198 pool_do_get(ffffffff82d3e910,9,ffff80002dadf0ac) at pool_do_get+0x434 pool_get(ffffffff82d3e910,9) at pool_get+0xba sys/kern/subr_pool.c:582 soalloc(ffffffff829fe7a8,1) at soalloc+0x58 sys/kern/uipc_socket.c:141 socreate(2,ffff80002dadf1c8,3,0) at socreate+0xa6 sys/kern/uipc_socket.c:200 sys_socket(ffff80002f5439d0,ffff80002dadf320,ffff80002dadf270) at sys_socket+0xdc sys/kern/uipc_syscalls.c:101 syscall(ffff80002dadf320) at syscall+0x72a sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xca5ac608900, count: -9 ddb> show registers rdi 0 rsi 0x1 rbp 0xffff80002dadef20 rbx 0xfffffd806cbd6811 rdx 0 rcx 0 rax 0xffff80002f5439d0 r8 0x101010101010101 r9 0x8080808080808080 r10 0xe406b3fc0eaf8504 r11 0x6f4601d5ab822cd7 r12 0 r13 0xfffffd806e0facf0 r14 0 r15 0x1 rip 0xffffffff81755a4c db_enter+0x1c cs 0x8 rflags 0x246 rsp 0xffff80002dadef10 ss 0x10 db_enter+0x1c: addq $0x8,%rsp ddb> show proc PROC (syz-executor.1) tid=231760 pid=25784 tcnt=3 stat=onproc flags process=8000000 proc=4000000 runpri=32, usrpri=80, slppri=32, nice=20 wchan=0x0, wmesg=, ps_single=0x0 forw=0xffffffffffffffff, list=0xffff80002f543c60,0xffff800035db0800 process=0xffff80003297c028 user=0xffff80002dada000, vmspace=0xfffffd80695a2c28 estcpu=36, cpticks=1, pctcpu=0.0, user=0, sys=1, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 25784 389702 50914 0 2 0x8000000 syz-executor.1 *25784 231760 50914 0 7 0xc000000 syz-executor.1 25784 218448 50914 0 3 0xc000080 fsleep syz-executor.1 83331 305209 16001 0 3 0x8000001 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 10181 6488K 10975K 166960K 20238 0 pcb 17 19K 20K 166960K 649 0 rtable 223 11K 13K 166960K 3623 0 pf 31 9K 10K 166960K 295 0 ifaddr 41 12K 13K 166960K 453 0 ifgroup 54 2K 2K 166960K 568 0 sysctl 3 0K 1K 166960K 7 0 counters 31 17K 17K 166960K 156 0 ioctlops 0 0K 2K 166960K 388 0 iov 0 0K 36K 166960K 251 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1475 93K 93K 166960K 6673 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 9K 166960K 132 0 VM map 2 1K 1K 166960K 2 0 sem 12 0K 0K 166960K 456 0 dirhash 12 2K 2K 166960K 69 0 ACPI 1697 195K 286K 166960K 12548 0 file desc 16 57K 105K 166960K 6153 0 sigio 0 0K 0K 166960K 168 0 proc 58 59K 124K 166960K 3313 0 subproc 104 6K 9K 166960K 1432 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 0 0K 0K 166960K 792 0 in_multi 87 6K 7K 166960K 1255 0 ether_multi 1 0K 0K 166960K 26 0 mrt 1 0K 0K 166960K 27 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 85 387K 387K 166960K 85 0 exec 0 0K 1K 166960K 2321 0 pfkey data 0 0K 0K 166960K 16 0 tdb 3 0K 0K 166960K 3 0 VM swap 8 62K 64K 166960K 10 0 UVM amap 294 94K 128K 166960K 51747 0 UVM aobj 131 4K 4K 166960K 142 0 pinsyscall 36 72K 100K 166960K 9725 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 326 0 NDP 12 0K 1K 166960K 333 0 temp 75 6812K 14748K 166960K 155187 0 kqueue 12 18K 26K 166960K 547 0 SYN cache 2 16K 16K 166960K 2 0 ddb> show all pools Name Size Requests Fail Releases Pgreq Pgrel Npage Hiwat Minpg Maxpg Idle rtpcb 120 768 0 765 3 0 3 3 0 8 2 rtentry 112 1267 0 1170 4 0 4 4 0 8 0 unpcb 144 4382 0 4368 13 4 9 10 0 8 8 syncache 336 21 0 21 2 1 1 1 0 8 1 tcpqe 32 30 0 30 2 1 1 1 0 8 1 tcpcb 808 1752 0 1746 18 10 8 11 0 8 7 arp 88 226 0 211 1 0 1 1 0 8 0 ipq 40 46 0 44 1 0 1 1 0 8 0 ipqe 40 177 0 174 1 0 1 1 0 8 0 inpcb 352 6528 0 6516 27 18 9 13 0 8 7 ip6q 72 1 0 1 1 0 1 1 0 8 1 nd6 104 353 0 332 1 0 1 1 0 8 0 pkpcb 40 104 0 104 2 1 1 1 0 8 1 kcovpl 48 110 0 102 1 0 1 1 0 8 0 ppxss 1072 2 0 2 1 0 1 1 0 8 1 art_heap8 4096 2 0 1 2 0 2 2 0 8 1 art_heap4 256 4695 0 4285 78 49 29 30 0 8 3 art_table 32 4697 0 4286 4 0 4 4 0 8 0 art_node 16 1260 0 1173 1 0 1 1 0 8 0 sysvmsgpl 40 16 0 7 1 0 1 1 0 8 0 semupl 112 2 0 2 1 1 0 1 0 8 0 semapl 112 452 0 442 1 0 1 1 0 8 0 shmpl 112 139 0 11 4 0 4 4 0 8 0 dirhash 1024 55 0 38 3 0 3 3 0 8 0 dino2pl 256 9523 0 8004 96 0 96 96 0 8 0 ffsino 240 9523 0 8004 90 0 90 90 0 8 0 nchpl 144 17363 0 16775 66 33 33 66 0 8 8 uvmvnodes 80 7860 0 0 161 0 161 161 0 8 0 vnodes 216 7860 0 0 437 0 437 437 0 8 0 namei 1024 73108 0 73107 3 1 2 2 0 8 1 vcpupl 3904 14 0 1 2 0 2 2 0 8 0 vmpool 664 44 0 31 2 0 2 2 0 8 0 kstatmem 264 274 0 250 2 0 2 2 0 8 0 scsiplug 72 12 0 12 2 1 1 1 0 8 1 scxspl 216 81161 0 81161 9 7 2 8 1 8 2 plimitpl 152 1580 0 1565 1 0 1 1 0 8 0 sigapl 424 6331 0 6267 9 0 9 9 0 8 0 futexpl 64 79427 0 79425 1 0 1 1 0 8 0 knotepl 120 46674 0 46592 47 34 13 18 0 8 8 kqueuepl 184 1549 0 1540 6 2 4 4 0 8 3 pipepl 288 1149 0 1119 3 0 3 3 0 8 0 fdescpl 432 6228 0 6201 5 0 5 5 0 8 1 filepl 120 43497 0 43247 21 5 16 16 0 8 7 lockfpl 104 1624 0 1622 3 1 2 2 0 8 1 lockfspl 48 602 0 600 1 0 1 1 0 8 0 sessionpl 144 117 0 101 1 0 1 1 0 8 0 pgrppl 48 328 0 312 1 0 1 1 0 8 0 ucredpl 104 7964 0 7953 1 0 1 1 0 8 0 zombiepl 144 6267 0 6267 1 0 1 1 0 8 1 processpl 1072 6331 0 6267 6 0 6 6 0 8 0 procpl 656 12619 0 12533 10 1 9 9 0 8 1 sosppl 168 59 0 59 2 1 1 1 0 8 1 sockpl 504 11934 0 11905 122 111 11 35 0 8 7 sockpl: pool(0xffffffff82d3e910:sockpl): free list modified: page 0xfffffd806cbd6000; item ordinal 0; addr 0xfffffd806cbd6811 (p 0xfffffd806e0fa000); offset 0x0=0x9a0c11e97a3b92e4 pool(sockpl): free list modified: page 0xfffffd806cbd6000; item ordinal 0; addr 0xfffffd806cbd6811 (p 0xfffffd806e0fa000); offset 0x0=0x10dead41 sockpl: pool(0xffffffff82d3e910:sockpl): page inconsistency: page 0xfffffd806cbd6000; item ordinal 1; addr 0x7e5d6dd6bae50aa1 mcl64k 65536 25 0 25 2 1 1 1 0 8 1 mcl9k 9216 3 0 3 1 0 1 1 0 8 1 mcl8k 8192 312 0 312 2 1 1 1 0 8 1 mcl4k 4096 27 0 27 2 1 1 1 0 8 1 mcl2k 2048 60377 0 60276 43 22 21 34 0 8 7 mtagpl 96 206 0 202 2 0 2 2 0 8 1 mbufpl 256 213503 0 213285 83 61 22 61 0 8 5 bufpl 280 15276 0 7350 567 0 567 567 0 8 0 anonpl 24 695122 0 688839 138 23 115 115 0 188 60 amapchunkpl 152 170908 0 170233 67 10 57 57 0 158 26 amappl16 200 12531 0 12402 44 29 15 21 0 8 6 amappl15 192 10 0 10 1 1 0 1 0 8 0 amappl14 184 561 0 549 2 1 1 2 0 8 0 amappl13 176 23 0 21 1 0 1 1 0 8 0 amappl12 168 8201 0 8172 2 0 2 2 0 8 0 amappl11 160 87 0 77 1 0 1 1 0 8 0 amappl10 152 256 0 245 1 0 1 1 0 8 0 amappl9 144 146 0 146 1 1 0 1 0 8 0 amappl8 136 315 0 282 2 0 2 2 0 8 0 amappl7 128 60 0 47 1 0 1 1 0 8 0 amappl6 120 1486 0 1471 2 1 1 2 0 8 0 amappl5 112 523 0 509 1 0 1 1 0 8 0 amappl4 104 1168 0 1140 2 1 1 2 0 8 0 amappl3 96 31658 0 31572 3 0 3 3 0 8 0 amappl2 88 6884 0 6811 3 1 2 3 0 8 0 amappl1 80 33519 0 33028 25 11 14 22 0 8 2 amappl 88 50332 0 50135 6 0 6 6 0 92 1 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 141 0 11 3 0 3 3 0 8 0 uaddrrnd 24 6272 0 6232 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 6272 0 6232 1 0 1 1 0 8 0 vmmpekpl 168 46966 0 46915 3 0 3 3 0 8 0 vmmpepl 168 399322 0 397480 123 26 97 111 0 357 10 vmsppl 344 6271 0 6232 5 0 5 5 0 8 0 rwobjpl 24 97665 0 88594 55 0 55 55 0 8 0 pdppl 4096 12550 0 12477 433 356 77 93 0 8 4 pvpl 32 2114580 0 2102173 484 246 238 349 0 265 112 pmappl 216 6271 0 6232 3 0 3 3 0 8 0 extentpl 40 56 0 38 1 0 1 1 0 8 0 phpool 112 985 0 616 12 0 12 12 0 8 0 ddb> machine ddbcpu 0 No such command ddb> trace db_enter() at db_enter+0x1c sys/arch/amd64/amd64/db_interface.c:437 panic(ffffffff82859f69) at panic+0x165 sys/kern/subr_prf.c:198 pool_do_get(ffffffff82d3e910,9,ffff80002dadf0ac) at pool_do_get+0x434 pool_get(ffffffff82d3e910,9) at pool_get+0xba sys/kern/subr_pool.c:582 soalloc(ffffffff829fe7a8,1) at soalloc+0x58 sys/kern/uipc_socket.c:141 socreate(2,ffff80002dadf1c8,3,0) at socreate+0xa6 sys/kern/uipc_socket.c:200 sys_socket(ffff80002f5439d0,ffff80002dadf320,ffff80002dadf270) at sys_socket+0xdc sys/kern/uipc_syscalls.c:101 syscall(ffff80002dadf320) at syscall+0x72a sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xca5ac608900, count: -9 ddb> machine ddbcpu 1 No such command ddb> trace db_enter() at db_enter+0x1c sys/arch/amd64/amd64/db_interface.c:437 panic(ffffffff82859f69) at panic+0x165 sys/kern/subr_prf.c:198 pool_do_get(ffffffff82d3e910,9,ffff80002dadf0ac) at pool_do_get+0x434 pool_get(ffffffff82d3e910,9) at pool_get+0xba sys/kern/subr_pool.c:582 soalloc(ffffffff829fe7a8,1) at soalloc+0x58 sys/kern/uipc_socket.c:141 socreate(2,ffff80002dadf1c8,3,0) at socreate+0xa6 sys/kern/uipc_socket.c:200 sys_socket(ffff80002f5439d0,ffff80002dadf320,ffff80002dadf270) at sys_socket+0xdc sys/kern/uipc_syscalls.c:101 syscall(ffff80002dadf320) at syscall+0x72a sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xca5ac608900, count: -9