[Ocfs2-devel] [PATCH 1/4] ext4: Fix possible use-after-free with AIO
Theodore Ts'o
tytso at mit.edu
Tue Jan 29 19:51:25 PST 2013
On Wed, Jan 30, 2013 at 12:27:58AM +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: linux-ext4 at vger.kernel.org
> CC: "Theodore Ts'o" <tytso at mit.edu>
> CC: stable at vger.kernel.org
> Reviewed-by: Carlos Maiolino <cmaiolino at redhat.com>
> Acked-by: Jeff Moyer <jmoyer at redhat.com>
> Signed-off-by: Jan Kara <jack at suse.cz>
I've picked up the ext4 change. Sorry for not getting to this sooner.
- Ted
More information about the Ocfs2-devel
mailing list