[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20210413084834.1d5cd6cb.cohuck@redhat.com>
Date: Tue, 13 Apr 2021 08:48:34 +0200
From: Cornelia Huck <cohuck@...hat.com>
To: "Christian A. Ehrhardt" <lk@...e.de>
Cc: kvm@...r.kernel.org, linux-kernel@...r.kernel.org,
Alex Williamson <alex.williamson@...hat.com>,
Alexey Kardashevskiy <aik@...abs.ru>,
David Gibson <david@...son.dropbear.id.au>,
Michael Ellerman <mpe@...erman.id.au>
Subject: Re: [PATCH] vfio/pci: Add missing range check in vfio_pci_mmap
On Mon, 12 Apr 2021 23:41:24 +0200
"Christian A. Ehrhardt" <lk@...e.de> wrote:
> When mmaping an extra device region verify that the region index
> derived from the mmap offset is valid.
>
> Fixes: a15b1883fee1 ("vfio_pci: Allow mapping extra regions")
> Cc: stable@...r.kernel.org
> Signed-off-by: Christian A. Ehrhardt <lk@...e.de>
> ---
> drivers/vfio/pci/vfio_pci.c | 4 +++-
> 1 file changed, 3 insertions(+), 1 deletion(-)
Reviewed-by: Cornelia Huck <cohuck@...hat.com>
Powered by blists - more mailing lists