[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#514288: stock debian kernels map heap, data, and other sections as rwx



On Thu, 2009-02-05 at 15:44 -0800, tgo wrote:
> Package: linux-image-2.6.24-e 
> Version: 2.6.24-6~etchnhalf.7
> On both vmlinuz-2.6.18-5-686 and vmlinuz-2.6.24-etchnhalf.1-686
> kernels, the debian system maps the heap, binary data, and other data
> sections as rwx, instead of the normal and sensible rw-. 

This is a hardware limitation of i386 page tables - these permissions
cannot be set independently.

To overcome this limitation, you need a kernel that uses PAE page tables
(-686-bigmem or -amd64 flavour) and a processor that supports the "NX"
flag (look for "nx" on the "flags" line in /proc/cpuinfo").

Ben.


Attachment: signature.asc
Description: This is a digitally signed message part


Reply to: