[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id:
<175634100974.886655.11990946128940456601.git-patchwork-notify@kernel.org>
Date: Thu, 28 Aug 2025 00:30:09 +0000
From: patchwork-bot+netdevbpf@...nel.org
To: Eric Dumazet <edumazet@...gle.com>
Cc: davem@...emloft.net, kuba@...nel.org, pabeni@...hat.com, horms@...nel.org,
netdev@...r.kernel.org, eric.dumazet@...il.com,
syzbot+e69f06a0f30116c68056@...kaller.appspotmail.com,
marcelo.leitner@...il.com, lucien.xin@...il.com
Subject: Re: [PATCH net] sctp: initialize more fields in sctp_v6_from_sk()
Hello:
This patch was applied to netdev/net.git (main)
by Jakub Kicinski <kuba@...nel.org>:
On Tue, 26 Aug 2025 14:13:14 +0000 you wrote:
> 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/0x8c0 net/sctp/ipv6.c:649
> __sctp_v6_cmp_addr+0x887/0x8c0 net/sctp/ipv6.c:649
> sctp_inet6_cmp_addr+0x4f2/0x510 net/sctp/ipv6.c:983
> sctp_bind_addr_conflict+0x22a/0x3b0 net/sctp/bind_addr.c:390
> sctp_get_port_local+0x21eb/0x2440 net/sctp/socket.c:8452
> sctp_get_port net/sctp/socket.c:8523 [inline]
> sctp_listen_start net/sctp/socket.c:8567 [inline]
> sctp_inet_listen+0x710/0xfd0 net/sctp/socket.c:8636
> __sys_listen_socket net/socket.c:1912 [inline]
> __sys_listen net/socket.c:1927 [inline]
> __do_sys_listen net/socket.c:1932 [inline]
> __se_sys_listen net/socket.c:1930 [inline]
> __x64_sys_listen+0x343/0x4c0 net/socket.c:1930
> x64_sys_call+0x271d/0x3e20 arch/x86/include/generated/asm/syscalls_64.h:51
> do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
> do_syscall_64+0xd9/0x210 arch/x86/entry/syscall_64.c:94
> entry_SYSCALL_64_after_hwframe+0x77/0x7f
>
> [...]
Here is the summary with links:
- [net] sctp: initialize more fields in sctp_v6_from_sk()
https://git.kernel.org/netdev/net/c/2e8750469242
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
Powered by blists - more mailing lists