Messages in this thread | | | Subject | Re: [PATCH] ip6_vti: initialize __ip6_tnl_parm struct in vti6_siocdevprivate | From | patchwork-bot+netdevbpf@kernel ... | Date | Mon, 27 Dec 2021 12:30:08 +0000 |
| |
Hello:
This patch was applied to netdev/net.git (master) by David S. Miller <davem@davemloft.net>:
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
| |