[Ocfs2-devel] [PATCH 2/4] xfs: Fix possible use-after-free with AIO
Ben Myers
bpm at sgi.com
Tue Jan 29 16:57:03 PST 2013
Hi Jan,
On Wed, Jan 30, 2013 at 12:27:59AM +0100, Jan Kara wrote:
> Running AIO is pinning inode in memory using file reference. Once AIO
> is completed using aio_complete(), file reference is put and inode can
> be freed from memory. So we have to be sure that calling aio_complete()
> is the last thing we do with the inode.
>
> CC: xfs at oss.sgi.com
> CC: Ben Myers <bpm at sgi.com>
> CC: stable at vger.kernel.org
> Reviewed-by: Ben Myers <bpm at sgi.com>
> Acked-by: Jeff Moyer <jmoyer at redhat.com>
> Signed-off-by: Jan Kara <jack at suse.cz>
We picked this up in the xfs tree. Sorry to keep you hanging.
Regards,
Ben
More information about the Ocfs2-devel
mailing list