linux-nfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Re: [patch 01/28] fs: d_validate fixes
       [not found] ` <20101116142028.254946611@kernel.dk>
@ 2010-11-17 10:44   ` Andi Kleen
  0 siblings, 0 replies; only message in thread
From: Andi Kleen @ 2010-11-17 10:44 UTC (permalink / raw)
  To: Nick Piggin; +Cc: linux-fsdevel, linux-kernel, linux-nfs

Nick Piggin <npiggin@kernel.dk> writes:

> d_validate has been broken for a long time.
>
> kmem_ptr_validate does not guarantee that a pointer can be dereferenced
> if it can go away at any time. Even rcu_read_lock doesn't help, because
> the pointer might be queued in RCU callbacks but not executed yet.

I wonder if that is a problem for NFS ... (which I believe is the only
user). Could these races be used to break the NFS server?

-Andi
-- 
ak@linux.intel.com -- Speaking for myself only.

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2010-11-17 10:44 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <20101116140900.039761100@kernel.dk>
     [not found] ` <20101116142028.254946611@kernel.dk>
2010-11-17 10:44   ` [patch 01/28] fs: d_validate fixes Andi Kleen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).