Linux kernel -stable discussions
 help / color / mirror / Atom feed
From: Sasha Levin <sashal@kernel.org>
To: gregkh@linuxfoundation.org
Cc: wenyang@linux.alibaba.com, heikki.krogerus@linux.intel.com,
	stable@vger.kernel.org
Subject: Re: FAILED: patch "[PATCH] usb: typec: fix use after free in typec_register_port()" failed to apply to 4.19-stable tree
Date: Sun, 15 Dec 2019 13:40:05 -0500	[thread overview]
Message-ID: <20191215184005.GN18043@sasha-vm> (raw)
In-Reply-To: <157640796159177@kroah.com>

On Sun, Dec 15, 2019 at 12:06:01PM +0100, gregkh@linuxfoundation.org wrote:
>
>The patch below does not apply to the 4.19-stable tree.
>If someone wants it applied there, or to any other stable or longterm
>tree, then please email the backport, including the original git commit
>id to <stable@vger.kernel.org>.
>
>thanks,
>
>greg k-h
>
>------------------ original commit in Linus's tree ------------------
>
>From 5c388abefda0d92355714010c0199055c57ab6c7 Mon Sep 17 00:00:00 2001
>From: Wen Yang <wenyang@linux.alibaba.com>
>Date: Tue, 26 Nov 2019 22:04:52 +0800
>Subject: [PATCH] usb: typec: fix use after free in typec_register_port()
>MIME-Version: 1.0
>Content-Type: text/plain; charset=UTF-8
>Content-Transfer-Encoding: 8bit
>
>We can't use "port->sw" and/or "port->mux" after it has been freed.
>
>Fixes: 23481121c81d ("usb: typec: class: Don't use port parent for getting mux handles")
>Signed-off-by: Wen Yang <wenyang@linux.alibaba.com>
>Cc: stable <stable@vger.kernel.org>
>Cc: linux-usb@vger.kernel.org
>Cc: linux-kernel@vger.kernel.org
>Acked-by: Heikki Krogerus <heikki.krogerus@linux.intel.com>
>Link: https://lore.kernel.org/r/20191126140452.14048-1-wenyang@linux.alibaba.com
>Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

Fixed up context and queued up for 4.19.

-- 
Thanks,
Sasha

      reply	other threads:[~2019-12-15 18:40 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-12-15 11:06 FAILED: patch "[PATCH] usb: typec: fix use after free in typec_register_port()" failed to apply to 4.19-stable tree gregkh
2019-12-15 18:40 ` Sasha Levin [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=20191215184005.GN18043@sasha-vm \
    --to=sashal@kernel.org \
    --cc=gregkh@linuxfoundation.org \
    --cc=heikki.krogerus@linux.intel.com \
    --cc=stable@vger.kernel.org \
    --cc=wenyang@linux.alibaba.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