Thread (4 messages) 4 messages, 3 authors, 13d ago

Re: [PATCH net v2] sctp: fix SCTP_RESET_STREAMS stream list length limit

From: patchwork-bot+netdevbpf@kernel.org
Date: 2026-06-27 22:50:44
Also in: linux-sctp, lkml

Hello:

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

On Thu, 25 Jun 2026 16:23:54 +0200 you wrote:
SCTP_RESET_STREAMS carries a flexible array of u16 stream IDs, but the
optlen clamps treat USHRT_MAX as a byte count and then multiply
sizeof(__u16) by the fixed header size.

That caps the copied and validated option buffer at about 64 KiB, which
rejects valid requests containing more than about half of the u16 stream
ID range.

[...]
Here is the summary with links:
  - [net,v2] sctp: fix SCTP_RESET_STREAMS stream list length limit
    https://git.kernel.org/netdev/net/c/2b9f5ef53418

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