summaryrefslogtreecommitdiff
path: root/drivers/ide
diff options
context:
space:
mode:
authorJan Kara <jack@suse.cz>2013-01-30 03:48:17 (GMT)
committerTheodore Ts'o <tytso@mit.edu>2013-01-30 03:48:17 (GMT)
commit091e26dfc156aeb3b73bc5c5f277e433ad39331c (patch)
tree03a95cea66597c0b7289ea6fbdc13785a5e21919 /drivers/ide
parentb1deefc99e668348f7c785c6ece5f6ff4c6d8b5c (diff)
downloadlinux-fsl-qoriq-091e26dfc156aeb3b73bc5c5f277e433ad39331c.tar.xz
ext4: fix possible use-after-free with AIO
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: stable@vger.kernel.org Reviewed-by: Carlos Maiolino <cmaiolino@redhat.com> Acked-by: Jeff Moyer <jmoyer@redhat.com> Signed-off-by: Jan Kara <jack@suse.cz> Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Diffstat (limited to 'drivers/ide')
0 files changed, 0 insertions, 0 deletions