archive mirror
 help / color / mirror / Atom feed
To: Bjorn Andersson <>
Subject: Re: [PATCH] net: qrtr: Avoid potential use after free in MHI send
Date: Wed, 26 May 2021 19:03:29 +0000	[thread overview]
Message-ID: <> (raw)
In-Reply-To: <>


This patch was applied to qcom/linux.git (refs/heads/for-next):

On Wed, 21 Apr 2021 10:40:07 -0700 you wrote:
> It is possible that the MHI ul_callback will be invoked immediately
> following the queueing of the skb for transmission, leading to the
> callback decrementing the refcount of the associated sk and freeing the
> skb.
> As such the dereference of skb and the increment of the sk refcount must
> happen before the skb is queued, to avoid the skb to be used after free
> and potentially the sk to drop its last refcount..
> [...]

Here is the summary with links:
  - net: qrtr: Avoid potential use after free in MHI send

You are awesome, thank you!
Deet-doot-dot, I am a bot.

      parent reply	other threads:[~2021-05-26 19:04 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-04-21 17:40 Bjorn Andersson
2021-04-21 18:10 ` patchwork-bot+netdevbpf
2021-04-22  4:26 ` Manivannan Sadhasivam
2021-05-26 19:03 ` patchwork-bot+linux-arm-msm [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:

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \ \ \ \ \
    --subject='Re: [PATCH] net: qrtr: Avoid potential use after free in MHI send' \

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

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).