Re: [PATCH] NFSD: Don't hold unrefcounted creds over call tonfsd_setuser()

From: J. Bruce Fields
Date: Fri Jul 03 2009 - 10:23:09 EST


On Thu, Jul 02, 2009 at 07:09:55PM -0400, bfields wrote:
> On Thu, Jul 02, 2009 at 10:31:33PM +0100, David Howells wrote:
> > J. Bruce Fields <bfields@xxxxxxxxxxxx> wrote:
> >
> > > Got it, thanks. How easy is it to hit this case? (Just wondering
> > > whether to submit for stable.)
> >
> > Actually, one of the problems with it is that the file is opened using the old
> > creds, cached across the call to nfsd_setuser().
>
> Oops, got it. That answers that question....

Also: the problem was introduced by
745ca2475a6ac596e3d8d37c2759c0fbe2586227, right? Or does it not
actually manifest till a little later?

--b.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/