From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from zeniv.linux.org.uk ([195.92.253.2]:59960 "EHLO ZenIV.linux.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752147AbcIDO3l (ORCPT ); Sun, 4 Sep 2016 10:29:41 -0400 Date: Sun, 4 Sep 2016 15:29:39 +0100 From: Al Viro To: Dmitry Vyukov Cc: "linux-fsdevel@vger.kernel.org" , LKML , syzkaller Subject: Re: fs: GPF in bd_mount Message-ID: <20160904142939.GA17696@ZenIV.linux.org.uk> References: <20160904140606.GE2356@ZenIV.linux.org.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20160904140606.GE2356@ZenIV.linux.org.uk> Sender: linux-fsdevel-owner@vger.kernel.org List-ID: On Sun, Sep 04, 2016 at 03:06:06PM +0100, Al Viro wrote: > Said that, I'm not sure why mount_pseudo() would be returning any errors; > rejection should happen in the caller (due to MS_NOUSER in the flags), but > I don't understand what would trigger it on mount_pseudo() level... I see what's going on, but I wonder if sget() is the right place for userns checks...