Re: [PATCH net] vxlan: Fix uninit-value in vxlan_vnifilter_dump()

From: patchwork-bot+netdevbpf
Date: Mon Jan 27 2025 - 18:10:35 EST


Hello:

This patch was applied to netdev/net.git (main)
by Jakub Kicinski <kuba@xxxxxxxxxx>:

On Thu, 23 Jan 2025 23:57:46 +0900 you wrote:
> KMSAN reported an uninit-value access in vxlan_vnifilter_dump() [1].
>
> If the length of the netlink message payload is less than
> sizeof(struct tunnel_msg), vxlan_vnifilter_dump() accesses bytes
> beyond the message. This can lead to uninit-value access. Fix this by
> returning an error in such situations.
>
> [...]

Here is the summary with links:
- [net] vxlan: Fix uninit-value in vxlan_vnifilter_dump()
https://git.kernel.org/netdev/net/c/5066293b9b70

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