From: Raspbian kernel package updater Date: Tue, 25 Jul 2017 04:08:33 +0000 (+0000) Subject: defuzz patches X-Git-Tag: archive/raspbian/4.9.30-2+deb9u2+rpi1~2 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=718faca04e68d75bebc08657df8a9ae98b3445ab;p=linux-4.9.git defuzz patches --- diff --git a/debian/patches/bugfix/all/mm-fix-new-crash-in-unmapped_area_topdown.patch b/debian/patches/bugfix/all/mm-fix-new-crash-in-unmapped_area_topdown.patch index ccd5663a9716..0486ead1d227 100644 --- a/debian/patches/bugfix/all/mm-fix-new-crash-in-unmapped_area_topdown.patch +++ b/debian/patches/bugfix/all/mm-fix-new-crash-in-unmapped_area_topdown.patch @@ -22,9 +22,11 @@ Signed-off-by: Linus Torvalds mm/mmap.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) ---- a/mm/mmap.c -+++ b/mm/mmap.c -@@ -1813,7 +1813,8 @@ check_current: +Index: usextract/mm/mmap.c +=================================================================== +--- usextract.orig/mm/mmap.c ++++ usextract/mm/mmap.c +@@ -1799,7 +1799,8 @@ check_current: /* Check if current node has a suitable gap */ if (gap_start > high_limit) return -ENOMEM; @@ -34,8 +36,8 @@ Signed-off-by: Linus Torvalds goto found; /* Visit right subtree if it looks promising */ -@@ -1916,7 +1917,8 @@ check_current: - gap_end = vm_start_gap(vma); +@@ -1902,7 +1903,8 @@ check_current: + gap_end = vma->vm_start; if (gap_end < low_limit) return -ENOMEM; - if (gap_start <= high_limit && gap_end - gap_start >= length)