mbox series

[git,pull] vfs.git fixes

Message ID 20200126182517.GO23230@ZenIV.linux.org.uk (mailing list archive)
State New, archived
Headers show
Series [git,pull] vfs.git fixes | expand

Pull-request

git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs.git fixes

Message

Al Viro Jan. 26, 2020, 6:25 p.m. UTC
Fixes a use-after-free in do_last() handling of sysctl_protected_... checks.
UAF normally doesn't happen there, but race with rename() and it becomes possible.

The following changes since commit 508c8772760d4ef9c1a044519b564710c3684fc5:

  fix autofs regression caused by follow_managed() changes (2020-01-15 01:36:46 -0500)

are available in the git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs.git fixes

for you to fetch changes up to d0cb50185ae942b03c4327be322055d622dc79f6:

  do_last(): fetch directory ->i_mode and ->i_uid before it's too late (2020-01-26 09:31:07 -0500)

----------------------------------------------------------------
Al Viro (1):
      do_last(): fetch directory ->i_mode and ->i_uid before it's too late

 fs/namei.c | 17 ++++++++++-------
 1 file changed, 10 insertions(+), 7 deletions(-)

Comments

pr-tracker-bot@kernel.org Jan. 26, 2020, 7:30 p.m. UTC | #1
The pull request you sent on Sun, 26 Jan 2020 18:25:17 +0000:

> git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs.git fixes

has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/b1b298914f3ae226e99c98042c1648f740015724

Thank you!