public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Kernel hacking option "Debug memory allocations" possible leak of PaX memory randomization
@ 2004-07-13 13:51 Lorenzo Hernandez Garcia-Hierro
  2004-07-13 14:01 ` Marc-Christian Petersen
  0 siblings, 1 reply; 3+ messages in thread
From: Lorenzo Hernandez Garcia-Hierro @ 2004-07-13 13:51 UTC (permalink / raw)
  To: linux-kernel

[-- Attachment #1: Type: text/plain, Size: 1347 bytes --]

Hi,

I've compiled a new kernel (2.6.7) 2 days ago, using the grSecurity
patch that comes with PaX inside.

I've configured the environment for running with PaX, and i ran out that
PaX tests.

They shown suspicious results:

Anonymous mapping randomisation test     : 16 bits (guessed)
Heap randomisation test (ET_EXEC)        : 13 bits (guessed)
Heap randomisation test (ET_DYN)         : 23 bits (guessed)
Main executable randomisation (ET_EXEC)  : No randomisation
Main executable randomisation (ET_DYN)   : 15 bits (guessed)
Shared library randomisation test        : 15 bits (guessed)
Stack randomisation test (SEGMEXEC)      : 23 bits (guessed)
Stack randomisation test (PAGEEXEC)      : 23 bits (guessed)

I didn't know why the test shown that but i'm suspecting on the kernel 
hacking option called "Debug memory allocations" that it's enabled on my 
kernel configuration.

I've talked with Peter Busser from the Adamantix project about it he thinks 
that it's possible, i'm not sure and i didn't make a further research on it.

Is anyone of you having the same situation, is it an unexpected behavior or it's a bug
on the kernel source?
Is that option non-compatible with PaX RANDSTACK and the rest of PaX's memory randomization
features?

Cheers,

-- 
Lorenzo Hernandez Garcia-Hierro <lorenzo@gnu.org>

[-- Attachment #2: Esta parte del mensaje está firmada digitalmente --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2004-07-13 14:10 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-07-13 13:51 Kernel hacking option "Debug memory allocations" possible leak of PaX memory randomization Lorenzo Hernandez Garcia-Hierro
2004-07-13 14:01 ` Marc-Christian Petersen
2004-07-13 14:10   ` Lorenzo Hernandez Garcia-Hierro

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox