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
| ||
|
Message-Id: <166001761447.6286.4599664715576942070.git-patchwork-notify@kernel.org> Date: Tue, 09 Aug 2022 04:00:14 +0000 From: patchwork-bot+netdevbpf@...nel.org To: Martin Schiller <ms@....tdt.de> Cc: davem@...emloft.net, edumazet@...gle.com, kuba@...nel.org, linux-x25@...r.kernel.org, netdev@...r.kernel.org, linux-kernel@...r.kernel.org Subject: Re: [PATCH net] net/x25: fix call timeouts in blocking connects Hello: This patch was applied to netdev/net.git (master) by Jakub Kicinski <kuba@...nel.org>: On Fri, 5 Aug 2022 08:18:10 +0200 you wrote: > When a userspace application starts a blocking connect(), a CALL REQUEST > is sent, the t21 timer is started and the connect is waiting in > x25_wait_for_connection_establishment(). If then for some reason the t21 > timer expires before any reaction on the assigned logical channel (e.g. > CALL ACCEPT, CLEAR REQUEST), there is sent a CLEAR REQUEST and timer > t23 is started waiting for a CLEAR confirmation. If we now receive a > CLEAR CONFIRMATION from the peer, x25_disconnect() is called in > x25_state2_machine() with reason "0", which means "normal" call > clearing. This is ok, but the parameter "reason" is used as sk->sk_err > in x25_disconnect() and sock_error(sk) is evaluated in > x25_wait_for_connection_establishment() to check if the call is still > pending. As "0" is not rated as an error, the connect will stuck here > forever. > > [...] Here is the summary with links: - [net] net/x25: fix call timeouts in blocking connects https://git.kernel.org/netdev/net/c/944e594cfa84 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