Re: util-linux mount/unmount ASLR bypass via environment variable

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

 



On Fri, Jan 12, 2018 at 07:50:00AM -0400, Peter Cordes wrote:
> On Fri, Jan 12, 2018 at 11:15:59AM +0100, Karel Zak wrote:
> > Good point. Fixed, now for SUIDs it's without the addresses:
> >
> > $ LIBMOUNT_DEBUG=all mount
> > 18622: libmount:      CXT: ----> allocate [RESTRICTED]
> > 18622: libmount:      TAB: alloc
> > ...
> 
> Would it be useful to warn that addresses are being hidden?  People
> might not realize they're missing out on that when debugging.

OK.

# LIBMOUNT_DEBUG=all ./mount.static
14676: libmount: don't print memory addresses (SUID executable).
14676: libmount:     INIT: library debug mask: 0x100ffff
14676: libmount:     INIT: library version: 2.31.188
14676: libmount:     INIT:     feature: btrfs
14676: libmount:     INIT:     feature: assert



    Karel

-- 
 Karel Zak  <kzak@xxxxxxxxxx>
 http://karelzak.blogspot.com
--
To unsubscribe from this list: send the line "unsubscribe util-linux" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux