On Mon, 12 Apr 2021 23:41:24 +0200
"Christian A. Ehrhardt" <[email protected]> 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: [email protected]
> Signed-off-by: Christian A. Ehrhardt <[email protected]>
> ---
>  drivers/vfio/pci/vfio_pci.c | 4 +++-
>  1 file changed, 3 insertions(+), 1 deletion(-)

Reviewed-by: Cornelia Huck <[email protected]>

Reply via email to