| To: | Al Viro <viro@xxxxxxxxxxxxxxxxxx> |
|---|---|
| Subject: | [PATCH 0/5] fs: Avoid premature clearing of file capabilities |
| From: | Jan Kara <jack@xxxxxxx> |
| Date: | Thu, 26 May 2016 18:19:55 +0200 |
| Cc: | linux-fsdevel@xxxxxxxxxxxxxxx, xfs@xxxxxxxxxxx, ceph-devel@xxxxxxxxxxxxxxx, Miklos Szeredi <miklos@xxxxxxxxxx>, Jan Kara <jack@xxxxxxx> |
| Delivered-to: | xfs@xxxxxxxxxxx |
Hello,
this patch series is my attempt to fix an issue when user can clear capabilites
of arbitrary file he can look up for example by running chown on it (this got
assigned CVE-2015-1350). The problem is that we call security_inode_killpriv()
before checking permissions in inode_change_ok(). This patch set moves
that call into inode_change_ok() after permissions are checked - the only
trouble is that we need to give dentry instead of inode there and that is
not completely trivial in some cases - I'd like to have a review from XFS,
Ceph, and FUSE people to verify I didn't miss anything. Anyway, have a look
how the result looks like...
Honza
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | [PATCH 4/5] fs: Give dentry to inode_change_ok() instead of inode, Jan Kara |
|---|---|
| Next by Date: | NEW PROJECT, Alexandra Johnson |
| Previous by Thread: | remounting with "errors=remount-ro" in fstab fails., Jan Vales |
| Next by Thread: | [PATCH 2/5] ceph: Propagate dentry down to inode_change_ok(), Jan Kara |
| Indexes: | [Date] [Thread] [Top] [All Lists] |