In the Linux kernel, the following vulnerability has been resolved:
sctp: initialize more fields in sctp_v6_from_sk()
syzbot found that sin6_scope_id was not properly initialized,
leading to undefined behavior.
Clear sin6_scope_id and sin6_flowinfo.
BUG: KMSAN: uninit-value in __sctp_v6_cmp_addr+0x887/0x8c0net/sctp/ipv6.c:649__sctp_v6_cmp_addr+0x887/0x8c0net/sctp/ipv6.c:649sctp_inet6_cmp_addr+0x4f2/0x510net/sctp/ipv6.c:983sctp_bind_addr_conflict+0x22a/0x3b0net/sctp/bind_addr.c:390sctp_get_port_local+0x21eb/0x2440net/sctp/socket.c:8452sctp_get_portnet/sctp/socket.c:8523[inline]sctp_listen_startnet/sctp/socket.c:8567[inline]sctp_inet_listen+0x710/0xfd0net/sctp/socket.c:8636__sys_listen_socketnet/socket.c:1912[inline]__sys_listennet/socket.c:1927[inline]__do_sys_listennet/socket.c:1932[inline]__se_sys_listennet/socket.c:1930[inline]__x64_sys_listen+0x343/0x4c0net/socket.c:1930x64_sys_call+0x271d/0x3e20arch/x86/include/generated/asm/syscalls_64.h:51do_syscall_x64arch/x86/entry/syscall_64.c:63[inline]do_syscall_64+0xd9/0x210arch/x86/entry/syscall_64.c:94entry_SYSCALL_64_after_hwframe+0x77/0x7f