Skip to content

restrict statistics information to user

Vasiliy Kulikov lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 40 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2proc: restrict access to /proc/PID/iofs/proc/base.c+5 -214 replies
2/2taskstats: restrict access to userkernel/taskstats.c+22 -126 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/2] restrict statistics information to user

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(-)