The quilt patch titled Subject: mm-enforce-a-minimal-stack-gap-even-against-inaccessible-vmas-fix has been removed from the -mm tree. Its filename was mm-enforce-a-minimal-stack-gap-even-against-inaccessible-vmas-fix.patch This patch was dropped because it was folded into mm-enforce-a-minimal-stack-gap-even-against-inaccessible-vmas.patch ------------------------------------------------------ From: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> Subject: mm-enforce-a-minimal-stack-gap-even-against-inaccessible-vmas-fix Date: Wed Oct 9 02:05:13 PM PDT 2024 /sprev/next/ in !CONFIG_STACK_GROWSUP section, per Lorenzo Reported-by: kernel test robot <lkp@xxxxxxxxx> Closes: https://lore.kernel.org/oe-kbuild-all/202410090632.brLG8w0b-lkp@xxxxxxxxx/ Cc: Lorenzo Stoakes <lorenzo.stoakes@xxxxxxxxxx> Cc: Ben Hutchings <ben@xxxxxxxxxxxxxxx> Cc: Helge Deller <deller@xxxxxx> Cc: Hugh Dickins <hughd@xxxxxxxxxx> Cc: Jann Horn <jannh@xxxxxxxxxx> Cc: Michal Hocko <mhocko@xxxxxxxx> Cc: Oleg Nesterov <oleg@xxxxxxxxxx> Cc: Rik van Riel <riel@xxxxxxxxxx> Cc: Vlastimil Babka <vbabka@xxxxxxx> Cc: Willy Tarreau <w@xxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- mm/mmap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/mm/mmap.c~mm-enforce-a-minimal-stack-gap-even-against-inaccessible-vmas-fix +++ a/mm/mmap.c @@ -1066,7 +1066,7 @@ static int expand_upwards(struct vm_area next = find_vma_intersection(mm, vma->vm_end, gap_addr); if (next && !(next->vm_flags & VM_GROWSUP)) { /* see comments in expand_downwards() */ - if (vma_is_accessible(prev)) + if (vma_is_accessible(next)) return -ENOMEM; if (address == next->vm_start) return -ENOMEM; _ Patches currently in -mm which might be from akpm@xxxxxxxxxxxxxxxxxxxx are mm-enforce-a-minimal-stack-gap-even-against-inaccessible-vmas.patch lib-alloc_tag_module_unload-must-wait-for-pending-kfree_rcu-calls-fix.patch mm-consolidate-common-checks-in-hugetlb_get_unmapped_area-fix.patch mm-memoryc-remove-stray-newline-at-top-of-file.patch bootmem-stop-using-page-index-fix.patch