From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-10.8 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PULL_REQUEST,MAILING_LIST_MULTI, MENTIONS_GIT_HOSTING,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 5C549C35246 for ; Sun, 26 Jan 2020 18:25:23 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 3D503206D5 for ; Sun, 26 Jan 2020 18:25:23 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726772AbgAZSZU (ORCPT ); Sun, 26 Jan 2020 13:25:20 -0500 Received: from zeniv.linux.org.uk ([195.92.253.2]:49002 "EHLO ZenIV.linux.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725838AbgAZSZT (ORCPT ); Sun, 26 Jan 2020 13:25:19 -0500 Received: from viro by ZenIV.linux.org.uk with local (Exim 4.92.3 #3 (Red Hat Linux)) id 1ivmaz-002uba-Ms; Sun, 26 Jan 2020 18:25:17 +0000 Date: Sun, 26 Jan 2020 18:25:17 +0000 From: Al Viro To: Linus Torvalds Cc: linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [git pull] vfs.git fixes Message-ID: <20200126182517.GO23230@ZenIV.linux.org.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Sender: linux-fsdevel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-fsdevel@vger.kernel.org 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(-)