Thread (3 messages) 3 messages, 3 authors, 28d ago

Re: [PATCH net] sctp: fix err_chunk memory leaks in INIT handling

From: patchwork-bot+netdevbpf@kernel.org
Date: 2026-06-24 02:20:58
Also in: linux-sctp

Hello:

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

On Sat, 20 Jun 2026 11:48:54 -0400 you wrote:
When sctp_verify_init() encounters unrecognized parameters, it allocates an
err_chunk to report them. However, this chunk is leaked in several code
paths:

1. In sctp_sf_do_5_1B_init(), if security_sctp_assoc_request() fails after
   sctp_verify_init() has populated err_chunk, the function returns
   immediately without freeing it.

[...]
Here is the summary with links:
  - [net] sctp: fix err_chunk memory leaks in INIT handling
    https://git.kernel.org/netdev/net/c/9f58a0a4d6c2

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