[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <163335180725.12531.17420254186189357840.git-patchwork-notify@kernel.org>
Date: Mon, 04 Oct 2021 12:50:07 +0000
From: patchwork-bot+netdevbpf@...nel.org
To: MichelleJin <shjy180909@...il.com>
Cc: davem@...emloft.net, dsahern@...nel.org, kuba@...nel.org,
netdev@...r.kernel.org
Subject: Re: [PATCH net-next] net: ipv6: fix use after free of struct
seg6_pernet_data
Hello:
This patch was applied to netdev/net-next.git (refs/heads/master):
On Sat, 2 Oct 2021 22:33:32 +0000 you wrote:
> sdata->tun_src should be freed before sdata is freed
> because sdata->tun_src is allocated after sdata allocation.
> So, kfree(sdata) and kfree(rcu_dereference_raw(sdata->tun_src)) are
> changed code order.
>
> Fixes: f04ed7d277e8 ("net: ipv6: check return value of rhashtable_init")
>
> [...]
Here is the summary with links:
- [net-next] net: ipv6: fix use after free of struct seg6_pernet_data
https://git.kernel.org/netdev/net-next/c/23b08260481c
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