Re: [PATCH] ip6_vti: initialize __ip6_tnl_parm struct in vti6_siocdevprivate

From: patchwork-bot+netdevbpf
Date: Mon Dec 27 2021 - 07:30:14 EST


Hello:

This patch was applied to netdev/net.git (master)
by David S. Miller <davem@xxxxxxxxxxxxx>:

On Thu, 23 Dec 2021 12:33:16 -0500 you wrote:
> The "__ip6_tnl_parm" struct was left uninitialized causing an invalid
> load of random data when the "__ip6_tnl_parm" struct was used elsewhere.
> As an example, in the function "ip6_tnl_xmit_ctl()", it tries to access
> the "collect_md" member. With "__ip6_tnl_parm" being uninitialized and
> containing random data, the UBSAN detected that "collect_md" held a
> non-boolean value.
>
> [...]

Here is the summary with links:
- ip6_vti: initialize __ip6_tnl_parm struct in vti6_siocdevprivate
https://git.kernel.org/netdev/net/c/c1833c3964d5

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