panic: pool_do_get: sockpl free list modified: page 0xfffffd80629e8000; item addr 0xfffffd80629e8010; offset 0x0=0x0 != 0xf6c75ba1be40b98c
Stopped at db_enter+0x18: addq $0x8,%rsp
TID PID UID PRFLAGS PFLAGS CPU COMMAND
*205253 64109 0 0x10 0x4000000 0 syz-executor.1
db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398
panic(ffffffff82240b45) at panic+0x15c sys/kern/subr_prf.c:207
pool_do_get(ffffffff825902e8,9,ffff80001e45de28) at pool_do_get+0x42a sys/kern/subr_pool.c:738
pool_get(ffffffff825902e8,9) at pool_get+0xb5 sys/kern/subr_pool.c:581
socreate(18,ffff80001e45def8,1,0) at socreate+0xb5 sys/kern/uipc_socket.c:145
sys_socket(ffff80001d35eae8,ffff80001e45df98,ffff80001e45dfe0) at sys_socket+0xe5 sys/kern/uipc_syscalls.c:96
syscall(ffff80001e45e060) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570
Xsyscall() at Xsyscall+0x128
end of kernel
end trace frame: 0x61beca60530, count: 7
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_do_get: sockpl free list modified: page 0xfffffd80629e8000; item addr 0xfffffd80629e8010; offset 0x0=0x0 != 0xf6c75ba1be40b98c
ddb> trace
db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398
panic(ffffffff82240b45) at panic+0x15c sys/kern/subr_prf.c:207
pool_do_get(ffffffff825902e8,9,ffff80001e45de28) at pool_do_get+0x42a sys/kern/subr_pool.c:738
pool_get(ffffffff825902e8,9) at pool_get+0xb5 sys/kern/subr_pool.c:581
socreate(18,ffff80001e45def8,1,0) at socreate+0xb5 sys/kern/uipc_socket.c:145
sys_socket(ffff80001d35eae8,ffff80001e45df98,ffff80001e45dfe0) at sys_socket+0xe5 sys/kern/uipc_syscalls.c:96
syscall(ffff80001e45e060) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570
Xsyscall() at Xsyscall+0x128
end of kernel
end trace frame: 0x61beca60530, count: -8
ddb> show registers
rdi 0xffffffff81fe99a7 db_enter+0x17
rsi 0x49c0 __ALIGN_SIZE+0x39c0
rbp 0xffff80001e45dc90
rbx 0xffff80001e45dd40
rdx 0x49c1 __ALIGN_SIZE+0x39c1
rcx 0xffff80001f635000
rax 0xffff80001f635000
r8 0xffff80001e45dc50
r9 0x1
r10 0xffff8000009fc380
r11 0x6184c4bb1cd68431
r12 0x3000000008
r13 0xffff80001e45dca0
r14 0x100
r15 0x1
rip 0xffffffff81fe99a8 db_enter+0x18
cs 0x8
rflags 0x246
rsp 0xffff80001e45dc80
ss 0x10
db_enter+0x18: addq $0x8,%rsp
ddb> show proc
PROC (syz-executor.1) pid=205253 stat=onproc
flags process=10<SUGID> proc=4000000<THREAD>
pri=32, usrpri=86, nice=20
forw=0xffffffffffffffff, list=0xffff80001d35dc48,0xffffffff825b4318
process=0xffff8000ffffaa90 user=0xffff80001e459000, vmspace=0xfffffd806bc09aa0
estcpu=36, cpticks=1, pctcpu=0.0
user=0, sys=1, intr=0
ddb> ps
PID TID PPID UID S FLAGS WAIT COMMAND
64109 122917 36471 0 2 0x10 syz-executor.1
*64109 205253 36471 0 7 0x4000010 syz-executor.1
51915 475897 49101 0 3 0x80 nanosleep syz-executor.0
51915 158861 49101 0 3 0x4000080 fifor syz-executor.0
51915 30607 49101 0 3 0x4000080 fsleep syz-executor.0
40532 264124 0 0 3 0x14200 bored sosplice
49101 255059 52734 0 3 0x82 nanosleep syz-executor.0
36471 57009 52734 0 3 0x82 nanosleep syz-executor.1
52734 67730 97641 0 3 0x82 thrsleep syz-fuzzer
52734 359738 97641 0 3 0x4000082 thrsleep syz-fuzzer
52734 303456 97641 0 3 0x4000082 thrsleep syz-fuzzer
52734 8483 97641 0 3 0x4000082 thrsleep syz-fuzzer
52734 398072 97641 0 3 0x4000082 kqread syz-fuzzer
52734 282936 97641 0 3 0x4000082 thrsleep syz-fuzzer
52734 95167 97641 0 3 0x4000082 thrsleep syz-fuzzer
52734 322421 97641 0 3 0x4000082 thrsleep syz-fuzzer
97641 253866 31109 0 3 0x10008a pause ksh
31109 71014 97232 0 3 0x92 select sshd
82702 106162 1 0 3 0x100083 ttyin getty
97232 238877 1 0 3 0x80 select sshd
10587 441026 12824 73 3 0x100090 kqread syslogd
12824 25232 1 0 3 0x100082 netio syslogd
1086 446127 1 77 3 0x100090 poll dhclient
14208 523477 1 0 3 0x80 poll dhclient
13819 303392 0 0 2 0x14200 zerothread
29032 291885 0 0 3 0x14200 aiodoned aiodoned
37007 417384 0 0 3 0x14200 syncer update
2863 122028 0 0 3 0x14200 cleaner cleaner
16725 211932 0 0 3 0x14200 reaper reaper
45507 232488 0 0 3 0x14200 pgdaemon pagedaemon
55435 318782 0 0 3 0x14200 bored crynlk
22138 293181 0 0 3 0x14200 bored crypto
50316 24451 0 0 3 0x40014200 acpi0 acpi0
98350 495086 0 0 3 0x14200 bored softnet
10340 462127 0 0 3 0x14200 bored systqmp
63042 497319 0 0 3 0x14200 bored systq
83467 277259 0 0 3 0x40014200 bored softclock
40007 447780 0 0 3 0x40014200 idle0
89692 198225 0 0 3 0x14200 bored smr
1 449519 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 9502 6352K 7129K 78643K 11135 0
pcb 13 8K 8K 78643K 103 0
rtable 97 7K 7K 78643K 294 0
ifaddr 70 13K 13K 78643K 96 0
counters 21 16K 16K 78643K 24 0
ioctlops 0 0K 2K 78643K 23 0
iov 0 0K 12K 78643K 45 0
mount 1 1K 1K 78643K 1 0
vnodes 1228 77K 77K 78643K 1387 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 0K 0K 78643K 2 0
sem 12 1K 1K 78643K 30 0
dirhash 12 2K 2K 78643K 12 0
ACPI 1794 195K 288K 78643K 12646 0
file desc 6 17K 25K 78643K 254 0
proc 50 38K 62K 78643K 404 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 1 0K 0K 78643K 49 0
in_multi 41 2K 2K 78643K 92 0
ether_multi 1 0K 0K 78643K 14 0
mrt 0 0K 0K 78643K 6 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 201 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 110 38K 38K 78643K 1456 0
UVM aobj 23 4K 4K 78643K 25 0
memdesc 1 4K 4K 78643K 1 0
crypto data 1 1K 1K 78643K 1 0
ip6_options 0 0K 0K 78643K 71 0
NDP 12 0K 0K 78643K 20 0
temp 121 3016K 3079K 78643K 5021 0
kqueue 3 4K 12K 78643K 18 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 8 0 4 1 0 1 1 0 8 0
rtpcb 80 45 0 43 1 0 1 1 0 8 0
rtentry 112 56 0 19 2 0 2 2 0 8 0
unpcb 120 146 0 133 1 0 1 1 0 8 0
syncache 264 4 0 4 1 1 0 1 0 8 0
sackhl 24 1 0 1 1 1 0 1 0 8 0
tcpqe 32 134 0 134 1 1 0 1 0 8 0
tcpcb 544 158 0 148 1 0 1 1 0 8 0
ipq 40 4 0 4 2 2 0 1 0 8 0
ipqe 40 96 0 96 2 2 0 1 0 8 0
inpcb 280 422 0 407 2 0 2 2 0 8 0
rttmr 72 3 0 3 2 1 1 1 0 8 1
nd6 48 7 0 3 1 0 1 1 0 8 0
pkpcb 40 2 0 2 1 0 1 1 0 8 1
art_heap8 4096 1 0 0 1 0 1 1 0 8 0
art_heap4 256 241 0 52 13 0 13 13 0 8 1
art_table 32 242 0 52 2 0 2 2 0 8 0
art_node 16 55 0 21 1 0 1 1 0 8 0
sysvmsgpl 40 8 0 4 1 0 1 1 0 8 0
semupl 112 3 0 3 1 1 0 1 0 8 0
semapl 112 26 0 16 1 0 1 1 0 8 0
shmpl 112 23 0 2 1 0 1 1 0 8 0
dirhash 1024 17 0 0 3 0 3 3 0 8 0
dino1pl 128 1747 0 351 46 0 46 46 0 8 0
ffsino 240 1747 0 351 83 0 83 83 0 8 0
nchpl 144 2274 0 660 60 0 60 60 0 8 0
uvmvnodes 72 1917 0 0 35 0 35 35 0 8 0
vnodes 208 1917 0 0 101 0 101 101 0 8 0
namei 1024 5926 0 5926 2 1 1 1 0 8 1
vcpupl 1984 1 0 0 1 0 1 1 0 8 0
vmpool 528 1 0 0 1 0 1 1 0 8 0
scxspl 192 6711 0 6711 1 0 1 1 0 8 1
plimitpl 152 26 0 19 1 0 1 1 0 8 0
sigapl 424 441 0 411 4 0 4 4 0 8 0
futexpl 56 6702 0 6701 1 0 1 1 0 8 0
knotepl 112 68 0 49 1 0 1 1 0 8 0
kqueuepl 144 432 0 430 1 0 1 1 0 8 0
pipelkpl 16 108 0 97 1 0 1 1 0 8 0
pipepl 120 216 0 196 1 0 1 1 0 8 0
fdescpl 432 426 0 411 2 0 2 2 0 8 0
filepl 120 2923 0 2812 5 0 5 5 0 8 1
lockfpl 104 83 0 81 1 0 1 1 0 8 0
lockfspl 48 30 0 28 1 0 1 1 0 8 0
sessionpl 112 17 0 7 1 0 1 1 0 8 0
pgrppl 48 23 0 13 1 0 1 1 0 8 0
ucredpl 96 234 0 221 1 0 1 1 0 8 0
zombiepl 144 411 0 411 2 1 1 1 0 8 1
processpl 896 441 0 411 4 0 4 4 0 8 0
procpl 624 742 0 702 4 0 4 4 0 8 0
sosppl 128 2 0 2 1 1 0 1 0 8 0
sockpl 400 618 0 588 4 0 4 4 0 8 1
sockpl: pool(0xffffffff825902e8:sockpl): free list modified: page 0xfffffd80629e8000; item ordinal 0; addr 0xfffffd80629e8010 (p 0xfffffd806c3c4000); offset 0x0=0x0
sockpl: pool(0xffffffff825902e8:sockpl): page inconsistency: page 0xfffffd80629e8000; item ordinal 1; addr 0xff71fb8428f60211
mcl64k 65536 34 0 33 1 0 1 1 0 8 0
mcl16k 16384 2 0 2 2 1 1 1 0 8 1
mcl12k 12288 12 0 12 1 0 1 1 0 8 1
mcl9k 9216 2 0 1 2 1 1 1 0 8 0
mcl8k 8192 9 0 9 2 1 1 1 0 8 1
mcl4k 4096 35 0 35 2 1 1 1 0 8 1
mcl2k2 2112 4 0 4 2 1 1 1 0 8 1
mcl2k 2048 65266 0 65212 16 8 8 14 0 8 0
mtagpl 80 25 0 11 2 1 1 1 0 8 0
mbufpl 256 104826 0 104704 22 5 17 18 0 8 6
bufpl 280 4352 0 160 300 0 300 300 0 8 0
anonpl 16 58161 0 41999 82 6 76 81 0 107 11
amapchunkpl 152 1970 0 1835 10 4 6 9 0 158 0
amappl16 192 2111 0 1215 53 6 47 53 0 8 2
amappl15 184 2 0 1 1 0 1 1 0 8 0
amappl14 176 2 0 1 2 1 1 1 0 8 0
amappl13 168 142 0 138 1 0 1 1 0 8 0
amappl12 160 5 0 4 1 0 1 1 0 8 0
amappl11 152 61 0 49 1 0 1 1 0 8 0
amappl10 144 124 0 117 1 0 1 1 0 8 0
amappl9 136 206 0 203 1 0 1 1 0 8 0
amappl8 128 275 0 254 1 0 1 1 0 8 0
amappl7 120 212 0 201 1 0 1 1 0 8 0
amappl6 112 20 0 18 1 0 1 1 0 8 0
amappl5 104 600 0 587 1 0 1 1 0 8 0
amappl4 96 559 0 527 1 0 1 1 0 8 0
amappl3 88 232 0 224 1 0 1 1 0 8 0
amappl2 80 2881 0 2809 3 1 2 3 0 8 0
amappl1 72 17221 0 16805 27 18 9 20 0 8 0
amappl 80 988 0 944 1 0 1 1 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 24 0 2 1 0 1 1 0 8 0
uaddrrnd 24 427 0 411 1 0 1 1 0 8 0
uaddrbest 32 2 0 0 1 0 1 1 0 8 0
uaddr 24 427 0 411 1 0 1 1 0 8 0
vmmpekpl 168 6724 0 6696 2 0 2 2 0 8 0
vmmpepl 168 58411 0 56357 117 24 93 105 0 357 3
vmsppl 272 426 0 411 3 1 2 2 0 8 1
pdppl 4096 860 0 823 6 1 5 6 0 8 0
pvpl 32 175118 0 155788 195 9 186 191 0 265 30
pmappl 200 426 0 411 1 0 1 1 0 8 0
extentpl 40 46 0 29 1 0 1 1 0 8 0
phpool 112 167 0 21 5 0 5 5 0 8 0