All of lore.kernel.org
 help / color / mirror / Atom feed
From: Johan Hovold <johan@kernel.org>
To: Liang He <windhl@126.com>
Cc: gregkh@linuxfoundation.org, linux-usb@vger.kernel.org
Subject: Re: [PATCH v2] USB: serial: console: Move mutex_unlock() before usb_serial_put()
Date: Mon, 19 Sep 2022 15:29:36 +0200	[thread overview]
Message-ID: <YyhuwODckx+y44A2@hovoldconsulting.com> (raw)
In-Reply-To: <20220919104824.4104898-1-windhl@126.com>

On Mon, Sep 19, 2022 at 06:48:24PM +0800, Liang He wrote:
> While in current version there is no use-after-free as USB serial
> core holds another reference when the console is registered, we
> should better unlock before dropping the reference in
> usb_console_setup().
> 
> Fixes: 7bd032dc2793 ("USB serial: update the console driver")
> Signed-off-by: Liang He <windhl@126.com>

Applied, thanks.

Johan

      reply	other threads:[~2022-09-19 13:29 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-09-19 10:48 [PATCH v2] USB: serial: console: Move mutex_unlock() before usb_serial_put() Liang He
2022-09-19 13:29 ` Johan Hovold [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=YyhuwODckx+y44A2@hovoldconsulting.com \
    --to=johan@kernel.org \
    --cc=gregkh@linuxfoundation.org \
    --cc=linux-usb@vger.kernel.org \
    --cc=windhl@126.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 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.