Re: [PATCH 1/4] ext4: Fix possible use-after-free with AIO
From: Theodore Ts'o <tytso@mit.edu>
Date: 2013-01-30 03:51:31
Also in:
linux-fsdevel, linux-xfs, ocfs2-devel
From: Theodore Ts'o <tytso@mit.edu>
Date: 2013-01-30 03:51:31
Also in:
linux-fsdevel, linux-xfs, ocfs2-devel
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@vger.kernel.org CC: "Theodore Ts'o" <tytso@mit.edu> CC: stable@vger.kernel.org Reviewed-by: Carlos Maiolino <redacted> Acked-by: Jeff Moyer <redacted> Signed-off-by: Jan Kara <jack@suse.cz>
I've picked up the ext4 change. Sorry for not getting to this sooner.
- Ted