pool: free list modified: vcpupl

0 views
Skip to first unread message

syzbot

unread,
Jun 15, 2020, 2:13:16 AM6/15/20
to syzkaller-o...@googlegroups.com
Hello,

syzbot found the following crash on:

HEAD commit: 498b1e7a Unstub diskconf().
git tree: openbsd
console output: https://syzkaller.appspot.com/x/log.txt?x=10f5f951100000
kernel config: https://syzkaller.appspot.com/x/.config?x=fe55924c11e64b0a
dashboard link: https://syzkaller.appspot.com/bug?extid=5c8561516c4b176ae034

Unfortunately, I don't have any reproducer for this crash yet.

IMPORTANT: if you fix the bug, please add the following tag to the commit:
Reported-by: syzbot+5c8561...@syzkaller.appspotmail.com

panic: pool_do_get: vcpupl free list modified: page 0xffff80001f5c0000; item addr 0xffff80001f5c0000; offset 0x0=0x0 != 0x94f4668a5541078a
Stopped at db_enter+0x18: addq $0x8,%rsp
TID PID UID PRFLAGS PFLAGS CPU COMMAND
*132863 47497 0 0 0x4000000 0 syz-executor.1
db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398
panic(ffffffff82453010) at panic+0x15c sys/kern/subr_prf.c:207
pool_do_get(ffffffff827f9688,9,ffff8000205e11c8) at pool_do_get+0x42a sys/kern/subr_pool.c:738
pool_get(ffffffff827f9688,9) at pool_get+0xb5 sys/kern/subr_pool.c:581
vm_create(ffff800000b1e000,ffff80001d6c1c50) at vm_create+0x266 sys/arch/amd64/amd64/vmm.c:1480
VOP_IOCTL(fffffd805d711000,c5005601,ffff800000b1e000,1,fffffd806c3bfb40,ffff80001d6c1c50) at VOP_IOCTL+0x88 sys/kern/vfs_vops.c:290
vn_ioctl(fffffd805d87bf08,c5005601,ffff800000b1e000,ffff80001d6c1c50) at vn_ioctl+0xb5 sys/kern/vfs_vnops.c:531
sys_ioctl(ffff80001d6c1c50,ffff8000205e1558,ffff8000205e15a0) at sys_ioctl+0x4a1
syscall(ffff8000205e1620) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570
Xsyscall() at Xsyscall+0x128
end of kernel
end trace frame: 0x60eb4f4360, count: 5
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: vcpupl free list modified: page 0xffff80001f5c0000; item addr 0xffff80001f5c0000; offset 0x0=0x0 != 0x94f4668a5541078a
ddb> trace
db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398
panic(ffffffff82453010) at panic+0x15c sys/kern/subr_prf.c:207
pool_do_get(ffffffff827f9688,9,ffff8000205e11c8) at pool_do_get+0x42a sys/kern/subr_pool.c:738
pool_get(ffffffff827f9688,9) at pool_get+0xb5 sys/kern/subr_pool.c:581
vm_create(ffff800000b1e000,ffff80001d6c1c50) at vm_create+0x266 sys/arch/amd64/amd64/vmm.c:1480
VOP_IOCTL(fffffd805d711000,c5005601,ffff800000b1e000,1,fffffd806c3bfb40,ffff80001d6c1c50) at VOP_IOCTL+0x88 sys/kern/vfs_vops.c:290
vn_ioctl(fffffd805d87bf08,c5005601,ffff800000b1e000,ffff80001d6c1c50) at vn_ioctl+0xb5 sys/kern/vfs_vnops.c:531
sys_ioctl(ffff80001d6c1c50,ffff8000205e1558,ffff8000205e15a0) at sys_ioctl+0x4a1
syscall(ffff8000205e1620) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570
Xsyscall() at Xsyscall+0x128
end of kernel
end trace frame: 0x60eb4f4360, count: -10
ddb> show registers
rdi 0
rsi 0x1
rbp 0xffff8000205e1030
rbx 0xffff8000205e10e0
rdx 0x2
rcx 0
rax 0x1
r8 0xffffffff81ad22df kprintf+0x15f
r9 0x1
r10 0x2
r11 0x19c7112817647916
r12 0x3000000008
r13 0xffff8000205e1040
r14 0x100
r15 0x1
rip 0xffffffff81897608 db_enter+0x18
cs 0x8
rflags 0x246
rsp 0xffff8000205e1020
ss 0x10
db_enter+0x18: addq $0x8,%rsp
ddb> show proc
PROC (syz-executor.1) pid=132863 stat=onproc
flags process=0 proc=4000000<THREAD>
pri=32, usrpri=80, nice=20
forw=0xffffffffffffffff, list=0xffff80001d6c2880,0xffffffff827ca1d0
process=0xffff8000ffffb208 user=0xffff8000205dc000, vmspace=0xfffffd8057723780
estcpu=36, cpticks=1, pctcpu=0.0
user=0, sys=1, intr=0
ddb> ps
PID TID PPID UID S FLAGS WAIT COMMAND
47497 490403 9934 0 2 0 syz-executor.1
*47497 132863 9934 0 7 0x4000000 syz-executor.1
9934 100054 16547 0 3 0x82 nanosleep syz-executor.1
2506 55374 16547 0 3 0x82 piperd syz-executor.0
77051 432123 0 0 3 0x14200 bored sosplice
16547 459069 6184 0 3 0x82 thrsleep syz-fuzzer
16547 264049 6184 0 3 0x4000082 nanosleep syz-fuzzer
16547 521312 6184 0 3 0x4000082 thrsleep syz-fuzzer
16547 72497 6184 0 3 0x4000082 thrsleep syz-fuzzer
16547 466964 6184 0 3 0x4000082 thrsleep syz-fuzzer
16547 359643 6184 0 3 0x4000082 thrsleep syz-fuzzer
16547 8854 6184 0 3 0x4000082 thrsleep syz-fuzzer
16547 12284 6184 0 2 0x4000002 syz-fuzzer
6184 256896 47060 0 3 0x10008a pause ksh
47060 277266 75013 0 3 0x92 select sshd
69691 445504 1 0 3 0x100083 ttyin getty
75013 177544 1 0 3 0x80 select sshd
31459 314835 66268 73 3 0x100090 kqread syslogd
66268 475297 1 0 3 0x100082 netio syslogd
67434 132631 1 77 3 0x100090 poll dhclient
2936 193358 1 0 3 0x80 poll dhclient
21707 488874 0 0 3 0x14200 bored smr
83303 159769 0 0 2 0x14200 zerothread
99969 23413 0 0 3 0x14200 aiodoned aiodoned
58038 511063 0 0 3 0x14200 syncer update
84278 109994 0 0 3 0x14200 cleaner cleaner
7008 203189 0 0 3 0x14200 reaper reaper
37901 367511 0 0 3 0x14200 pgdaemon pagedaemon
37471 406262 0 0 3 0x14200 bored crynlk
54658 289345 0 0 3 0x14200 bored crypto
7693 246808 0 0 3 0x40014200 acpi0 acpi0
66094 264728 0 0 3 0x14200 bored softnet
97878 329275 0 0 3 0x14200 bored systqmp
1979 421758 0 0 3 0x14200 bored systq
59013 410804 0 0 3 0x40014200 bored softclock
72789 214079 0 0 3 0x40014200 idle0
1 49763 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 9534 6364K 6982K 78643K 11682 0
pcb 13 8K 8K 78643K 190 0
rtable 127 10K 13K 78643K 1362 0
ifaddr 99 19K 19K 78643K 304 0
counters 21 16K 16K 78643K 37 0
ioctlops 1 2K 4K 78643K 151 0
iov 0 0K 24K 78643K 198 0
mount 1 1K 1K 78643K 1 0
vnodes 1221 77K 77K 78643K 1623 0
UFS quota 1 32K 32K 78643K 1 0
UFS mount 5 36K 36K 78643K 5 0
shm 2 1K 5K 78643K 9 0
VM map 2 0K 0K 78643K 2 0
sem 12 0K 1K 78643K 115 0
dirhash 12 2K 2K 78643K 12 0
ACPI 1809 195K 288K 78643K 12938 0
file desc 5 13K 25K 78643K 761 0
sigio 0 0K 0K 78643K 6 0
proc 52 38K 55K 78643K 487 0
subproc 32 2K 2K 78643K 68 0
NFS srvsock 1 0K 0K 78643K 1 0
NFS daemon 1 16K 16K 78643K 1 0
ip_moptions 0 0K 0K 78643K 75 0
in_multi 61 3K 3K 78643K 180 0
ether_multi 1 0K 0K 78643K 26 0
mrt 0 0K 0K 78643K 2 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 278 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 138 72K 72K 78643K 2757 0
UVM aobj 26 2K 3K 78643K 36 0
memdesc 1 4K 4K 78643K 1 0
crypto data 1 1K 1K 78643K 1 0
ip6_options 0 0K 0K 78643K 155 0
NDP 16 0K 0K 78643K 45 0
temp 143 3865K 4182K 78643K 18712 0
kqueue 3 4K 10K 78643K 45 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 11 0 4 1 0 1 1 0 8 0
rtpcb 80 616 0 613 1 0 1 1 0 8 0
rtentry 112 92 0 54 2 0 2 2 0 8 0
unpcb 120 275 0 267 1 0 1 1 0 8 0
syncache 264 8 0 8 3 3 0 1 0 8 0
tcpqe 32 49 0 49 3 3 0 1 0 8 0
tcpcb 544 300 0 296 2 1 1 2 0 8 0
inpcb 280 864 0 857 6 5 1 2 0 8 0
rttmr 72 1 0 1 1 1 0 1 0 8 0
nd6 48 18 0 12 1 0 1 1 0 8 0
pkpcb 40 4 0 4 1 1 0 1 0 8 0
ppxss 1128 2 0 2 2 2 0 1 0 8 0
pfstscr 40 1 0 0 1 0 1 1 0 8 0
pfrktable 1344 219 0 205 6 4 2 2 0 8 0
pftag 88 28 0 24 4 3 1 1 0 8 0
pfstitem 24 6 0 0 1 0 1 1 0 8 0
pfstkey 112 8 0 2 1 0 1 1 0 8 0
pfstate 328 4 0 1 1 0 1 1 0 8 0
pfrule 1360 46 0 30 2 0 2 2 0 8 0
art_heap8 4096 1 0 0 1 0 1 1 0 8 0
art_heap4 256 425 0 264 17 5 12 14 0 8 0
art_table 32 426 0 264 2 0 2 2 0 8 0
art_node 16 91 0 59 1 0 1 1 0 8 0
sysvmsgpl 40 27 0 11 2 1 1 1 0 8 0
semupl 112 4 0 4 1 1 0 1 0 8 0
semapl 112 109 0 99 1 0 1 1 0 8 0
shmpl 112 34 0 10 1 0 1 1 0 8 0
dirhash 1024 17 0 0 3 0 3 3 0 8 0
dino2pl 256 2476 0 1083 88 0 88 88 0 8 0
ffsino 240 2476 0 1083 83 0 83 83 0 8 0
nchpl 144 3806 0 2219 60 0 60 60 0 8 0
uvmvnodes 72 2790 0 0 51 0 51 51 0 8 0
vnodes 208 2790 0 0 147 0 147 147 0 8 0
namei 1024 10837 0 10837 3 2 1 1 0 8 1
vcpupl 1984 3 0 0 1 0 1 1 0 8 0
vcpupl: pool(0xffffffff827f9688:vcpupl): free list modified: page 0xffff80001f5c0000; item ordinal 0; addr 0xffff80001f5c0000 (p 0xffff80001f5c0000); offset 0x0=0x0
pool(vcpupl): free list modified: page 0xffff80001f5c0000; item ordinal 0; addr 0xffff80001f5c0000 (p 0xffff80001f5c0000); offset 0x0=0x0
vcpupl: pool(0xffffffff827f9688:vcpupl): page inconsistency: page 0xffff80001f5c0000; item ordinal 1; addr 0x10b052378412450e
vmpool 528 10 0 6 1 0 1 1 0 8 0
pfiaddrpl 120 87 0 69 1 0 1 1 0 8 0
scsiplug 64 1 0 1 1 1 0 1 0 8 0
scxspl 192 11489 0 11489 7 6 1 1 0 8 1
plimitpl 152 59 0 52 1 0 1 1 0 8 0
sigapl 424 942 0 913 4 0 4 4 0 8 0
futexpl 56 15376 0 15376 2 1 1 1 0 8 1
knotepl 112 137 0 118 1 0 1 1 0 8 0
kqueuepl 144 106 0 104 1 0 1 1 0 8 0
pipelkpl 16 321 0 311 1 0 1 1 0 8 0
pipepl 120 642 0 623 1 0 1 1 0 8 0
fdescpl 432 927 0 913 2 0 2 2 0 8 0
filepl 120 6320 0 6223 6 2 4 4 0 8 1
lockfpl 104 298 0 297 1 0 1 1 0 8 0
lockfspl 48 91 0 90 1 0 1 1 0 8 0
sessionpl 112 19 0 9 1 0 1 1 0 8 0
pgrppl 48 29 0 19 1 0 1 1 0 8 0
ucredpl 96 773 0 766 1 0 1 1 0 8 0
zombiepl 144 913 0 913 3 2 1 1 0 8 1
processpl 920 942 0 913 4 0 4 4 0 8 0
procpl 624 1923 0 1886 5 1 4 4 0 8 0
sosppl 128 6 0 6 2 2 0 1 0 8 0
sockpl 400 1761 0 1743 8 5 3 4 0 8 1
mcl64k 65536 79 0 79 7 6 1 1 0 8 1
mcl16k 16384 8 0 8 4 4 0 1 0 8 0
mcl12k 12288 14 0 14 7 7 0 1 0 8 0
mcl9k 9216 14 0 14 8 7 1 1 0 8 1
mcl8k 8192 30 0 30 8 8 0 1 0 8 0
mcl4k 4096 81 0 81 9 8 1 1 0 8 1
mcl2k2 2112 6 0 6 6 6 0 1 0 8 0
mcl2k 2048 74952 0 74901 18 11 7 13 0 8 0
mtagpl 80 80 0 58 2 1 1 1 0 8 0
mbufpl 256 125322 0 125189 33 22 11 29 0 8 0
bufpl 280 4991 0 128 348 0 348 348 0 8 0
anonpl 16 102982 0 86844 84 18 66 79 0 107 0
amapchunkpl 152 5115 0 4982 31 24 7 19 0 158 0
amappl16 192 4641 0 3747 56 11 45 54 0 8 0
amappl15 184 1 0 0 1 0 1 1 0 8 0
amappl14 176 56 0 51 1 0 1 1 0 8 0
amappl13 168 246 0 243 1 0 1 1 0 8 0
amappl12 160 37 0 34 2 1 1 1 0 8 0
amappl11 152 57 0 47 1 0 1 1 0 8 0
amappl10 144 273 0 269 1 0 1 1 0 8 0
amappl9 136 349 0 348 1 0 1 1 0 8 0
amappl8 128 382 0 335 2 0 2 2 0 8 0
amappl7 120 128 0 114 1 0 1 1 0 8 0
amappl6 112 32 0 22 1 0 1 1 0 8 0
amappl5 104 887 0 875 1 0 1 1 0 8 0
amappl4 96 654 0 626 1 0 1 1 0 8 0
amappl3 88 124 0 119 1 0 1 1 0 8 0
amappl2 80 6334 0 6267 2 0 2 2 0 8 0
amappl1 72 26399 0 25990 23 13 10 17 0 8 0
amappl 80 2190 0 2145 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 35 0 10 1 0 1 1 0 8 0
uaddrrnd 24 937 0 919 1 0 1 1 0 8 0
uaddrbest 32 2 0 0 1 0 1 1 0 8 0
uaddr 24 937 0 919 1 0 1 1 0 8 0
vmmpekpl 168 9751 0 9721 2 0 2 2 0 8 0
vmmpepl 168 115182 0 113198 179 89 90 125 0 357 0
vmsppl 272 936 0 919 3 1 2 2 0 8 0
pdppl 4096 1880 0 1842 7 2 5 6 0 8 0
pvpl 32 296327 0 277204 199 40 159 187 0 265 3
pmappl 200 936 0 919 1 0 1 1 0 8 0
extentpl 40 53 0 36 1 0 1 1 0 8 0
phpool 112 303 0 78 8 1 7 8 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:398
panic(ffffffff82453010) at panic+0x15c sys/kern/subr_prf.c:207
pool_do_get(ffffffff827f9688,9,ffff8000205e11c8) at pool_do_get+0x42a sys/kern/subr_pool.c:738
pool_get(ffffffff827f9688,9) at pool_get+0xb5 sys/kern/subr_pool.c:581
vm_create(ffff800000b1e000,ffff80001d6c1c50) at vm_create+0x266 sys/arch/amd64/amd64/vmm.c:1480
VOP_IOCTL(fffffd805d711000,c5005601,ffff800000b1e000,1,fffffd806c3bfb40,ffff80001d6c1c50) at VOP_IOCTL+0x88 sys/kern/vfs_vops.c:290
vn_ioctl(fffffd805d87bf08,c5005601,ffff800000b1e000,ffff80001d6c1c50) at vn_ioctl+0xb5 sys/kern/vfs_vnops.c:531
sys_ioctl(ffff80001d6c1c50,ffff8000205e1558,ffff8000205e15a0) at sys_ioctl+0x4a1
syscall(ffff8000205e1620) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570
Xsyscall() at Xsyscall+0x128
end of kernel
end trace frame: 0x60eb4f4360, count: -10
ddb> machine ddbcpu 1
No such command
ddb> trace
db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398
panic(ffffffff82453010) at panic+0x15c sys/kern/subr_prf.c:207
pool_do_get(ffffffff827f9688,9,ffff8000205e11c8) at pool_do_get+0x42a sys/kern/subr_pool.c:738
pool_get(ffffffff827f9688,9) at pool_get+0xb5 sys/kern/subr_pool.c:581
vm_create(ffff800000b1e000,ffff80001d6c1c50) at vm_create+0x266 sys/arch/amd64/amd64/vmm.c:1480
VOP_IOCTL(fffffd805d711000,c5005601,ffff800000b1e000,1,fffffd806c3bfb40,ffff80001d6c1c50) at VOP_IOCTL+0x88 sys/kern/vfs_vops.c:290
vn_ioctl(fffffd805d87bf08,c5005601,ffff800000b1e000,ffff80001d6c1c50) at vn_ioctl+0xb5 sys/kern/vfs_vnops.c:531
sys_ioctl(ffff80001d6c1c50,ffff8000205e1558,ffff8000205e15a0) at sys_ioctl+0x4a1
syscall(ffff8000205e1620) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570
Xsyscall() at Xsyscall+0x128
end of kernel
end trace frame: 0x60eb4f4360, count: -10


---
This bug is generated by a bot. It may contain errors.
See https://goo.gl/tpsmEJ for more information about syzbot.
syzbot engineers can be reached at syzk...@googlegroups.com.

syzbot will keep track of this bug report. See:
https://goo.gl/tpsmEJ#status for how to communicate with syzbot.

syzbot

unread,
Sep 13, 2020, 2:13:17 AM9/13/20
to syzkaller-o...@googlegroups.com
Auto-closing this bug as obsolete.
Crashes did not happen for a while, no reproducer and no activity.
Reply all
Reply to author
Forward
0 new messages