Skip to content

hugetlbfs: prevent UFFDIO_COPY to fill beyond the end of i_size

Andrea Arcangeli linux-mm 1 version Applied

Status from this message: [merged] userfaultfd-hugetlbfs-prevent-uffdio_copy-to-fill-beyond-the-end-of-i_size.patch removed from -mm tree

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest1 patch 2 repliesApplied 1/1

Patches in v1 All 1 applied

#Subject and filesSizeRepliesApplied
1/1userfaultfd: hugetlbfs: prevent UFFDIO_COPY to fill beyond the end of i_sizemm/hugetlb.c+30 -22 repliesApplied

Reviews trailers per patch

The patch has a Reviewed-by or Acked-by.

PatchMike Kravetz
1/1R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/1] hugetlbfs: prevent UFFDIO_COPY to fill beyond the end of i_size

Hello,

The erratic mapping (as in page_mapped()) of hugetlbfs pages beyond the end of the i_size, was found while testing some userfaultfd backport. It can trigger a bugcheck as side effect.

Andrea Arcangeli (1):
userfaultfd: hugetlbfs: prevent UFFDIO_COPY to fill beyond the end of
i_size

 mm/hugetlb.c | 32 ++++++++++++++++++++++++++++++--
 1 file changed, 30 insertions(+), 2 deletions(-)

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to [email protected]. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"[email protected]"> [email protected] </a>