Article View: linux.kernel.netdev
Article #9934Re: [PATCH v2 net] inet: frags: limit the truesize of a reassembly queue
From: patchwork-bot+netdevbpf
Date: Mon, 02 Nov 2026 21:10
Date: Mon, 02 Nov 2026 21:10
25 lines
8690 bytes
8690 bytes
Hello:
This patch was applied to netdev/net.git (main)
by Paolo Abeni <pabeni@redhat.com>:
On Fri, 30 Oct 2026 09:12:25 +0100 you wrote:
> The truesize of fragments in a reassembly queue is only bounded by
> the per netns ipfrag_high_thresh sysctl, which has no upper limit.
>
> inet_frag_reasm_finish() sums the truesize of all fragments in an int.
> If this sum reaches 2^32, it wraps, and the final sk_wmem_alloc
> adjustment of the socket owning the reassembled skb can cancel its own
> reference, leading to a use-after-free of this socket.
>
> [...]
Here is the summary with links:
- [v2,net] inet: frags: limit the truesize of a reassembly queue
https://git.kernel.org/netdev/net/c/3ae20e4697eb
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
Technical Details
Message-ID:
<179365381605.657459.4602528540338135387.git-patchwork-notify@kernel.org>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-355045-linux-kernel-netdev=dewy.ruReferences:
<20261030081225.2575462-1-edumazet@kernel.org>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-355045-linux-kernel-netdev=dewy.ru From: patchwork-bot+netdevbpf@kernel.org Newsgroups: linux.kernel.netdev Subject: Re: [PATCH v2 net] inet: frags: limit the truesize of a reassembly queue Date: Mon, 02 Nov 2026 21:10:16 +0000 Organization: Usenet Network Message-ID: <179365381605.657459.4602528540338135387.git-patchwork-notify@kernel.org> References: <20261030081225.2575462-1-edumazet@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Injection-Info: usenet.network; logging-data="3031691"; mail-complaints-to="abuse@usenet.network" Cancel-Lock: sha1:pEQRbhqx0ij9Xqxt9y35+/u1bfQ= sha256:ONENiRJW+lTkdA3tiCbQUOzoVQaAm3SaMUsb8lcvVvE= sha1:MCIeENrHBa/GtiWciGLaVDlKdR8= sha256:WKtyPlBrGLklC0yjaI9ZuGXs7G/Y2WpJ5/08n6w17qU= 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 AF4BC11267C; Tue, 3 Nov 2026 00:10:38 +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 PHhCl-vPTICd; Tue, 3 Nov 2026 00:10:35 +0300 (MSK) X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.232.135.74; helo=sto.lore.kernel.org; envelope-from=netdev+bounces-355045-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 sto.lore.kernel.org (sto.lore.kernel.org [172.232.135.74]) by mail.dewy.ru (Postfix) with ESMTPS id CEB71112036; Tue, 3 Nov 2026 00:10:27 +0300 (MSK) X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.77.114.92]) by sto.lore.kernel.org (Postfix) with ESMTP id 1385360131F; Mon, 2 Nov 2026 21:10:21 +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=1793653818; b=kvAm0yh3YGlLM6x82fAveCxz/5df1y0QU86o7VeRi5zClADMn00Ul5Ml3yGVkLrbGjaC BgNvN25ZpKS/dRIiU5xaAubTcIkPmBdee5+YAQKBj+AVgocU1Of9gXZuryoB7Eo61ykI5 1Q72DTa6EatMEnXvwqS3arK2YuQuXOLrNHWic1S7Z1xiIArzNtpAcP0HzaOTV7csKyKJd ii7nbprrDNyrCn9ULuD8s83F54NiZPq0xUXkjmEOw8aM10E5UMJTRmEX1FRdWVqXpLaWo axyOqe/me4Coj0XEG5RftOvB2C/VvKKtM4G63yfK3BIh8AP1UtYj42ZurACnewxEg6w== X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1793653818; 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=YoD2nxL6T5DqfJJE0YMVYxFb5TKJdSpwilsqIJT9cY4=; b=zYcTWbDFbAloB7zmgdvFFkvRpmirkNrc6CzVYw985ks2lDAQ5dQYUNRH/baxYFozgnHx /NhbbzqNf4lf9k6khWeLBb13nlSfBqSpdBhX1rf/rVWUVZ4D4vHF9FcWxn5vVmfc4dK5+ DScrB6xcfLlO5rgKfxIcGEKgwqQsOn5euUAAvkMhUSSZc4udhqqHVxXWNjKP7r7+y+Xew 2c4S3BAPIax1jSq/eJ8koA4ZI94tXH05Qtzg3f/jlGre83kq3TuYLTn+tfdOjrnGxh6RX +Al4k2TSTgAiMma+FhMy4Viss59yZnu5Q+2ktWUfYuA6A90BsG0P0haMfuMLwXwVKbQ== 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=XnlpjEz7; 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 D385D606A33C; Mon, 2 Nov 2026 21:10:18 +0000 (UTC) X-Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key, unprotected) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=XnlpjEz7 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=1793653818; b=ZcrIkA5x/JSXhC0IPl7Z4TTlUEuFqhZlCQeszz9VKW12DzoO/VThUwUJJwy0lyAxRiDM S7GMatLFa2lluaQxkMKApqi8z+lFlUipmDITSaq08xLvLMnVJYZe8qubTOQhxoImYy1ox bPcINA2vxJoRRt36PXb54/cFQTrKdRsryOGxwk0VUdXC2EhUoSIoKHuKMueLwmzBbi5IO fiZKJ6UVw+0Cr93C3HK7FafKoHg3Pedtl5v++uVNzGP0NA7oh38QUduYlKByozGkBj2HO Zo2UMIlP/je2Hq/RwEenQSJbbv04IOJ8S4EcLQ8blk6DPgurFs6scWkjSPfSXLAkqAg== X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1793653818; h=Received:DKIM-Signature:Received:Content-Type:MIME-Version: Content-Transfer-Encoding:Subject:From:Message-Id:Date:References: In-Reply-To:To:Cc; bh=YoD2nxL6T5DqfJJE0YMVYxFb5TKJdSpwilsqIJT9cY4=; b=to1zf6hbIeFOfVdtyqm41WiPUbN0hWYGMbvtPzku0O68fQsYZQp31/rslvvF56RqyDLp qwEzLsHB0aFkbHtQrPgF+34gxqFoNksSNdllgq33mys38XGQfLQp37kfAHeP8lCGn3axq 5yj8iM6Vp9R4yIaaEZCDfuZFOOGFh49ACR7He3KjAGqGbRvlqrKJjwMJHf4cSzN6sOgM8 gKXQmgDl8O9TC16IAn6XZw+VAgd4IgYF2dWe62s7f1842JjNMR1diw/3bCqiFSRPegAuB 55Qqr7myS86FdePesvpbZ2IKbtfVdptz+dyDbwSvME4an1qBeXUv++EFtOYD+7jQhCw== 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=XnlpjEz7; 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 B21F9606A326; Mon, 2 Nov 2026 21:10:17 +0000 (UTC) X-Received: by smtp.kernel.org (Postfix) with ESMTPSA id 4A0CD1F00A1D; Mon, 2 Nov 2026 21:10:17 +0000 (UTC) X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1793653817; bh=YoD2nxL6T5DqfJJE0YMVYxFb5TKJdSpwilsqIJT9cY4=; h=Subject:From:Date:References:In-Reply-To:To:Cc; b=XnlpjEz76PxkfqkqfxB7OxeBoqzPZENY4gd93L/4o+XOlmHpDmw7dRTGbbfgEm8tO u9oRLNSX9zX9j2svdMJDHHDIjSEJsP6hrw6uCIRPVw7KbbEUWaFMI0lcFjCPrXX9mc RTcoA1KK6It74E0s8Sjg2Ct6xj4dIz5EXJuYEq6ArKMpSd5YgZJJbHxDb30n3O4+P1 DO6FqCpvGRCvrP6Zt4TKFW6/L4AmxFGgQpdB+BCa5I/ekbRkDsnVDmtu+Te/9QOCrl wD7UKcQ5hC2wpoknxaUccHqzVVp31o+rw/RCt6wEVmUVUwc1wcH//jPbY/LHQ44bLx icEISaDkJ1XLQ== 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 402F2380821F; Mon, 2 Nov 2026 21:10:17 +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: <20261030081225.2575462-1-edumazet@kernel.org> X-Cc: davem@davemloft.net, kuba@kernel.org, pabeni@redhat.com, horms@kernel.org, dsahern@kernel.org, idosch@nvidia.com, netdev@vger.kernel.org, stable@vger.kernel.org, kylebot@openai.com, fw@strlen.de