Hello: This patch was applied to netdev/net-next.git (main) by Jakub Kicinski <kuba@xxxxxxxxxx>: On Fri, 7 Mar 2025 12:28:48 +0300 you wrote: > This code is trying to ensure that the last byte of the buffer is a NUL > terminator. However, the problem is that attr->value[] is an array of > __le32, not char, so it zeroes out 4 bytes way beyond the end of the > buffer. Cast the buffer to char to address this. > > Fixes: e5cf5107c9e4 ("eth: fbnic: Update fbnic_tlv_attr_get_string() to work like nla_strscpy()") > Signed-off-by: Dan Carpenter <dan.carpenter@xxxxxxxxxx> > > [...] Here is the summary with links: - [net-next] eth: fbnic: fix memory corruption in fbnic_tlv_attr_get_string() https://git.kernel.org/netdev/net-next/c/991a1b09920b You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html