mm-on-remap-assert-that-input-range-within-the-proposed-vma.patch removed from -mm tree
The quilt patch titled
Subject: mm: on remap assert that input range within the proposed VMA
has been removed from the -mm tree. Its filename was
mm-on-remap-assert-that-input-range-within-the-proposed-vma.patch
This patch was dropped because it was merged into the mm-stable branch of git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm
------------------------------------------------------
From: "Lorenzo Stoakes (Oracle)" <[email protected]>
Subject: mm: on remap assert that input range within the proposed VMA
Date: Fri, 20 Mar 2026 22:39:47 +0000
Now we have range_in_vma_desc(), update remap_pfn_range_prepare() to check whether the input range in contained within the specified VMA, so we can fail at prepare time if an invalid range is specified.
This covers the I/O remap mmap actions also which ultimately call into this function, and other mmap action types either already span the full VMA or check this already.
---
mm/memory.c | 3 +++ 1 file changed, 3 insertions(+)
mm/memory.c renamed from mm/memory.c~mm-on-remap-assert-that-input-range-within-the-proposed-vma +3 -0
@@ -3142,6 +3142,9 @@ int remap_pfn_range_prepare(struct vm_arconst bool is_cow =vma_desc_is_cow_mapping (desc);int err; +if (!range_in_vma_desc (desc, start, end)) +return -EFAULT ; + err =get_remap_pgoff (is_cow, start, end, desc->start, desc->end, pfn, &desc->pgoff);if (err)
_
Patches currently in -mm which might be from [email protected] are
maintainers-update-mglru-entry-to-reflect-current-status.patch selftests-mm-add-merge-test-for-partial-msealed-range.patch