[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20130130005656.GM27055@sgi.com>
Date: Tue, 29 Jan 2013 18:56:56 -0600
From: Ben Myers <bpm@....com>
To: Jan Kara <jack@...e.cz>
Cc: Al Viro <viro@...IV.linux.org.uk>, stable@...r.kernel.org,
xfs@....sgi.com, linux-fsdevel@...r.kernel.org,
linux-ext4@...r.kernel.org, ocfs2-devel@....oracle.com
Subject: Re: [PATCH 2/4] xfs: Fix possible use-after-free with AIO
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@....sgi.com
> CC: Ben Myers <bpm@....com>
> CC: stable@...r.kernel.org
> Reviewed-by: Ben Myers <bpm@....com>
> Acked-by: Jeff Moyer <jmoyer@...hat.com>
> Signed-off-by: Jan Kara <jack@...e.cz>
We picked this up in the xfs tree. Sorry to keep you hanging.
Regards,
Ben
--
To unsubscribe from this list: send the line "unsubscribe linux-ext4" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists