From: Tejun Heo <tj@kernel.org>
To: Dmitry Vyukov <dvyukov@google.com>
Cc: linux-ide@vger.kernel.org,
Andrey Konovalov <andreyknvl@google.com>,
Kostya Serebryany <kcc@google.com>,
Marc C <marc.ceeeee@gmail.com>,
aaron.lu@intel.com, linux-scsi <linux-scsi@vger.kernel.org>,
"James E.J. Bottomley" <JBottomley@parallels.com>
Subject: Re: Use-after-free in ata_qc_issue
Date: Mon, 23 Sep 2013 09:43:49 -0400 [thread overview]
Message-ID: <20130923134349.GJ30946@htj.dyndns.org> (raw)
In-Reply-To: <CACT4Y+ZBZ8fbGWtQpvdievrZ2-ecxCN-=8V6-rRm_+86eEd+XA@mail.gmail.com>
Hello,
On Sun, Sep 22, 2013 at 02:51:51PM -0700, Dmitry Vyukov wrote:
> > Yeah, could be. IIRC, there's still race condition in block / scsi
> > timeout handling. Hmmm...
>
> Is there an open bug for this?
Not that I know of. ISTR a couple threads about it. My memory is
quite hazy as usual but IIRC there's a race window between arming the
timer and the command issue path actually becoming ready for timer
going off and I wouldn't be suprised if there are other race
conditions around timeout / exception handling path. It kinda has
grown over time and I don't think anybody audited how the whole thing
fits and works together. :(
Thanks.
--
tejun
prev parent reply other threads:[~2013-09-23 13:43 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-09-18 18:45 Use-after-free in ata_qc_issue Dmitry Vyukov
2013-09-22 16:39 ` Tejun Heo
2013-09-22 18:24 ` Dmitry Vyukov
2013-09-22 18:59 ` Dmitry Vyukov
2013-09-22 21:47 ` Tejun Heo
2013-09-22 21:51 ` Dmitry Vyukov
2013-09-23 13:43 ` Tejun Heo [this message]
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=20130923134349.GJ30946@htj.dyndns.org \
--to=tj@kernel.org \
--cc=JBottomley@parallels.com \
--cc=aaron.lu@intel.com \
--cc=andreyknvl@google.com \
--cc=dvyukov@google.com \
--cc=kcc@google.com \
--cc=linux-ide@vger.kernel.org \
--cc=linux-scsi@vger.kernel.org \
--cc=marc.ceeeee@gmail.com \
/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;
as well as URLs for NNTP newsgroup(s).