Re: [PATCH net v2] sctp: validate chunk length in the inqueue parser

From: patchwork-bot+netdevbpf

Date: Sun Aug 30 2026 - 17:42:02 EST


Hello:

This patch was applied to netdev/net.git (main)
by Jakub Kicinski <kuba@xxxxxxxxxx>:

On Thu, 27 Aug 2026 17:32:53 -0400 you wrote:
> From: Charles Vosburgh <theminershive@xxxxxxxxx>
>
> SCTP chunks always include a four-byte generic header, but
> sctp_inq_pop() currently accepts shorter declared lengths. A zero-length
> chunk leaves chunk_end at the current header.
>
> When ASCONF is covered by the association's SCTP-AUTH policy,
> sctp_assoc_bh_rcv() can continue before the state machine performs its
> normal chunk-length check. sctp_inq_pop() then returns the same malformed
> chunk repeatedly and the receive softirq can lock up.
>
> [...]

Here is the summary with links:
- [net,v2] sctp: validate chunk length in the inqueue parser
https://git.kernel.org/netdev/net/c/6cfc1b90cb86

You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html