From mboxrd@z Thu Jan 1 00:00:00 1970 From: Al Viro Subject: [git pull] apparmor fix for __d_path() misuse Date: Tue, 6 Dec 2011 15:48:54 +0000 Message-ID: <20111206154854.GH2203@ZenIV.linux.org.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: linux-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org To: Linus Torvalds Return-path: Content-Disposition: inline Sender: linux-kernel-owner@vger.kernel.org List-Id: linux-fsdevel.vger.kernel.org Fix for use-after-free race in apparmor d_namespace_path() and partially sanitizing the atrocious __d_path() API that has caused that mess in the first place. Please, pull from git://git.kernel.org:/pub/scm/linux/kernel/git/viro/vfs.git for-linus Shortlog: Al Viro (1): fix apparmor dereferencing potentially freed dentry, sanitize __d_path() API Diffstat: fs/dcache.c | 73 +++++++++++++++++++++++++++---------------- fs/namespace.c | 20 ++++++----- fs/seq_file.c | 8 ++-- include/linux/dcache.h | 3 +- include/linux/fs.h | 1 + security/apparmor/path.c | 36 ++++++++------------- security/tomoyo/realpath.c | 2 +- 7 files changed, 79 insertions(+), 64 deletions(-)