lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20080105013109.4b300cf5.akpm@linux-foundation.org>
Date:	Sat, 5 Jan 2008 01:31:09 -0800
From:	Andrew Morton <akpm@...ux-foundation.org>
To:	Al Viro <viro@...IV.linux.org.uk>
Cc:	Linus Torvalds <torvalds@...ux-foundation.org>,
	linux-kernel@...r.kernel.org, Matt Mackall <mpm@...enic.com>,
	Dave Hansen <haveblue@...ibm.com>
Subject: Re: [PATCH] restrict reading from /proc/<pid>/maps to those who
 share ->mm or can ptrace pid

On Wed, 2 Jan 2008 14:09:57 +0000 Al Viro <viro@...IV.linux.org.uk> wrote:

> 	Contents of /proc/*/maps is sensitive and may become sensitive
> after open() (e.g. if target originally shares our ->mm and later
> does exec on suid-root binary).

um, which contents?

> 	Check at read() (actually, ->start() of iterator) time that
> mm_struct we'd grabbed and locked is
> 	* still the ->mm of target
> 	* equal to reader's ->mm or the target is ptracable by reader.
> 

Specifically, do /proc/pid/smaps and the maps4 goodies in -mm need similar
treatment?

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ