Skip to content
Commit 2c70c535 authored by Adam Litke's avatar Adam Litke Committed by Adrian Bunk
Browse files

Don't allow the stack to grow into hugetlb reserved regions (CVE-2007-3739)



When expanding the stack, we don't currently check if the VMA will cross
into an area of the address space that is reserved for hugetlb pages.
Subsequent faults on the expanded portion of such a VMA will confuse the
low-level MMU code, resulting in an OOPS.  Check for this.

Signed-off-by: default avatarAdam Litke <agl@us.ibm.com>
Signed-off-by: default avatarAdrian Bunk <bunk@kernel.org>
parent c19b3d84
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment