Article View: linux.kernel.netdev
Article #26158Re: [PATCH net v2] inet: reject unhashed sockets during timewait purge
From: patchwork-bot+netdevbpf
Date: Thu, 03 Dec 2026 04:50
Date: Thu, 03 Dec 2026 04:50
28 lines
8920 bytes
8920 bytes
Hello:
This patch was applied to netdev/net.git (main)
by Willem de Bruijn <willemb@google.com>:
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
Technical Details
Message-ID:
<179627341249.2363143.8451626079647010267.git-patchwork-notify@kernel.org>Path:
mbox-mo1.pugleaf.net!srl.newsdeef.eu.MISMATCH!feed-eu-txt.newsdeef.eu!feed-eu-ch.newsdeef.eu!srl.newsdeef.eu!news.mb-net.net!open-news-network.org!2.eu.feeder.erje.net!feeder.erje.net!feeder1.feed.ams11.usenet.farm!feed.usenet.farm!peer01.ams4!peer.am4.highwinds-media.com!news.highwinds-media.com!feeder.usenetexpress.com!tr3.eu1.usenetexpress.com!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-376301-linux-kernel-netdev=dewy.ruReferences:
<F92442AF3AAD7C83+20261125023123.4185642-2-guanwentao@uniontech.com>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!srl.newsdeef.eu.MISMATCH!feed-eu-txt.newsdeef.eu!feed-eu-ch.newsdeef.eu!srl.newsdeef.eu!news.mb-net.net!open-news-network.org!2.eu.feeder.erje.net!feeder.erje.net!feeder1.feed.ams11.usenet.farm!feed.usenet.farm!peer01.ams4!peer.am4.highwinds-media.com!news.highwinds-media.com!feeder.usenetexpress.com!tr3.eu1.usenetexpress.com!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-376301-linux-kernel-netdev=dewy.ru From: patchwork-bot+netdevbpf@kernel.org Newsgroups: linux.kernel.netdev Subject: Re: [PATCH net v2] inet: reject unhashed sockets during timewait purge Date: Thu, 03 Dec 2026 04:50:12 +0000 Organization: Usenet Network Message-ID: <179627341249.2363143.8451626079647010267.git-patchwork-notify@kernel.org> References: <F92442AF3AAD7C83+20261125023123.4185642-2-guanwentao@uniontech.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Injection-Info: usenet.network; logging-data="2145220"; mail-complaints-to="abuse@usenet.network" Cancel-Lock: sha1:jo8S5JA5dBOM/Hln7I7e6yzPd6o= sha256:PnCSZVnT0cvNGy14JsB0CPdTXCn2kxZs5SaX5SZltco= sha1:nIT0LgzgaMXi2hOOSLjp5yvmQ2Q= sha256:LoyRNiHdW3gL6wXPUQkfN/2DFACo+e9GK1pkqZxufE4= List-ID: <netdev.vger.kernel.org> X-Mailpost-Empty-Hdrs: X-Spam-Level X-Received: from localhost (localhost [127.0.0.1]) by mail.dewy.ru (Postfix) with ESMTP id 47346117827; Thu, 3 Dec 2026 07:50:47 +0300 (MSK) X-Virus-Scanned: Debian amavisd-new at usenet.network X-Spam-Flag: NO X-Spam-Score: -3.501 X-Spam-Status: No, score=-3.501 tagged_above=-9999 required=6.31 tests=[DKIMWL_WL_HIGH=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, MAILING_LIST_MULTI=-1, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no X-Authentication-Results: mail.dewy.ru (amavisd-new); dkim=pass (2048-bit key) header.d=kernel.org X-Received: from mail.dewy.ru ([127.0.0.1]) by localhost (mail.dewy.ru [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 3P7g-Ez7sJLt; Thu, 3 Dec 2026 07:50:44 +0300 (MSK) X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.105.105.114; helo=tor.lore.kernel.org; envelope-from=netdev+bounces-376301-linux-kernel-netdev=dewy.ru@vger.kernel.org; receiver=<UNKNOWN> X-Authentication-Results: OpenDMARC; dmarc=pass (p=quarantine dis=none) header.from=kernel.org X-Received: from tor.lore.kernel.org (tor.lore.kernel.org [172.105.105.114]) by mail.dewy.ru (Postfix) with ESMTPS id BCCC7117825; Thu, 3 Dec 2026 07:50:35 +0300 (MSK) X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.77.114.92]) by tor.lore.kernel.org (Postfix) with ESMTP id 6191F297A6; Thu, 3 Dec 2026 04:50:24 +0000 (UTC) X-Authentication-Results: smtp.subspace.kernel.org; arc=pass header.oldest-pass=0 smtp.remote-ip=127.0.0.1 X-ARC-Seal: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=pass; t=1796273415; b=ubQ4dMZbxY8RjupiF0HTCsK7X982kniX78To9FQQmG3+Fgf/ZT4zL0+U+w073yQjWAf+ tjLs4jbJJqx4kXGlFUt7NRPJnFiIQ6ZTBdgMSM/v2houotsmFRLPmyRgoLTU5CvC3fGmj CqefXxLSIXVUsABcUhohgyyKHMT2EVO4X3yqNeF8KFGceS2fbC2jqnvyKHP6mOsY7RZMs hLr8heWp4Bk+iiB02fBaR7YDJURc4j1JqRdvIGMFemumf/PrulZrsTwTEcVNZaP+nmqJv ha2bCMJ4hPO3C8A1Ynsc3YT3hJTGPckd8tQ0STwLDkGLmgt+jLkYumIuT3T7pOwg80w== X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796273415; h=X-Original-To:Received:Received:DKIM-Signature:Received:Content-Type: X-Mailing-List:List-Id:List-Post:List-Help:List-Subscribe: List-Unsubscribe:List-Owner:Precedence:MIME-Version: Content-Transfer-Encoding:Subject:From:Message-Id:Date:References: In-Reply-To:To:Cc; bh=lNsDyz4PHjLwPr9YAeHQxpw9u+YcB0d0LuPAsvUbXrY=; b=vHi0eQzJJW3DXPMpDM/bshfQO4C9BOhMmfi2JN2yrM4k+nhxYcHaaUIOV20wIojyvExx wnBTWOI5SfJhcRtrtgqUTdQJr7DAEpd5vVDpYyMsccnctTfRPXFEaGdYg+Ahi383GGMXG nThBnqBZDkF64AE7iV14+s62ghhAZRRe/4ke3BZfYeH+rLhf98j9ZvhPWZmaPT86cGsCh tipKX3epR1MuF1YYiCHpnQeNCD8L5ubEuR57gvu62LPtHwbQrgC9TzNow4jXekRBGLeYv Z5S8LI5hqUMUhQC3jozKxnsZIf5R4OZPITzn7AKgPrjvpO+z56rdrewsL9EM0Llk/ag== X-ARC-Authentication-Results: i=2; 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=pass header.oldest-pass=0 smtp.remote-ip=127.0.0.1 X-Received: from localhost.localdomain (localhost [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 3D67F606A339; Thu, 3 Dec 2026 04:50:15 +0000 (UTC) X-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 X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18 X-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== X-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== X-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 X-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) X-Received: by smtp.kernel.org (Postfix) with ESMTPSA id 00DA01F0089A; Thu, 3 Dec 2026 04:50:14 +0000 (UTC) X-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== X-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) X-Mailing-List: netdev@vger.kernel.org X-List-Post: <mailto:netdev@vger.kernel.org> X-List-Help: <mailto:netdev+help@vger.kernel.org> X-List-Subscribe: <mailto:netdev+subscribe@vger.kernel.org> X-List-Unsubscribe: <mailto:netdev+unsubscribe@vger.kernel.org> X-List-Owner: <mailto:netdev+owner@vger.kernel.org> X-Precedence: list X-In-Reply-To: <F92442AF3AAD7C83+20261125023123.4185642-2-guanwentao@uniontech.com> X-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 X-Received-Bytes: 8583