[lkml]   [2011]   [Jun]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: [PATCH 1/2] proc: restrict access to /proc/PID/io
    On Fri, Jun 24, 2011 at 5:38 PM, Vasiliy Kulikov <> wrote:
    > /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.  Restrict it to processes being able to ptrace
    > the target process.

    Hmm.. How do I reproduce this, won't they be enough randomness around
    rchar/wchar by the time the attacker reads it?

    > ptrace_may_access() is needed to prevent keeping open file descriptor of
    > "io" file, executing setuid binary and gathering io information of the
    > setuid'ed process.

    Balbir Singh
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to
    More majordomo info at
    Please read the FAQ at

     \ /
      Last update: 2011-06-28 03:25    [W:0.020 / U:24.696 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site