lkml.org 
[lkml]   [2021]   [Dec]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH] ip6_vti: initialize __ip6_tnl_parm struct in vti6_siocdevprivate
From
Date
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


\
 
 \ /
  Last update: 2021-12-27 13:31    [W:0.236 / U:0.660 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site