Thread (4 messages) flat view 4 messages, 4 authors, 2021-11-07

Re: [PATCH v2] nfc: pn533: Fix double free when pn533_fill_fragment_skbs() fails

From: patchwork-bot+netdevbpf@kernel.org
Date: 2021-11-07 19:40:16
Also in: lkml

Hello:

This patch was applied to netdev/net.git (master)
by David S. Miller [off-list ref]:

On Fri,  5 Nov 2021 06:36:36 -0700 you wrote:
skb is already freed by dev_kfree_skb in pn533_fill_fragment_skbs,
but follow error handler branch when pn533_fill_fragment_skbs()
fails, skb is freed again, results in double free issue. Fix this
by not free skb in error path of pn533_fill_fragment_skbs.

Signed-off-by: Chengfeng Ye <redacted>

[...]
Here is the summary with links:
  - [v2] nfc: pn533: Fix double free when pn533_fill_fragment_skbs() fails
    https://git.kernel.org/netdev/net/c/9fec40f85065

You are awesome, thank you!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help