[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <161902860914.28303.4568064883705440314.git-patchwork-notify@kernel.org>
Date: Wed, 21 Apr 2021 18:10:09 +0000
From: patchwork-bot+netdevbpf@...nel.org
To: Bjorn Andersson <bjorn.andersson@...aro.org>
Cc: mani@...nel.org, davem@...emloft.net, kuba@...nel.org,
linux-arm-msm@...r.kernel.org, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] net: qrtr: Avoid potential use after free in MHI send
Hello:
This patch was applied to netdev/net.git (refs/heads/master):
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
https://git.kernel.org/netdev/net/c/47a017f33943
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
Powered by blists - more mailing lists