public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] restrict statistics information to user
@ 2011-06-24 12:07 Vasiliy Kulikov
  0 siblings, 0 replies; only message in thread
From: Vasiliy Kulikov @ 2011-06-24 12:07 UTC (permalink / raw)
  To: linux-kernel
  Cc: Balbir Singh, Andrew Morton, Al Viro, David Rientjes,
	Stephen Wilson, KOSAKI Motohiro, security, Eric Paris,
	Solar Designer

taskstats and /proc/PID/io may be used for gathering private
information.  E.g. for openssh and vsftpd daemons wchars/rchars may be
used to learn the precise password length (pass_len = w_chars - CONST).
Restrict it to user.

The simplified proof learning whether ~*/.ssh/authorized_keys file
exists is posted here:
http://www.openwall.com/lists/oss-security/2011/06/21/12

Vasiliy Kulikov (2):
  proc: restrict access to /proc/PID/io
  taskstats: restrict access to user

 fs/proc/base.c     |    7 +++++--
 kernel/taskstats.c |   23 ++++++++++++++++++++++-
 2 files changed, 27 insertions(+), 3 deletions(-)


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2011-06-24 12:08 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-06-24 12:07 [PATCH 0/2] restrict statistics information to user Vasiliy Kulikov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox