summaryrefslogtreecommitdiffstats
path: root/REPORTING-BUGS
diff options
context:
space:
mode:
authorAndy Lutomirski <luto@amacapital.net>2014-06-10 12:45:42 -0700
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-06-16 13:40:32 -0700
commit5bacea89dc8dfd3f7d7dfbed798f3b41d4f53c78 (patch)
tree4689f0ec219452cefda5484b921598ae5dac7cea /REPORTING-BUGS
parentfce5b5fc495819be9eef7d4d41a9659b2968c7ea (diff)
downloadlinux-stable-5bacea89dc8dfd3f7d7dfbed798f3b41d4f53c78.tar.gz
linux-stable-5bacea89dc8dfd3f7d7dfbed798f3b41d4f53c78.tar.bz2
linux-stable-5bacea89dc8dfd3f7d7dfbed798f3b41d4f53c78.zip
fs,userns: Change inode_capable to capable_wrt_inode_uidgid
commit 23adbe12ef7d3d4195e80800ab36b37bee28cd03 upstream. The kernel has no concept of capabilities with respect to inodes; inodes exist independently of namespaces. For example, inode_capable(inode, CAP_LINUX_IMMUTABLE) would be nonsense. This patch changes inode_capable to check for uid and gid mappings and renames it to capable_wrt_inode_uidgid, which should make it more obvious what it does. Fixes CVE-2014-4014. Cc: Theodore Ts'o <tytso@mit.edu> Cc: Serge Hallyn <serge.hallyn@ubuntu.com> Cc: "Eric W. Biederman" <ebiederm@xmission.com> Cc: Dave Chinner <david@fromorbit.com> Signed-off-by: Andy Lutomirski <luto@amacapital.net> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'REPORTING-BUGS')
0 files changed, 0 insertions, 0 deletions