[Bug 646114] [NEW] mlock on stack will create guard page gap

Kees Cook kees at ubuntu.com
Thu Sep 23 15:57:18 UTC 2010


Public bug reported:

Calling mlock on a portion of the stack will cause the kernel to
incorrectly show a gap in /proc/$pid/maps between the old stack and the
mlock region. This can confuse applications.

** Affects: linux (Ubuntu)
     Importance: Undecided
         Status: Fix Released

** Affects: linux (Ubuntu Lucid)
     Importance: Undecided
         Status: New

** Affects: linux (Ubuntu Maverick)
     Importance: Undecided
         Status: Fix Released

** Affects: linux (Ubuntu Dapper)
     Importance: Undecided
         Status: New

** Affects: linux (Ubuntu Hardy)
     Importance: Undecided
         Status: New

** Affects: linux (Ubuntu Jaunty)
     Importance: Undecided
         Status: New

** Affects: linux (Ubuntu Karmic)
     Importance: Undecided
         Status: New

** Also affects: linux (Ubuntu Hardy)
   Importance: Undecided
       Status: New

** Also affects: linux (Ubuntu Jaunty)
   Importance: Undecided
       Status: New

** Also affects: linux (Ubuntu Maverick)
   Importance: Undecided
       Status: New

** Also affects: linux (Ubuntu Dapper)
   Importance: Undecided
       Status: New

** Also affects: linux (Ubuntu Karmic)
   Importance: Undecided
       Status: New

** Also affects: linux (Ubuntu Lucid)
   Importance: Undecided
       Status: New

** Changed in: linux (Ubuntu Maverick)
       Status: New => Fix Released

-- 
mlock on stack will create guard page gap
https://bugs.launchpad.net/bugs/646114
You received this bug notification because you are a member of Kernel
Bugs, which is subscribed to linux in ubuntu.




More information about the kernel-bugs mailing list