Hello: This patch was applied to netdev/net.git (main) by Willem de Bruijn <will…@google.com>: On Wed, 25 Nov 2026 11:05:11 +0900 you wrote:
> TIPC_NLA_MEDIA_NAME is an NLA_STRING, which may lack a NUL terminator, > but tipc_nl_media_get() and __tipc_nl_media_set() pass it to > tipc_media_find(), which compares it with strcmp(). A name without a > terminator at the end of the message makes strcmp() read past the > attribute: > > BUG: KMSAN: uninit-value in strcmp (lib/string.c:267) > strcmp (lib/string.c:267) > __tipc_nl_media_set (net/tipc/bearer.c:82 net/tipc/bearer.c:1381) > tipc_nl_media_set (net/tipc/bearer.c:1426) > genl_family_rcv_msg_doit (net/netlink/genetlink.c:1114) > genl_rcv_msg (net/netlink/genetlink.c:1209) > netlink_rcv_skb (net/netlink/af_netlink.c:2585) > Uninit was created at: > __alloc_skb (net/core/skbuff.c:716) > netlink_alloc_large_skb (net/netlink/af_netlink.c:1202) > netlink_sendmsg (net/netlink/af_netlink.c:1896) > > [...]
Here is the summary with links: - [net] tipc: require a NUL-terminated media name https://git.kernel.org/netdev/net/c/a459df8f58b7 You are awesome, thank you!