summaryrefslogtreecommitdiffstats
path: root/mm
diff options
context:
space:
mode:
authorAl Viro2011-03-23 20:52:50 +0100
committerAl Viro2011-03-23 22:01:18 +0100
commita9712bc12c40c172e393f85a9b2ba8db4bf59509 (patch)
treec40217e028ae937da7ad94e249e2247191ffcc8f /mm
parentproc: enable writing to /proc/pid/mem (diff)
downloadkernel-qcow2-linux-a9712bc12c40c172e393f85a9b2ba8db4bf59509.tar.gz
kernel-qcow2-linux-a9712bc12c40c172e393f85a9b2ba8db4bf59509.tar.xz
kernel-qcow2-linux-a9712bc12c40c172e393f85a9b2ba8db4bf59509.zip
deal with races in /proc/*/{syscall,stack,personality}
All of those are rw-r--r-- and all are broken for suid - if you open a file before the target does suid-root exec, you'll be still able to access it. For personality it's not a big deal, but for syscall and stack it's a real problem. Fix: check that task is tracable for you at the time of read(). Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'mm')
0 files changed, 0 insertions, 0 deletions