From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796273414; b=XEQfJULTU6Wi9DZPeUIuDylEfcZNLnL74XFpFDJv+GR72CfeAff7ejINxKJiDdFwXW+f 5GTvdR3b5p40au8onpXZvW150gqsmuJws2N22gJYty/0VQ+WipDV4sQZHS67uLMk//Yu3 Vuu8E5M1AnrNAXTIdw+B+thQcX9XzIz2Orm+8DjlnqBfbafrvTUUptA2jKLt3eAEAojuW /chhkOG4feg75cFjAqILp7wkaL9pnagqwHJeXI+sIc09nRbAo0nySPNSTrZucQvyeRQbz X4zA9hHi+XAeoWoDj769bIKrir8cpSRCBBMauXLE9Pyx1fzLtckMjYN8XS3m0gb+o/g== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796273414; h=Received:DKIM-Signature:Received:Content-Type:MIME-Version: Content-Transfer-Encoding:Subject:From:Message-Id:Date:References: In-Reply-To:To:Cc; bh=lNsDyz4PHjLwPr9YAeHQxpw9u+YcB0d0LuPAsvUbXrY=; b=Fe8RryVDyIY8iIs3FR+0oJrViSmDBzB7zo1ZGBKc6IvvcR+ROYK1skqX4+bLr+vnAsgG lWR86Z5X9CAkibagyrr0d/fIK15IqgFzvRi5xswLGKfio+UhgJfau5A8Tqx56Lj66RNUx pVM21AZQ+EQ+Vm7TagBd+KxKETvAwth/caIwlUwpYBZ4eabEAxy10zC7Lz+Y6DVxvM2U5 ky2XhSX7lmpA+C5rOoFodoGjpvrS8/fKsE6Q8sbzxWmtce34tsND5tL76+uH8oKc/DPqq sBbuBhJiNNl0/+017wIR8TjxNVKyKtN6FRchq7yIbe8OPFBKPU7IiL2cPhfiXYddaVQ== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=HJMEe0eh; arc=none smtp.remote-ip=100.103.45.18 Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 5E465606A333; Thu, 3 Dec 2026 04:50:14 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=HJMEe0eh Received: by smtp.kernel.org (Postfix) with ESMTPSA id 00DA01F0089A; Thu, 3 Dec 2026 04:50:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1796273414; bh=lNsDyz4PHjLwPr9YAeHQxpw9u+YcB0d0LuPAsvUbXrY=; h=Subject:From:Date:References:In-Reply-To:To:Cc; b=HJMEe0ehIgpeTOukiyn8o1HQJ8D5llpSPA5dFLknz6NOKPSYvjCzaAlJzm33SCDlb Fv2/ofHsBLKfjlNTcKl70sU1zRG8eBYL9ayQDv+lc5z6QWROOlPPfgg3wwbdG1AeOO RXoKqXhk8IETUhVutEAz/bnvTCG0XhOOKyw+69H+fzt0EFJFeZIjATVbPHUBc0iREq gLySoWKp4440FBmlmoqvW5cTy4VSoS9nIPKw4EbEkabS8XPVnHFgG9TUMexfWoiACL bHGG3D2ZsirxaIGVq8HI/07GHzpdvWZii1l+u4xzzAUQ+UUSg69TqIMt5D6sb/RiPw RYXjanUbD/G3w== Received: from [10.30.226.235] (localhost [IPv6:::1]) by aws-us-west-2-korg-oddjob-rhel9-1.codeaurora.org (Postfix) with ESMTP id EBAD23808236; Thu, 3 Dec 2026 04:50:13 +0000 (UTC) Content-Type: text/plain; charset="utf-8" X-Mailing-List: netdev@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: Re: [PATCH net v2] inet: reject unhashed sockets during timewait purge From: patchwork-bot+netdevbpf@kernel.org Message-Id: <179627341249.2363143.8451626079647010267.git-patchwork-notify@kernel.org> Date: Thu, 03 Dec 2026 04:50:12 +0000 References: In-Reply-To: To: Wentao Guan Cc: edumazet@kernel.org, ncardwell@google.com, kuniyu@google.com, imv4bel@gmail.com, martin.lau@linux.dev, jiayuan.chen@linux.dev, netdev@vger.kernel.org, stable@vger.kernel.org Hello: This patch was applied to netdev/net.git (main) by Willem de Bruijn : On Wed, 25 Nov 2026 10:31:24 +0800 you wrote: > A shared ehash can retain a stale pointer that is recycled as an > unhashed SYN-cookie request from another dead namespace. The namespace > recheck alone accepts that request, and > inet_csk_reqsk_queue_drop_and_put() can then operate on an uninitialized > timer. > > This is the inet_twsk_purge() counterpart of the validation added for > established lookups. Recheck the nulls node after taking the reference. > If it is unhashed, drop the reference and restart the purge instead of > operating on the recycled request. > > [...] Here is the summary with links: - [net,v2] inet: reject unhashed sockets during timewait purge https://git.kernel.org/netdev/net/c/780a1d2de86a You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html