lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: 
 <172795143002.1810156.3681345459806079483.git-patchwork-notify@kernel.org>
Date: Thu, 03 Oct 2024 10:30:30 +0000
From: patchwork-bot+netdevbpf@...nel.org
To: Xin Long <lucien.xin@...il.com>
Cc: netdev@...r.kernel.org, linux-sctp@...r.kernel.org, davem@...emloft.net,
 kuba@...nel.org, edumazet@...gle.com, pabeni@...hat.com,
 marcelo.leitner@...il.com
Subject: Re: [PATCH net] sctp: set sk_state back to CLOSED if autobind fails in
 sctp_listen_start

Hello:

This patch was applied to netdev/net.git (main)
by Paolo Abeni <pabeni@...hat.com>:

On Mon, 30 Sep 2024 16:49:51 -0400 you wrote:
> In sctp_listen_start() invoked by sctp_inet_listen(), it should set the
> sk_state back to CLOSED if sctp_autobind() fails due to whatever reason.
> 
> Otherwise, next time when calling sctp_inet_listen(), if sctp_sk(sk)->reuse
> is already set via setsockopt(SCTP_REUSE_PORT), sctp_sk(sk)->bind_hash will
> be dereferenced as sk_state is LISTENING, which causes a crash as bind_hash
> is NULL.
> 
> [...]

Here is the summary with links:
  - [net] sctp: set sk_state back to CLOSED if autobind fails in sctp_listen_start
    https://git.kernel.org/netdev/net/c/8beee4d8dee7

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



Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ