From: Lorenzo Hernandez Garcia-Hierro <lorenzo@gnu.org>
To: linux-kernel@vger.kernel.org
Subject: Kernel hacking option "Debug memory allocations" possible leak of PaX memory randomization
Date: Tue, 13 Jul 2004 15:51:34 +0200 [thread overview]
Message-ID: <1089726693.3283.21.camel@localhost> (raw)
[-- 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 --]
next reply other threads:[~2004-07-13 13:51 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-07-13 13:51 Lorenzo Hernandez Garcia-Hierro [this message]
2004-07-13 14:01 ` Kernel hacking option "Debug memory allocations" possible leak of PaX memory randomization Marc-Christian Petersen
2004-07-13 14:10 ` Lorenzo Hernandez Garcia-Hierro
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1089726693.3283.21.camel@localhost \
--to=lorenzo@gnu.org \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox