[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <166385761431.22604.16014801539211187116.git-patchwork-notify@kernel.org>
Date: Thu, 22 Sep 2022 14:40:14 +0000
From: patchwork-bot+netdevbpf@...nel.org
To: Jakub Kicinski <kuba@...nel.org>
Cc: davem@...emloft.net, netdev@...r.kernel.org, edumazet@...gle.com,
pabeni@...hat.com, michael.chan@...adcom.com,
pavan.chebbi@...adcom.com, edwin.peer@...adcom.com,
andrew.gospodarek@...adcom.com
Subject: Re: [PATCH net] bnxt: prevent skb UAF after handing over to PTP worker
Hello:
This patch was applied to netdev/net.git (master)
by Jakub Kicinski <kuba@...nel.org>:
On Wed, 21 Sep 2022 13:10:05 -0700 you wrote:
> When reading the timestamp is required bnxt_tx_int() hands
> over the ownership of the completed skb to the PTP worker.
> The skb should not be used afterwards, as the worker may
> run before the rest of our code and free the skb, leading
> to a use-after-free.
>
> Since dev_kfree_skb_any() accepts NULL make the loss of
> ownership more obvious and set skb to NULL.
>
> [...]
Here is the summary with links:
- [net] bnxt: prevent skb UAF after handing over to PTP worker
https://git.kernel.org/netdev/net/c/c31f26c8f69f
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