Re: [PATCH 1/4] mm: Fix invalid page pointer returned with FOLL_PIN gups

From: Christoph Hellwig
Date: Wed Feb 02 2022 - 09:04:29 EST


On Sun, Jan 30, 2022 at 09:17:49PM -0800, John Hubbard wrote:
> From: Peter Xu <peterx@xxxxxxxxxx>
>
> Alex reported invalid page pointer returned with pin_user_pages_remote() from
> vfio after upstream commit 4b6c33b32296 ("vfio/type1: Prepare for batched
> pinning with struct vfio_batch"). This problem breaks NVIDIA vfio mdev.

I haven't actually seen any nvidia mdev module in the tree.