Messages in this thread | | | Subject | Re: [PATCH net] net: fix skb leak in __skb_tstamp_tx() | From | patchwork-bot+netdevbpf@kernel ... | Date | Wed, 24 May 2023 04:20:19 +0000 |
| |
Hello:
This patch was applied to netdev/net.git (main) by Jakub Kicinski <kuba@kernel.org>:
On Mon, 22 May 2023 17:30:20 +0200 you wrote: > Commit 50749f2dd685 ("tcp/udp: Fix memleaks of sk and zerocopy skbs with > TX timestamp.") added a call to skb_orphan_frags_rx() to fix leaks with > zerocopy skbs. But it ended up adding a leak of its own. When > skb_orphan_frags_rx() fails, the function just returns, leaking the skb > it just cloned. Free it before returning. > > This bug was discovered and resolved using Coverity Static Analysis > Security Testing (SAST) by Synopsys, Inc. > > [...]
Here is the summary with links: - [net] net: fix skb leak in __skb_tstamp_tx() https://git.kernel.org/netdev/net/c/8a02fb71d719
You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html
| |