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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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-nfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Filesystem Development]     [Linux USB Development]     [Linux Media Development]     [Video for Linux]     [Linux NILFS]     [Linux Audio Users]     [Yosemite Info]     [Linux SCSI]

  Powered by Linux