virtualization.lists.linux-foundation.org archive mirror
 help / color / mirror / Atom feed
From: Jason Wang <jasowang@redhat.com>
To: Rusty Russell <rusty@rustcorp.com.au>
Cc: linux-scsi@vger.kernel.org, kvm@vger.kernel.org,
	virtualization@lists.linux-foundation.org, pbonzini@redhat.com,
	Asias He <asias@redhat.com>
Subject: Re: [PATCH] virtio-scsi: Fix hotcpu_notifier use-after-free with virtscsi_freeze
Date: Tue, 17 Dec 2013 12:46:21 +0800	[thread overview]
Message-ID: <52AFD71D.4000103@redhat.com> (raw)
In-Reply-To: <87zjo0maw3.fsf@rustcorp.com.au>

On 12/17/2013 11:09 AM, Rusty Russell wrote:
> Jason Wang <jasowang@redhat.com> writes:
>> > On 10/28/2013 04:01 PM, Asias He wrote:
>>> >> vqs are freed in virtscsi_freeze but the hotcpu_notifier is not
>>> >> unregistered. We will have a use-after-free usage when the notifier
>>> >> callback is called after virtscsi_freeze.
>>> >>
>>> >> Signed-off-by: Asias He <asias@redhat.com>
> Please include a Fixes: line, especially if you want the CC: stable.
>
> Thanks,
> Rusty.
>
>
 
Ok, will post V2 soon.

      reply	other threads:[~2013-12-17  4:46 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-10-28  8:01 [PATCH] virtio-scsi: Fix hotcpu_notifier use-after-free with virtscsi_freeze Asias He
2013-10-28 10:29 ` Paolo Bonzini
2013-10-29  3:27 ` Jason Wang
2013-10-29  5:50 ` Wanlong Gao
2013-12-12  6:32 ` Jason Wang
2013-12-17  3:09   ` Rusty Russell
2013-12-17  4:46     ` Jason Wang [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=52AFD71D.4000103@redhat.com \
    --to=jasowang@redhat.com \
    --cc=asias@redhat.com \
    --cc=kvm@vger.kernel.org \
    --cc=linux-scsi@vger.kernel.org \
    --cc=pbonzini@redhat.com \
    --cc=rusty@rustcorp.com.au \
    --cc=virtualization@lists.linux-foundation.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).