Re: [PATCH net] sctp: validate embedded INIT chunk and address list lengths in cookie
[email protected] Wed, 10 Jun 2026 01:40:06 +0000
| Newsgroups | org.kernel.vger.linux-sctp,org.kernel.vger.netdev |
|---|---|
| Message-ID | <178105560664.2786170.13328779773204365683.git-patchwork-notify@kernel.org> |
Hello: This patch was applied to netdev/net.git (main) by Jakub Kicinski <[email protected]>: On Sun, 7 Jun 2026 19:03:47 -0400 you wrote: > sctp_unpack_cookie() only checked that the embedded INIT chunk length > did not exceed the remaining cookie payload, but did not ensure that the > INIT chunk is large enough to contain a complete INIT header. > > A malformed COOKIE_ECHO can therefore carry a truncated INIT chunk whose > length field is smaller than sizeof(struct sctp_init_chunk). Later, > sctp_process_init() accesses INIT parameters unconditionally, which may > lead to out-of-bounds reads. > > [...] Here is the summary with links: - [net] sctp: validate embedded INIT chunk and address list lengths in cookie https://git.kernel.org/netdev/net/c/6f4c80a2a7e6 You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html