Messages in this thread | | | Subject | Re: [PATCH v2] nfc: pn533: Fix double free when pn533_fill_fragment_skbs() fails | From | patchwork-bot+netdevbpf@kernel ... | Date | Sun, 07 Nov 2021 19:40:07 +0000 |
| |
Hello:
This patch was applied to netdev/net.git (master) by David S. Miller <davem@davemloft.net>:
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 <cyeaa@connect.ust.hk> > > [...]
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
| |