Hello: This patch was applied to netdev/net-next.git (main) by Paolo Abeni <pabe…@redhat.com>: On Wed, 25 Nov 2026 10:49:11 -0500 you wrote:
> As gomaja noticed, sctp_diag_dump_one() builds IPv6 lookup addresses on > the stack but never initializes sin6_scope_id or sin6_flowinfo. For > link-local addresses, __sctp_v6_cmp_addr() compares scope_ids when both > are non-zero, so stack garbage in these fields can cause sporadic lookup > failures. > > Zero-initialize both laddr and paddr to ensure sin6_scope_id is 0, which > acts as a wildcard in __sctp_v6_cmp_addr(), matching any scope, just as > TCP and UDP handle idiag_if purely as a device filter (dif) parameter > without conflating it with IPv6 scope_id. > > [...]
Here is the summary with links: - [net,v2] sctp: diag: fix stack garbage in IPv6 scope_id during dump_one lookup https://git.kernel.org/netdev/net-next/c/fe4597b13a53 You are awesome, thank you!