util-linux.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Karel Zak <kzak@redhat.com>
To: halfdog <me@halfdog.net>
Cc: util-linux@vger.kernel.org
Subject: Re: util-linux mount/unmount ASLR bypass via environment variable
Date: Fri, 12 Jan 2018 11:15:59 +0100	[thread overview]
Message-ID: <20180112101559.rm2k4qbhi7kyufma@ws.net.home> (raw)
In-Reply-To: <820-1515696719.436169@jYEA.ctRK.4WZD>

On Thu, Jan 11, 2018 at 06:51:59PM +0000, halfdog wrote:
> Cleaning up another issue, I noticed that I haven't reported this
> one yet. Debugging of libmount can be activated, also in SUID binaries,

This is expected and wanted ;-)

> thus spilling out the heap addresses.

Good point. Fixed, now for SUIDs it's without the addresses:

$ LIBMOUNT_DEBUG=all mount
18622: libmount:      CXT: ----> allocate [RESTRICTED]
18622: libmount:      TAB: alloc
18622: libmount:    CACHE: alloc
18622: libmount:      TAB: mtab parse: #1 read mountinfo
18622: libmount:      TAB: /proc/self/mountinfo: start parsing [entries=0, filter=not]
18622: libmount:      TAB: add entry: sysfs /sys
18622: libmount:    CACHE: canonicalize path /proc/self/mountinfo
...

Thanks!

   Karel

-- 
 Karel Zak  <kzak@redhat.com>
 http://karelzak.blogspot.com

  reply	other threads:[~2018-01-12 10:16 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-01-11 18:51 util-linux mount/unmount ASLR bypass via environment variable halfdog
2018-01-12 10:15 ` Karel Zak [this message]
2018-01-12 11:50   ` Peter Cordes
2018-01-12 12:47     ` Karel Zak

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=20180112101559.rm2k4qbhi7kyufma@ws.net.home \
    --to=kzak@redhat.com \
    --cc=me@halfdog.net \
    --cc=util-linux@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;
as well as URLs for NNTP newsgroup(s).