Re: [PATCH net] sctp: fix auth_hmacs array size in struct sctp_cookie
[email protected] Fri, 17 Jul 2026 10:40:05 +0000
| Newsgroups | org.kernel.vger.linux-sctp,org.kernel.vger.netdev |
|---|---|
| Message-ID | <178428480540.1657856.6779398853994856564.git-patchwork-notify@kernel.org> |
Hello: This patch was applied to netdev/net.git (main) by Paolo Abeni <[email protected]>: On Fri, 10 Jul 2026 14:12:35 -0400 you wrote: > The auth_hmacs array in struct sctp_cookie is supposed to store a complete > SCTP_AUTH_HMAC_ALGO parameter, which consists of a struct sctp_paramhdr > followed by N HMAC identifiers. > > However, the array size was calculated using an extra 2 bytes instead of > sizeof(struct sctp_paramhdr), which is 4 bytes. When four HMAC identifiers > are configured, the HMAC-ALGO parameter stored in the endpoint is larger > than the auth_hmacs buffer in the cookie. > > [...] Here is the summary with links: - [net] sctp: fix auth_hmacs array size in struct sctp_cookie https://git.kernel.org/netdev/net/c/e0b5252a5938 You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html