[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <AANLkTimh=r57ZJU5KiXganaZhVk18jJE5qm=s+nhpX8v@mail.gmail.com>
Date: Sat, 14 Aug 2010 10:32:41 +0900
From: Minchan Kim <minchan.kim@...il.com>
To: Takashi Iwai <tiwai@...e.de>
Cc: "J. Bruce Fields" <bfields@...ldses.org>,
Neil Brown <neilb@...e.de>, Al Viro <viro@...iv.linux.org.uk>,
Christoph Hellwig <hch@....de>, linux-nfs@...r.kernel.org,
linux-kernel@...r.kernel.org,
Andrew Morton <akpm@...ux-foundation.org>
Subject: Re: [PATCH] nfsd: fix NULL dereference in nfsd_statfs()
On Fri, Aug 13, 2010 at 10:53 PM, Takashi Iwai <tiwai@...e.de> wrote:
> The commit ebabe9a9001af0af56c0c2780ca1576246e7a74b
> pass a struct path to vfs_statfs
> introduced the struct path initialization, and this seems to trigger
> an Oops on my machine.
>
> fh_dentry field may be NULL and set later in fh_verify(), thus the
> initialization of path must be after fh_verify().
>
> Signed-off-by: Takashi Iwai <tiwai@...e.de>
Reviewed-by: Minchan Kim <minchan.kim@...il.com>
Today, I had a same problem on mmotm so I made a similar patch.
Andrew. Please apply this patch on mmotm for smooth testing.
--
Kind regards,
Minchan Kim
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists