Re: [security] mount: Read-only bind mount silent failure then misreporting

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

 



On Fri, Nov 06, 2009 at 12:34:45PM +0000, Terry Burton wrote:
> 
> This is dangerous enough. However, it is totally insane to incorrectly
> update mtab to indicate that a mount is ro when it is in fact rw so
> that mount then reports bogus options.

 man mount, section BUGS.
 
 Maybe we can add some note about read-only bind mounts there (patches
 are welcomed).

> This situation has now persisted for more than 18 months and is
> undoubtedly resulting in security issues for some users.
> 
> Is a fix planned?

 plan is to remove /etc/mtab from Linux and use /proc/self/mountinfo

 The current mtab based solution is broken by design.

    Karel

-- 
 Karel Zak  <kzak@xxxxxxxxxx>
--
To unsubscribe from this list: send the line "unsubscribe util-linux-ng" 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