From: Greg KH <gregkh@linuxfoundation.org>
To: Juergen Gross <jgross@suse.com>
Cc: stable@vger.kernel.org, Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Subject: Re: [PATCH] xen/blkback: don't free be structure too early
Date: Mon, 3 Jul 2017 11:04:48 +0200 [thread overview]
Message-ID: <20170703090448.GA13337@kroah.com> (raw)
In-Reply-To: <20170703085917.419-1-jgross@suse.com>
On Mon, Jul 03, 2017 at 10:59:17AM +0200, Juergen Gross wrote:
> The be structure must not be freed when freeing the blkif structure
> isn't done. Otherwise a use-after-free of be when unmapping the ring
> used for communicating with the frontend will occur in case of a
> late call of xenblk_disconnect() (e.g. due to an I/O still active
> when trying to disconnect).
>
> Signed-off-by: Juergen Gross <jgross@suse.com>
> Tested-by: Steven Haigh <netwiz@crc.id.au>
> Acked-by: Roger Pau Monn� <roger.pau@citrix.com>
> Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
> ---
> This is a backport of upstream commit 71df1d7ccad1c3.
Thanks, applied to 4.9 and 4.11-stable queues. If you want it to go to
4.4, can you please provide a backport for that?
thanks,
greg k-h
prev parent reply other threads:[~2017-07-03 9:04 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-07-03 8:59 [PATCH] xen/blkback: don't free be structure too early Juergen Gross
2017-07-03 9:04 ` Greg KH [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=20170703090448.GA13337@kroah.com \
--to=gregkh@linuxfoundation.org \
--cc=jgross@suse.com \
--cc=konrad.wilk@oracle.com \
--cc=stable@vger.kernel.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.