Re: [PATCH] nfsd: fix NULL dereference in nfsd_statfs()

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

 



On Fri, Aug 13, 2010 at 10:53 PM, Takashi Iwai <tiwai@xxxxxxx> 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@xxxxxxx>
Reviewed-by: Minchan Kim <minchan.kim@xxxxxxxxx>

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-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