lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20200417144848.GA13233@linux.intel.com>
Date:   Fri, 17 Apr 2020 07:48:48 -0700
From:   Sean Christopherson <sean.j.christopherson@...el.com>
To:     sam hao <ssesamhao@...il.com>
Cc:     kvm@...r.kernel.org, linux-kernel@...r.kernel.org,
        pbonzini@...hat.com
Subject: Re: Slab-of-out-bounds in search_memslots() in kvm_host.h

On Fri, Apr 17, 2020 at 09:24:10PM +0800, sam hao wrote:
> Hi,
> 
> I've found possible out of bounds access in search_memslots() in kvm_host.h.

...

> if (start < slots->used_slots && gfn >= memslots[start].base_gfn &&
>             gfn < memslots[start].base_gfn + memslots[start].npages) {
>                 atomic_set(&slots->lru_slot, start);
>                 return &memslots[start];
> }

Fixed (with this exact check) by commit b6467ab142b7 ("KVM: Check validity
of resolved slot when searching memslots").  Syzbot found this one very
quickly :-)  Thanks!

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ