On Sun, May 21, 2017 at 11:19:03PM +0200, Richard Weinberger wrote: > This feature is another abuser of set_fs(). > Reading proc files from the host side is a debugging feature > with no security checks at all. The path is not sanitized, therefore > any file could be read.
ITYM "any file on procfs" > Let's get rid of it. Wait a sec - guest is not protected against anyone with mconsole access anyway. > Unless I miss something is feature is not ABI since it was addeded for > debugging UML only. It is broken wrt. security and abuses set_fs(). > I think we can just remove it. IDGI. set_fs() abuses are trivial - just switch to kernel_read() and be done with that... ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ User-mode-linux-devel mailing list User-mode-linux-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel