From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Howells Subject: Re: PROBLEM: nfsd crashes in 2.6.29 Date: Tue, 28 Apr 2009 18:31:26 +0100 Message-ID: <25153.1240939886@redhat.com> References: <20090428164133.GP17891@fieldses.org> <49D218C8.2040503@msconsult.dk> <20090401185759.GD8899@fieldses.org> <20090402105943.14031ff3mhfka6bk@ssl.msconsult.dk> Cc: dhowells@redhat.com, Rasmus =?utf-8?Q?B=C3=B8g?= Hansen , linux-nfs@vger.kernel.org To: "J. Bruce Fields" Return-path: Received: from mx2.redhat.com ([66.187.237.31]:39455 "EHLO mx2.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1760543AbZD1Rce (ORCPT ); Tue, 28 Apr 2009 13:32:34 -0400 In-Reply-To: <20090428164133.GP17891@fieldses.org> Sender: linux-nfs-owner@vger.kernel.org List-ID: J. Bruce Fields wrote: > >> Without trying to figure out where that is, just looking at the > >> offset... That would be consistent with current_cred()->security being > >> NULL, since the cred_sid(cred) in inode_has_perm does tsec->sid, where > >> tsec is It oughtn't to be possible... Unless, perhaps, the credentials have been freed. During the process of freeing the creds, the security pointer is cleared. Are you running with CONFIG_DEBUG_SLAB=n? If so, would it be possible to flip it to =y? David