Thread (3 messages) 3 messages, 3 authors, 2026-08-30

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

From: patchwork-bot+netdevbpf@kernel.org
Date: 2026-08-30 21:41:34
Also in: linux-sctp, lkml

Hello:

This patch was applied to netdev/net.git (main)
by Jakub Kicinski [off-list ref]:

On Thu, 27 Aug 2026 17:32:53 -0400 you wrote:
From: Charles Vosburgh <redacted>

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

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help