[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <2701fd49-4cf8-2b2d-daa8-96945ea4f233@redhat.com>
Date: Wed, 8 Apr 2020 11:08:44 +0200
From: Paolo Bonzini <pbonzini@...hat.com>
To: Cornelia Huck <cohuck@...hat.com>,
Sean Christopherson <sean.j.christopherson@...el.com>
Cc: Christian Borntraeger <borntraeger@...ibm.com>,
Janosch Frank <frankja@...ux.ibm.com>,
David Hildenbrand <david@...hat.com>, kvm@...r.kernel.org,
linux-kernel@...r.kernel.org,
syzbot+d889b59b2bb87d4047a2@...kaller.appspotmail.com
Subject: Re: [PATCH 2/2] KVM: s390: Return last valid slot if approx index is
out-of-bounds
On 08/04/20 09:10, Cornelia Huck wrote:
> On Tue, 7 Apr 2020 23:40:59 -0700
> Sean Christopherson <sean.j.christopherson@...el.com> wrote:
>
>> Return the index of the last valid slot from gfn_to_memslot_approx() if
>> its binary search loop yielded an out-of-bounds index. The index can
>> be out-of-bounds if the specified gfn is less than the base of the
>> lowest memslot (which is also the last valid memslot).
>>
>> Note, the sole caller, kvm_s390_get_cmma(), ensures used_slots is
>> non-zero.
>>
> This also should be cc:stable, with the dependency expressed as
> mentioned by Christian.
>
So,
Cc: stable@...r.kernel.org # 4.19.x: 0774a964ef56: KVM: Fix out of range accesses to memslots
Cc: stable@...r.kernel.org # 4.19.x
Paolo
Powered by blists - more mailing lists