From: Eric Smith <eric@brouhaha.com>
To: Kyle Moffett <kyle@moffetthome.net>
Cc: linux-kernel@vger.kernel.org
Subject: Re: mmap to address zero with MAP_FIXED returns ENOPERM for non-root users?
Date: Sat, 04 Dec 2010 23:47:18 -0800 [thread overview]
Message-ID: <4CFB4386.3010806@brouhaha.com> (raw)
In-Reply-To: <AANLkTikPESSNMRQ+WbzpLoRyhhK1UQRvnB5ifpUp+cnk@mail.gmail.com>
Kyle Moffett wrote:
> This is a specific security feature designed to reduce the security
> impact of a kernel NULL-pointer dereference.
Thanks for the explanation!
> Since you're performing binary translation of a microcontroller, it
> may be better to perform some kind of minimal memory-map translation
> as a part of that.
That's exactly what I'd hoped to avoid, as it does result in a
non-trivial performance hit. I suppose I can make it a configuration
option of my translator.
I'm curious, though. How likely are exploits where I can trick the
kernel into calling a function at 0 in my virtual address space, but not
trick it into calling a function at some non-zero address of my choosing?
Best regards,
Eric
next prev parent reply other threads:[~2010-12-05 7:47 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-12-05 6:40 mmap to address zero with MAP_FIXED returns ENOPERM for non-root users? Eric Smith
2010-12-05 7:24 ` Kyle Moffett
2010-12-05 7:47 ` Eric Smith [this message]
2010-12-05 8:08 ` Samuel Thibault
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=4CFB4386.3010806@brouhaha.com \
--to=eric@brouhaha.com \
--cc=kyle@moffetthome.net \
--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