panic: pool_do_get: fdescpl free list modified: page 0xfffffd807e7f7000; item addr 0xfffffd807e7f7878; offset 0x48=0xdeaf4153
Stopped at db_enter+0x18: addq $0x8,%rsp
TID PID UID PRFLAGS PFLAGS CPU COMMAND
*418515 79952 0 0x2 0 0 syz-executor.3
db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:437
panic(ffffffff82790067) at panic+0x161 sys/kern/subr_prf.c:198
pool_do_get(ffffffff82c74838,9,ffff80002ce50878) at pool_do_get+0x465 sys/kern/subr_pool.c:739
pool_get(ffffffff82c74838,9) at pool_get+0xb3 sys/kern/subr_pool.c:582
fdcopy(ffff8000fffee7f0) at fdcopy+0x44 fdinit sys/kern/kern_descrip.c:1067 [inline]
fdcopy(ffff8000fffee7f0) at fdcopy+0x44 sys/kern/kern_descrip.c:1106
process_new(ffff8000fffec5a0,ffff8000fffee7f0,1) at process_new+0x2bc sys/kern/kern_fork.c:255
fork1(ffff8000216dc850,1,ffffffff810bbf00,0,ffff80002ce50ac0,0) at fork1+0x30c sys/kern/kern_fork.c:379
syscall(ffff80002ce50b40) at syscall+0x4a4 sys/arch/amd64/amd64/trap.c:625
Xsyscall() at Xsyscall+0x128
end of kernel
end trace frame: 0x7f7ffffeadf0, 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: fdescpl free list modified: page 0xfffffd807e7f7000; item addr 0xfffffd807e7f7878; offset 0x48=0xdeaf4153
ddb> trace
db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:437
panic(ffffffff82790067) at panic+0x161 sys/kern/subr_prf.c:198
pool_do_get(ffffffff82c74838,9,ffff80002ce50878) at pool_do_get+0x465 sys/kern/subr_pool.c:739
pool_get(ffffffff82c74838,9) at pool_get+0xb3 sys/kern/subr_pool.c:582
fdcopy(ffff8000fffee7f0) at fdcopy+0x44 fdinit sys/kern/kern_descrip.c:1067 [inline]
fdcopy(ffff8000fffee7f0) at fdcopy+0x44 sys/kern/kern_descrip.c:1106
process_new(ffff8000fffec5a0,ffff8000fffee7f0,1) at process_new+0x2bc sys/kern/kern_fork.c:255
fork1(ffff8000216dc850,1,ffffffff810bbf00,0,ffff80002ce50ac0,0) at fork1+0x30c sys/kern/kern_fork.c:379
syscall(ffff80002ce50b40) at syscall+0x4a4 sys/arch/amd64/amd64/trap.c:625
Xsyscall() at Xsyscall+0x128
end of kernel
end trace frame: 0x7f7ffffeadf0, count: -9
ddb> show registers
rdi 0
rsi 0x1
rbp 0xffff80002ce506f0
rbx 0xdeaf4153
rdx 0
rcx 0
rax 0xffff8000216dc850
r8 0x101010101010101
r9 0x8080808080808080
r10 0x973aa41ec96740c1
r11 0xbee8161b34422d36
r12 0
r13 0xfffffd807e7f7878
r14 0
r15 0x1
rip 0xffffffff81a69eb8 db_enter+0x18
cs 0x8
rflags 0x246
rsp 0xffff80002ce506e0
ss 0x10
db_enter+0x18: addq $0x8,%rsp
ddb> show proc
PROC (syz-executor.3) pid=418515 stat=onproc
flags process=2<EXEC> proc=0
pri=84, usrpri=84, nice=20
forw=0xffffffffffffffff, list=0xffff80002e8c42f8,0xffff8000fffed348
process=0xffff8000fffee7f0 user=0xffff80002ce4b000, vmspace=0xfffffd807e9c1970
estcpu=36, cpticks=2, pctcpu=0.0
user=0, sys=1, intr=0
ddb> ps
PID TID PPID UID S FLAGS WAIT COMMAND
48203 206426 96112 0 2 0 syz-executor.5
48203 32972 96112 0 2 0x4000000 syz-executor.5
48203 268514 96112 0 2 0x4000000 syz-executor.5
48203 266023 96112 0 2 0x4000000 syz-executor.5
97737 320145 12581 0 2 0 syz-executor.7
97737 453565 12581 0 3 0x4000080 fsleep syz-executor.7
82208 310173 43752 60928 2 0x10 syz-executor.4
82208 17223 43752 60928 3 0x4000090 fsleep syz-executor.4
82208 173842 43752 60928 3 0x4000090 fsleep syz-executor.4
74346 271028 56309 0 2 0 syz-executor.0
74346 315591 56309 0 3 0x4000000 fdlock syz-executor.0
74346 502434 56309 0 3 0x4000080 sysctllk syz-executor.0
*79952 418515 1426 0 7 0x2 syz-executor.3
40384 301396 1426 0 2 0x2 syz-executor.6
29303 490547 1426 0 3 0x82 nanoslp syz-executor.2
12581 287169 1426 0 3 0x82 nanoslp syz-executor.7
43752 24852 1426 0 3 0x82 nanoslp syz-executor.4
56309 216430 1426 0 3 0x82 nanoslp syz-executor.0
96112 44150 1426 0 3 0x82 nanoslp syz-executor.5
70097 401081 1426 0 2 0x2 syz-executor.1
63652 387421 0 0 3 0x14200 bored sosplice
91979 174457 0 0 3 0x14280 nfsidl nfsio
46578 179397 0 0 3 0x14280 nfsidl nfsio
91327 478482 0 0 3 0x14280 nfsidl nfsio
33366 306053 0 0 3 0x14280 nfsidl nfsio
36493 279656 0 0 3 0x14280 nfsidl nfsio
76377 429881 0 0 3 0x14280 nfsidl nfsio
53885 714 0 0 3 0x14280 nfsidl nfsio
97756 86022 0 0 3 0x14280 nfsidl nfsio
92467 268231 0 0 3 0x14280 nfsidl nfsio
68093 91083 0 0 3 0x14280 nfsidl nfsio
31959 279714 0 0 3 0x14280 nfsidl nfsio
36343 382072 0 0 3 0x14280 nfsidl nfsio
50731 365954 0 0 3 0x14280 nfsidl nfsio
43950 74546 0 0 3 0x14280 nfsidl nfsio
31691 139768 0 0 3 0x14280 nfsidl nfsio
16087 469454 0 0 3 0x14280 nfsidl nfsio
21469 292215 0 0 3 0x14280 nfsidl nfsio
81365 3485 0 0 3 0x14280 nfsidl nfsio
81343 52832 0 0 3 0x14280 nfsidl nfsio
19333 67458 0 0 3 0x14280 nfsidl nfsio
1426 295549 88253 0 3 0x82 wait syz-fuzzer
1426 350215 88253 0 3 0x4000082 thrsleep syz-fuzzer
1426 156465 88253 0 3 0x4000082 wait syz-fuzzer
1426 181029 88253 0 3 0x4000082 thrsleep syz-fuzzer
1426 259711 88253 0 3 0x4000082 wait syz-fuzzer
1426 284657 88253 0 3 0x4000082 kqread syz-fuzzer
1426 2940 88253 0 3 0x4000082 wait syz-fuzzer
1426 9379 88253 0 3 0x4000082 thrsleep syz-fuzzer
1426 18898 88253 0 3 0x4000082 wait syz-fuzzer
1426 133158 88253 0 3 0x4000082 wait syz-fuzzer
1426 417318 88253 0 3 0x4000082 thrsleep syz-fuzzer
1426 462290 88253 0 3 0x4000082 thrsleep syz-fuzzer
1426 293020 88253 0 3 0x4000082 wait syz-fuzzer
1426 326287 88253 0 3 0x4000082 wait syz-fuzzer
88253 84093 58025 0 3 0x10008a sigsusp ksh
58025 116083 24939 0 3 0x9a kqread sshd
51977 366375 1 0 3 0x100083 ttyin getty
24939 178190 1 0 3 0x88 kqread sshd
98444 378076 55984 73 3 0x1100090 kqread syslogd
55984 199016 1 0 3 0x100082 netio syslogd
18452 428336 1 0 3 0x100080 kqread resolvd
7195 102478 0 0 3 0x14200 bored smr
82756 485487 0 0 2 0x14200 zerothread
16608 337900 0 0 3 0x14200 aiodoned aiodoned
29366 94170 0 0 3 0x14200 syncer update
2052 1622 0 0 3 0x14200 cleaner cleaner
95716 39870 0 0 3 0x14200 reaper reaper
38360 148244 0 0 3 0x14200 pgdaemon pagedaemon
34873 268535 0 0 3 0x14200 bored viomb
33038 267916 0 0 3 0x40014200 acpi0 acpi0
29957 518401 0 0 3 0x14200 bored softnet
64069 241109 0 0 3 0x14200 bored softnet
16874 375486 0 0 3 0x14200 bored softnet
37155 292977 0 0 3 0x14200 bored softnet
71546 388658 0 0 3 0x14200 bored systqmp
40554 466854 0 0 3 0x14200 bored systq
35653 236948 0 0 3 0x40014200 bored softclock
1738 504216 0 0 3 0x40014200 idle0
1 313075 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 10217 6413K 6722K 78643K 13055 0
pcb 13 20K 25K 78643K 1071 0
rtable 200 16K 18K 78643K 2318 0
ifaddr 81 23K 26K 78643K 811 0
sysctl 3 1K 3K 78643K 10 0
counters 28 17K 18K 78643K 256 0
ioctlops 0 0K 2K 78643K 1144 0
iov 0 0K 32K 78643K 3038 0
mount 1 1K 1K 78643K 1 0
log 0 0K 0K 78643K 4 0
vnodes 1332 83K 84K 78643K 4661 0
UFS quota 1 32K 32K 78643K 1 0
UFS mount 5 36K 36K 78643K 5 0
shm 2 1K 9K 78643K 61 0
VM map 2 1K 1K 78643K 2 0
sem 12 1K 1K 78643K 339 0
dirhash 12 2K 2K 78643K 12 0
ACPI 1697 195K 286K 78643K 12548 0
file desc 14 49K 77K 78643K 6732 0
sigio 0 0K 0K 78643K 525 0
proc 56 43K 83K 78643K 1843 0
subproc 104 6K 6K 78643K 627 0
NFS srvsock 1 0K 0K 78643K 1 0
NFS daemon 1 16K 16K 78643K 1 0
ip_moptions 0 0K 0K 78643K 469 0
in_multi 82 5K 6K 78643K 708 0
ether_multi 1 0K 0K 78643K 25 0
mrt 1 0K 0K 78643K 34 0
ISOFS mount 1 32K 32K 78643K 1 0
MSDOSFS mount 1 16K 16K 78643K 1 0
ttys 217 970K 970K 78643K 217 0
exec 0 0K 1K 78643K 2236 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 266 82K 95K 78643K 44587 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 328 0
NDP 14 0K 1K 78643K 263 0
temp 138 5771K 71434K 78643K 98460 0
kqueue 6 10K 26K 78643K 689 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 773 0 772 8 5 3 3 0 8 2
rtentry 112 698 0 616 4 1 3 4 0 8 0
unpcb 144 24074 0 24066 129 127 2 15 0 8 1
syncache 296 75 0 75 16 16 0 1 0 8 0
tcpqe 32 375 0 375 14 14 0 1 0 8 0
tcpcb 776 2595 0 2586 90 88 2 14 0 8 0
arp 88 106 0 89 1 0 1 1 0 8 0
ipq 40 2 0 2 2 2 0 1 0 8 0
ipqe 40 134 0 134 2 2 0 1 0 8 0
inpcb 336 7847 0 7833 103 96 7 12 0 8 3
nd6 48 157 0 140 1 0 1 1 0 8 0
pkpcb 40 143 0 143 5 5 0 2 0 8 0
kcovpl 48 48 0 40 1 0 1 1 0 8 0
mppekey 1024 12 0 12 5 5 0 1 0 8 0
ppxss 1160 118 0 118 16 16 0 1 0 8 0
pppxif 1360 71 0 71 9 9 0 1 0 8 0
pfstscr 40 78 0 3 1 0 1 1 0 8 0
pfosfp 40 38 0 37 1 0 1 1 0 8 0
pfosfpen 112 38 0 36 1 0 1 1 0 8 0
pfanchor 1280 1293 9 846 47 4 43 43 0 8 0
pfqueue 264 3 0 3 1 1 0 1 0 8 0
pfstitem 24 147 0 145 1 0 1 1 0 8 0
pfstkey 128 153 0 80 3 0 3 3 0 8 0
pfstate 352 78 0 3 7 0 7 7 0 8 0
rttmr 136 9 0 9 4 4 0 1 0 8 0
art_heap8 4096 6 0 5 5 3 2 3 0 8 1
art_heap4 256 2988 0 2619 42 15 27 30 0 8 0
art_table 32 2994 0 2624 4 0 4 4 0 8 0
art_node 16 676 0 605 1 0 1 1 0 8 0
sysvmsgpl 40 54 0 14 1 0 1 1 0 8 0
semupl 112 3 0 3 1 1 0 1 0 8 0
semapl 112 337 0 327 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 10486 0 9039 93 1 92 92 0 8 0
ffsino 240 10486 0 9039 86 0 86 86 0 8 0
nchpl 144 20233 0 19681 63 41 22 63 0 8 0
rtmask 32 8 0 8 4 4 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 83194 0 83193 5 4 1 3 0 8 0
vmpool 664 62 0 62 8 8 0 1 0 8 0
kstatmem 264 314 0 286 3 0 3 3 0 8 0
scxspl 216 57657 0 57657 24 23 1 8 0 8 1
plimitpl 152 1197 0 1183 1 0 1 1 0 8 0
sigapl 424 6964 0 6904 8 0 8 8 0 8 0
futexpl 64 84206 0 84203 1 0 1 1 0 8 0
knotepl 120 121430 0 121366 60 52 8 12 0 8 4
kqueuepl 184 1723 0 1718 22 21 1 5 0 8 0
pipepl 288 1948 0 1920 40 37 3 7 0 8 0
fdescpl 432 6927 0 6905 4 1 3 4 0 8 0
pool(0xffffffff82c74838:fdescpl): page inconsistency: page 0xfffffd807e7f7000; 0 on list, 8 missing, 9 items per page
filepl 120 75531 0 75309 122 110 12 22 0 8 3
lockfpl 104 2584 0 2583 6 4 2 2 0 8 1
lockfspl 48 524 0 523 1 0 1 1 0 8 0
sessionpl 144 63 0 48 1 0 1 1 0 8 0
pgrppl 48 389 0 374 1 0 1 1 0 8 0
ucredpl 104 6502 0 6494 1 0 1 1 0 8 0
zombiepl 144 6905 0 6904 3 2 1 1 0 8 0
processpl 1008 6965 0 6904 10 2 8 9 0 8 0
procpl 696 17068 0 16986 12 3 9 10 0 8 0
sosppl 168 67 0 67 11 10 1 1 0 8 1
sockpl 456 32882 0 32862 819 807 12 50 0 8 6
mcl64k 65536 302 0 302 16 15 1 1 0 8 1
mcl16k 16384 136 0 136 20 19 1 1 0 8 1
mcl12k 12288 284 0 284 15 14 1 1 0 8 1
mcl9k 9216 76 0 76 18 17 1 1 0 8 1
mcl8k 8192 518 0 518 11 10 1 1 0 8 1
mcl4k 4096 932 0 932 7 6 1 1 0 8 1
mcl2k2 2112 73 0 73 21 21 0 1 0 8 0
mcl2k 2048 90096 0 90050 54 46 8 29 0 8 0
mtagpl 96 26 0 26 4 4 0 1 0 8 0
mbufpl 256 246821 0 246657 1096 1057 39 415 0 8 20
bufpl 288 16715 0 10321 457 0 457 457 0 8 0
anonpl 24 1370963 0 1355275 217 101 116 137 0 188 0
amapchunkpl 152 123802 0 123151 58 29 29 36 0 158 0
amappl16 200 13887 0 13286 91 58 33 45 0 8 0
amappl15 192 16 0 14 1 0 1 1 0 8 0
amappl14 184 306 0 295 2 1 1 2 0 8 0
amappl13 176 6 0 6 1 1 0 1 0 8 0
amappl12 168 883 0 879 1 0 1 1 0 8 0
amappl11 160 43 0 39 1 0 1 1 0 8 0
amappl10 152 75 0 66 1 0 1 1 0 8 0
amappl9 144 989 0 987 1 0 1 1 0 8 0
amappl8 136 346 0 279 4 1 3 3 0 8 0
amappl7 128 242 0 221 2 0 2 2 0 8 0
amappl6 120 375 0 361 2 1 1 2 0 8 0
amappl5 112 374 0 370 1 0 1 1 0 8 0
amappl4 104 1012 0 988 2 1 1 2 0 8 0
amappl3 96 19232 0 19194 2 0 2 2 0 8 0
amappl2 88 7825 0 7773 3 0 3 3 0 8 0
amappl1 80 158102 0 157542 26 12 14 26 0 8 0
amappl 88 43527 0 43369 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 6989 0 6967 1 0 1 1 0 8 0
uaddrbest 32 2 0 0 1 0 1 1 0 8 0
uaddr 24 6989 0 6967 1 0 1 1 0 8 0
vmmpekpl 168 55382 0 55325 3 0 3 3 0 8 0
vmmpepl 168 653289 0 650969 278 149 129 143 0 357 10
vmsppl 344 6988 0 6967 3 0 3 3 0 8 0
rwobjpl 24 172310 0 164747 48 0 48 48 0 8 0
pdppl 4096 13984 0 13934 506 448 58 70 0 8 8
pvpl 32 2714528 0 2694080 468 271 197 333 0 265 0
pmappl 216 6988 0 6967 2 0 2 2 0 8 0
extentpl 40 56 0 38 1 0 1 1 0 8 0
phpool 112 2561 0 1773 34 0 34 34 0 8 2
ddb> machine ddbcpu 0
No such command
ddb> trace
db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:437
panic(ffffffff82790067) at panic+0x161 sys/kern/subr_prf.c:198
pool_do_get(ffffffff82c74838,9,ffff80002ce50878) at pool_do_get+0x465 sys/kern/subr_pool.c:739
pool_get(ffffffff82c74838,9) at pool_get+0xb3 sys/kern/subr_pool.c:582
fdcopy(ffff8000fffee7f0) at fdcopy+0x44 fdinit sys/kern/kern_descrip.c:1067 [inline]
fdcopy(ffff8000fffee7f0) at fdcopy+0x44 sys/kern/kern_descrip.c:1106
process_new(ffff8000fffec5a0,ffff8000fffee7f0,1) at process_new+0x2bc sys/kern/kern_fork.c:255
fork1(ffff8000216dc850,1,ffffffff810bbf00,0,ffff80002ce50ac0,0) at fork1+0x30c sys/kern/kern_fork.c:379
syscall(ffff80002ce50b40) at syscall+0x4a4 sys/arch/amd64/amd64/trap.c:625
Xsyscall() at Xsyscall+0x128
end of kernel
end trace frame: 0x7f7ffffeadf0, count: -9
ddb> machine ddbcpu 1
No such command
ddb> trace
db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:437
panic(ffffffff82790067) at panic+0x161 sys/kern/subr_prf.c:198
pool_do_get(ffffffff82c74838,9,ffff80002ce50878) at pool_do_get+0x465 sys/kern/subr_pool.c:739
pool_get(ffffffff82c74838,9) at pool_get+0xb3 sys/kern/subr_pool.c:582
fdcopy(ffff8000fffee7f0) at fdcopy+0x44 fdinit sys/kern/kern_descrip.c:1067 [inline]
fdcopy(ffff8000fffee7f0) at fdcopy+0x44 sys/kern/kern_descrip.c:1106
process_new(ffff8000fffec5a0,ffff8000fffee7f0,1) at process_new+0x2bc sys/kern/kern_fork.c:255
fork1(ffff8000216dc850,1,ffffffff810bbf00,0,ffff80002ce50ac0,0) at fork1+0x30c sys/kern/kern_fork.c:379
syscall(ffff80002ce50b40) at syscall+0x4a4 sys/arch/amd64/amd64/trap.c:625
Xsyscall() at Xsyscall+0x128
end of kernel
end trace frame: 0x7f7ffffeadf0, count: -9