All of lore.kernel.org
 help / color / mirror / Atom feed
* fix struct file use after free in the AIO read path
@ 2016-09-30  8:46 Christoph Hellwig
  2016-09-30  8:46 ` [PATCH 1/2] xfs: update atime before I/O in xfs_file_dio_aio_read Christoph Hellwig
  2016-09-30  8:46 ` [PATCH 2/2] fs: update atime before I/O in generic_file_read_iter Christoph Hellwig
  0 siblings, 2 replies; 6+ messages in thread
From: Christoph Hellwig @ 2016-09-30  8:46 UTC (permalink / raw)
  To: linux-xfs; +Cc: linux-fsdevel

We can't use struct file after we have submitted I/O because aio_complete
might have done the final fput on it already.  Fix this by updating the
atime before performing I/O.


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2016-10-05  8:29 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-09-30  8:46 fix struct file use after free in the AIO read path Christoph Hellwig
2016-09-30  8:46 ` [PATCH 1/2] xfs: update atime before I/O in xfs_file_dio_aio_read Christoph Hellwig
2016-09-30  8:46 ` [PATCH 2/2] fs: update atime before I/O in generic_file_read_iter Christoph Hellwig
2016-10-04  8:13   ` Jan Kara
2016-10-04 11:48     ` Christoph Hellwig
2016-10-05  8:29       ` Jan Kara

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.