qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Stefan Priebe <s.priebe@profihost.ag>
To: qemu-devel@nongnu.org
Subject: [Qemu-devel] PATCH V2: fix NULL dereferences / races between task completition and abort
Date: Wed, 15 Aug 2012 09:09:53 +0200	[thread overview]
Message-ID: <1345014594-6020-1-git-send-email-s.priebe@profihost.ag> (raw)

This patch fixes two main issues with block/iscsi.c:
1.) iscsi_task_mgmt_abort_task_async calls iscsi_scsi_task_cancel which was also directly
    called in iscsi_aio_cancel

2.) a race between task completition and task abortion could happen cause the scsi_free_scsi_task
    were done before iscsi_schedule_bh has finished

             reply	other threads:[~2012-08-15  7:10 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-08-15  7:09 Stefan Priebe [this message]
2012-08-15  7:09 ` [Qemu-devel] [PATCH] PATCH V2: fix NULL dereferences / races between task completition and abort Stefan Priebe
2012-08-15  7:10   ` Stefan Priebe - Profihost AG
2012-08-15  8:13   ` ronnie sahlberg
2012-08-15 10:20     ` Kevin Wolf
  -- strict thread matches above, loose matches on Subject: below --
2012-08-14 20:27 [Qemu-devel] " Stefan Priebe

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=1345014594-6020-1-git-send-email-s.priebe@profihost.ag \
    --to=s.priebe@profihost.ag \
    --cc=qemu-devel@nongnu.org \
    /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).