[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20150321180154.GA4916@infradead.org>
Date: Sat, 21 Mar 2015 11:01:54 -0700
From: Christoph Hellwig <hch@...radead.org>
To: Taesoo Kim <tsgatesv@...il.com>
Cc: trond.myklebust@...marydata.com, anna.schumaker@...app.com,
linux-nfs@...r.kernel.org, linux-kernel@...r.kernel.org,
taesoo@...ech.edu, changwoo@...ech.edu, sanidhya@...ech.edu,
blee@...ech.edu, csong84@...ech.edu,
Byoungyoung Lee <lifeasageek@...il.com>
Subject: Re: [PATCH] NFS: fix potential NULL deref in nfs_closedir()
On Sat, Mar 21, 2015 at 12:21:18AM -0400, Taesoo Kim wrote:
> From: Byoungyoung Lee <lifeasageek@...il.com>
>
> When filp->private_data is NULL, put_nfs_open_dir_context()
> deferences its pointer (fi->list, fi->cred), similar to what
> other file systems handle '.release' api (9p, cifs, btrfs,
> ext4, ocfs2).
Why woud filp->private_data ever be NULL here?
--
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