Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1455888

[GIT PULL] fix overlayfs deadlock in file_remove_privs()

From Miklos Szeredi <miklos@szeredi.hu>
Newsgroups linux.kernel
Subject [GIT PULL] fix overlayfs deadlock in file_remove_privs()
Date 2016-08-03 18:40 +0200
Message-ID <s27n9-4Sd-27@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


Hi Al,

Please pull from:

  git://git.kernel.org/pub/scm/linux/kernel/git/mszeredi/vfs.git for-viro

This fixes the deadlock introduced by making the suid removal actually work on
overlayfs.

Responsible commit 07a2daab49c5 ("ovl: Copy up underlying inode's ->i_mode to
overlay inode") unfortunately slipped through my testing and 4.7 was released
with this bug.

Two more patches are cleaning away unneeded exports of related helpers.

Thanks,
Miklos

---
Miklos Szeredi (3):
      vfs: fix deadlock in file_remove_privs() on overlayfs
      vfs: remove file_needs_remove_privs()
      vfs: make dentry_needs_remove_privs() internal

---
 fs/inode.c         | 7 +++----
 fs/internal.h      | 1 +
 include/linux/fs.h | 5 -----
 3 files changed, 4 insertions(+), 9 deletions(-)

Back to linux.kernel | Previous | NextNext in thread | Find similar | Unroll thread


Thread

[GIT PULL] fix overlayfs deadlock in file_remove_privs() Miklos Szeredi <miklos@szeredi.hu> - 2016-08-03 18:40 +0200
  Re: [GIT PULL] fix overlayfs deadlock in file_remove_privs() Al Viro <viro@ZenIV.linux.org.uk> - 2016-08-03 19:40 +0200

csiph-web