On Mon, 12 Apr 2021 23:41:24 +0200 "Christian A. Ehrhardt" <l...@c--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: sta...@vger.kernel.org > Signed-off-by: Christian A. Ehrhardt <l...@c--e.de> > --- > drivers/vfio/pci/vfio_pci.c | 4 +++- > 1 file changed, 3 insertions(+), 1 deletion(-) Reviewed-by: Cornelia Huck <coh...@redhat.com>