Messages in this thread | | | Subject | Re: [PATCH] net: qrtr: Avoid potential use after free in MHI send | From | patchwork-bot+netdevbpf@kernel ... | Date | Wed, 21 Apr 2021 18:10:09 +0000 |
| |
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
| |