+++ This bug was initially created as a clone of Bug #630562 +++ Description of problem: Please backport: mm: make the mlock() stack guard page checks stricter 7798330ac8114c731cfab83e634c6ecedaa233d7 guard page for stacks that grow upwards 8ca3eb08097f6839b2206e2242db4179aee3cfb3
> guard page for stacks that grow upwards > 8ca3eb08097f6839b2206e2242db4179aee3cfb3 testcase: http://lkml.org/lkml/2010/8/24/326 https://patchwork.kernel.org/patch/127431/
Created attachment 443322 [details] Backport of upstream patch
Created attachment 443353 [details] modified reproducer I changed the mapping address to resolve EINVAL error of mmap
Committed in 89.35.EL . RPMS are available at http://people.redhat.com/vgoyal/rhel4/
Probably wrong fixed-in-version. Reproduced in 89.EL, 89.30.EL and verified in 89.35.EL but also unexpectedly in 89.34.EL.
An advisory has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on therefore solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHSA-2011-0263.html