mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Christoph Hellwig <hch@lst.de>
To: torvalds@linux-foundation.org, viro@zeniv.linux.org.uk
Cc: jack@suse.cz, dmonakhov@openvz.org, jmoyer@redhat.com,
	linux-fsdevel@vger.kernel.org, linux-aio@kvack.org,
	linux-kernel@vger.kernel.org
Subject: aio: fix a user triggered use after free
Date: Sat, 29 Oct 2016 09:44:28 +0200	[thread overview]
Message-ID: <1477727070-18806-1-git-send-email-hch@lst.de> (raw)

Hi Linus,

the patch below fixes a use after free triggered if one threads closes
a file descriptor after another just started an aio operation.

The patch is originally from Jan with some updates from me - I tried
to get in through Al but I haven't managed to get him to respond yet,
but I'd really like to get into the tree, -stable and the distros ASAP.

             reply	other threads:[~2016-10-29  7:44 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-10-29  7:44 Christoph Hellwig [this message]
2016-10-29  7:44 ` [PATCH] aio: fix a user triggered use after free (and fix freeze protection of aio writes) Christoph Hellwig
2016-10-29 12:24   ` Al Viro
2016-10-29 15:20     ` Christoph Hellwig
2016-10-29 16:12       ` Al Viro
2016-10-29 16:29         ` Al Viro
2016-10-30  6:32         ` Christoph Hellwig
2016-10-29 17:47       ` Linus Torvalds
2016-10-29 18:52         ` Al Viro
2016-10-29 19:07           ` Linus Torvalds
2016-10-29 19:17             ` Al Viro
2016-10-29 20:09               ` Linus Torvalds
2016-10-30  9:44                 ` Jan Kara
2016-10-30 10:52                   ` Jan Kara
2016-10-30 15:58                     ` Christoph Hellwig
2016-10-30  6:29         ` Christoph Hellwig

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1477727070-18806-1-git-send-email-hch@lst.de \
    --to=hch@lst.de \
    --cc=dmonakhov@openvz.org \
    --cc=jack@suse.cz \
    --cc=jmoyer@redhat.com \
    --cc=linux-aio@kvack.org \
    --cc=linux-fsdevel@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=torvalds@linux-foundation.org \
    --cc=viro@zeniv.linux.org.uk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®