From: Cornelia Huck <cohuck@redhat.com>
To: "Christian A. Ehrhardt" <lk@c--e.de>
Cc: kvm@vger.kernel.org, linux-kernel@vger.kernel.org,
Alex Williamson <alex.williamson@redhat.com>,
Alexey Kardashevskiy <aik@ozlabs.ru>,
David Gibson <david@gibson.dropbear.id.au>,
Michael Ellerman <mpe@ellerman.id.au>
Subject: Re: [PATCH] vfio/pci: Add missing range check in vfio_pci_mmap
Date: Tue, 13 Apr 2021 08:48:34 +0200 [thread overview]
Message-ID: <20210413084834.1d5cd6cb.cohuck@redhat.com> (raw)
In-Reply-To: <20210412214124.GA241759@lisa.in-ulm.de>
On Mon, 12 Apr 2021 23:41:24 +0200
"Christian A. Ehrhardt" <lk@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: stable@vger.kernel.org
> Signed-off-by: Christian A. Ehrhardt <lk@c--e.de>
> ---
> drivers/vfio/pci/vfio_pci.c | 4 +++-
> 1 file changed, 3 insertions(+), 1 deletion(-)
Reviewed-by: Cornelia Huck <cohuck@redhat.com>
prev parent reply other threads:[~2021-04-13 6:48 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20210410230013.GC416417@lisa.in-ulm.de>
[not found] ` <20210412140238.184e141f@omen>
2021-04-12 21:41 ` [PATCH] vfio/pci: Add missing range check in vfio_pci_mmap Christian A. Ehrhardt
2021-04-13 0:24 ` David Gibson
2021-04-13 6:48 ` Cornelia Huck [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20210413084834.1d5cd6cb.cohuck@redhat.com \
--to=cohuck@redhat.com \
--cc=aik@ozlabs.ru \
--cc=alex.williamson@redhat.com \
--cc=david@gibson.dropbear.id.au \
--cc=kvm@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=lk@c--e.de \
--cc=mpe@ellerman.id.au \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox