This is a note to let you know that I've just added the patch titled
ARM: prevent VM_GROWSDOWN mmaps extending below FIRST_USER_ADDRESS
to the 3.3-stable tree which can be found at:
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary
The filename of the patch is:
arm-prevent-vm_growsdown-mmaps-extending-below-first_user_address.patch
and it can be found in the queue-3.3 subdirectory.
If you, or anyone else, feels it should not be added to the stable tree,
please let <[email protected]> know about it.
>From 9b61a4d1b2064dbd0c9e61754305ac852170509f Mon Sep 17 00:00:00 2001
From: Russell King <[email protected]>
Date: Wed, 16 May 2012 15:19:20 +0100
Subject: ARM: prevent VM_GROWSDOWN mmaps extending below FIRST_USER_ADDRESS
From: Russell King <[email protected]>
commit 9b61a4d1b2064dbd0c9e61754305ac852170509f upstream.
Reported-by: Al Viro <[email protected]>
Signed-off-by: Russell King <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
---
arch/arm/mm/fault.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
--- a/arch/arm/mm/fault.c
+++ b/arch/arm/mm/fault.c
@@ -245,7 +245,9 @@ good_area:
return handle_mm_fault(mm, vma, addr & PAGE_MASK, flags);
check_stack:
- if (vma->vm_flags & VM_GROWSDOWN && !expand_stack(vma, addr))
+ /* Don't allow expansion below FIRST_USER_ADDRESS */
+ if (vma->vm_flags & VM_GROWSDOWN &&
+ addr >= FIRST_USER_ADDRESS && !expand_stack(vma, addr))
goto good_area;
out:
return fault;
Patches currently in stable-queue which might be from
[email protected] are
queue-3.3/arm-prevent-vm_growsdown-mmaps-extending-below-first_user_address.patch
queue-3.3/arm-7417-1-vfp-ensure-preemption-is-disabled-when-enabling-vfp-access.patch
--
To unsubscribe from this list: send the line "unsubscribe stable" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html