Summary: | hardened-sources-2.6.23-r7: PAX khelper crash / Overcommit vm memory | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | cilly <cilly> |
Component: | Hardened | Assignee: | The Gentoo Linux Hardened Team <hardened> |
Status: | RESOLVED FIXED | ||
Severity: | critical | CC: | gengor, kfm, pageexec |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
URL: | http://forums.grsecurity.net/viewtopic.php?f=3&t=1873 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 210026 |
Description
cilly
2008-02-13 16:20:25 UTC
Reassigning to hardened. Another pair of eyes here... have reviewed this issue and proposed fix is accurate. I would like to see this go into -r8. Fixed in rsbac-sources-2.6.23-r1 2.6.23 patch with correct offsets: --- mm/mmap.c.ori 2008-02-20 16:23:25.000000000 +0100 +++ mm/mmap.c 2008-02-20 16:23:43.000000000 +0100 @@ -1773,7 +1773,7 @@ static int acct_stack_growth(struct vm_a * Overcommit.. This must be the final test, as it will * update security statistics. */ - if (security_vm_enough_memory(grow)) + if (security_vm_enough_memory_mm(mm, grow)) return -ENOMEM; /* Ok, everything looks good - let it rip */ Fixed in 2.6.23-r8. |