lkml.org 
[lkml]   [2010]   [Nov]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    From
    SubjectRe: [patch 01/28] fs: d_validate fixes
    Date
    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.


    \
     
     \ /
      Last update: 2010-11-17 11:47    [W:4.472 / U:0.288 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site