Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1760235Ab2EIQ26 (ORCPT ); Wed, 9 May 2012 12:28:58 -0400 Received: from zeniv.linux.org.uk ([195.92.253.2]:48179 "EHLO ZenIV.linux.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755557Ab2EIQ2z (ORCPT ); Wed, 9 May 2012 12:28:55 -0400 Date: Wed, 9 May 2012 17:28:54 +0100 From: Al Viro To: Sasha Levin Cc: linux-fsdevel@vger.kernel.org, "linux-kernel@vger.kernel.org" Subject: Re: vfs: INFO: possible circular locking dependency detected Message-ID: <20120509162854.GM22082@ZenIV.linux.org.uk> References: <1336577114.3638.23.camel@lappy> <20120509161203.GK22082@ZenIV.linux.org.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1032 Lines: 21 On Wed, May 09, 2012 at 06:23:30PM +0200, Sasha Levin wrote: > On Wed, May 9, 2012 at 6:12 PM, Al Viro wrote: > > On Wed, May 09, 2012 at 05:25:14PM +0200, Sasha Levin wrote: > >> Hi all, > >> > >> I've started seeing the following warning while fuzzing inside a KVM guest with the latest -next: > > ? ? ? ?It's not a realistic attack, fortunately, since you need root > > to get past open_exec() on any of those... ?Wait. ?How _did_ you get > > past open_exec(), anyway? ?MAY_EXEC is not supposed to be granted on > > anything that has no exec bits at all and AFAICS none of those files > > have them. > > You could chmod +x and run them, no? Can't. proc_setattr() will give you -EPERM and refuse to do anything if you call it with ATTR_MODE in ->ia_valid. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/