Thread (2 messages) 2 messages, 2 authors, 2021-12-27

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

flat view

From: patchwork-bot+netdevbpf@kernel.org
Date: 2021-12-27 12:30:11
Also in: lkml

Hello:

This patch was applied to netdev/net.git (master)
by David S. Miller [off-list ref]:

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

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help