• Miklos Szeredi's avatar
    [PATCH] fuse: fix Oops in lookup · 2d51013e
    Miklos Szeredi authored
    Fix bug in certain error paths of lookup routines.  The request object was
    reused for sending FORGET, which is illegal.  This bug could cause an Oops
    in 2.6.18.  In earlier versions it might silently corrupt memory, but this
    is very unlikely.
    
    These error paths are never triggered by libfuse, so this wasn't noticed
    even with the 2.6.18 kernel, only with a filesystem using the raw kernel
    interface.
    
    Thanks to Russ Cox for the bug report and test filesystem.
    Signed-off-by: default avatarMiklos Szeredi <miklos@szeredi.hu>
    Cc: <stable@kernel.org>
    Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
    Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
    2d51013e
dir.c 33.3 KB