Article View: linux.kernel.netdev
Article #15435Re: [PATCH net 0/2] nsh: limit recursion in nsh_gso_segment()
From: patchwork-bot+netdevbpf
Date: Thu, 12 Nov 2026 19:40
Date: Thu, 12 Nov 2026 19:40
28 lines
8711 bytes
8711 bytes
Hello:
This series was applied to netdev/net.git (main)
by Jakub Kicinski <kuba@kernel.org>:
On Thu, 12 Nov 2026 11:19:59 +0100 you wrote:
> Sashiko found that nsh_gso_segment() can call itself, through
> skb_mac_gso_segment(), once per stacked NSH header. Nothing limits the
> depth, and a 64KB GSO packet made of 8-byte NSH headers overflows the
> kernel stack. It was reported while reviewing an unrelated virtio
> series [1].
>
> Such a packet can be sent with a packet socket using PACKET_VNET_HDR,
> when the nsh module is loaded.
>
> [...]
Here is the summary with links:
- [net,1/2] nsh: limit recursion in nsh_gso_segment()
https://git.kernel.org/netdev/net/c/3921fb102d78
- [net,2/2] selftests: net: add a test for NSH GSO
https://git.kernel.org/netdev/net/c/53e7352d65f7
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
Technical Details
Message-ID:
<179451240578.614223.5418531856983381502.git-patchwork-notify@kernel.org>Path:
mbox-mo1.pugleaf.net!news-lax.pugleaf.net!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-362166-linux-kernel-netdev=dewy.ruReferences:
<20261112102001.3744643-1-edumazet@kernel.org>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-362166-linux-kernel-netdev=dewy.ru From: patchwork-bot+netdevbpf@kernel.org Newsgroups: linux.kernel.netdev Subject: Re: [PATCH net 0/2] nsh: limit recursion in nsh_gso_segment() Date: Thu, 12 Nov 2026 19:40:05 +0000 Organization: Usenet Network Message-ID: <179451240578.614223.5418531856983381502.git-patchwork-notify@kernel.org> References: <20261112102001.3744643-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="1203782"; mail-complaints-to="abuse@usenet.network" Cancel-Lock: sha1:P0aFUBdt8bXmA/7rBrpdKJWoz3w= sha256:Cu4qeq2cLlr+GCOcWhBxfR9oOkpW7YKgxcSlQNnXQ54= sha1:eGb5mkgpibfc/5kvuskm8aOGf9A= sha256:V+dDkL3kGOWUtAOoZnhzYNlCY3RzhI0sWyWXIW2dskE= 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 352641143C9; Fri, 13 Nov 2026 02:24:07 +0300 (MSK) X-Virus-Scanned: Debian amavisd-new at usenet.network X-Spam-Flag: NO X-Spam-Score: -3.401 X-Spam-Status: No, score=-3.401 tagged_above=-9999 required=6.31 tests=[DCC_REPUT_70_89=0.1, 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 XAPDizIHSa_0; Fri, 13 Nov 2026 02:24:03 +0300 (MSK) X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=104.64.211.4; helo=sin.lore.kernel.org; envelope-from=netdev+bounces-362166-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 sin.lore.kernel.org (sin.lore.kernel.org [104.64.211.4]) by mail.dewy.ru (Postfix) with ESMTPS id 76F3411400C; Fri, 13 Nov 2026 02:23:53 +0300 (MSK) X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.77.114.92]) by sin.lore.kernel.org (Postfix) with ESMTP id ECBF11406E9; Thu, 12 Nov 2026 19:40:10 +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=1794512408; b=zRS/Th2IhA4GWSGY38kOfW5AuKyW3pQnsBnlSMSY/G0hnOb4vTyBW76Suq4J+CQqF888 03nM7v+2FyfazygvWfNP0MoYhL4+Y496Eh25D4SYf5aRfXI6oTCUmC8dQaVNDGKxB+ade 5GAV2x3rc71ECreAH3rlx/v+ziUjEVuD+j/zsPbKM6HoUp1E85rh6qeWyjb7UWUa6AQi6 4ekDoCPrw+jk0dzpmFKyWNhHh+0DhocElEl+0VLyK5dBHdKHflIu1GvGCMPzRtXiJKtGn Clj4Mb/BKYmjjRCDGEsQYyEOcH6zCnQkBmNpuoqqV5hJNTeGzfrqEDP/U0HP9tTQqbg== X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1794512408; 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=9NFb7p3i3GgUmJfOoqq2SxUCQIjj/b8d0iNid7bIPNM=; b=FNtwSmImV2OS5j7hXDoiCaZIY746VaM0wR1a1CzT7pSA46jB1QcO1g4+hCh8RAiDflxa mlONnwRFB/Bv5qyrw3HIVkzIDi8bL0USp5ujX1DzhbAOEVh0+6nBHR0dgiJf6oy/jSM3A 7BWrVgkywYfJFx1yjU5PLzXZxVR5rYIhZnVSJXUXZdcPdrgCbRwBk/FOAkgBHGxcOeCSd izVpua0KNvTCz+VCi+ujrdXrCfZTCVL6TZgJpXJJshBs8P5fDgacNT+hSn4c6JgGTsD5a Rv+tQJ6DjuKMYeDDt9ytLcg4VVLsspjdMbWIrHzPCCAtMwRpZK32wBylFdM243vUPhA== 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=cQj0uHNd; 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 4DC3A606A32E; Thu, 12 Nov 2026 19:40:08 +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=cQj0uHNd 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=1794512407; b=OxbQCnuqlPfXMDsDGCTrqwfO9YHIU/eEfvD+Vfnpy4YiMp254NlfXdJByUzBRZFVhU5x K0xS/zbFxxsUxt4nYnnAzmoM579wyha/U2CzX5ReiEBCbUZxIeSbF5Y7hhRTwTH8OzzEr xmMwlDddVxTk4/iWa/z1Z5MbOZLDkS6hqPlxM7XE2kCzYzZ6xF2pe2X2xAzsih8kjOL/F 1vBQE7xpLwq0u1ZjpGVyVoYR8dN6KfjLscSoeYbWkNNoBSBg4CdUPHKE5aRgfgFYUZwQW GcU4Tmzzylbeegue3fys9XCP5wueVneXiKmZfEK275h1SLvp2oAbZKQYVm9atAxIhhw== X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1794512407; h=Received:DKIM-Signature:Received:Content-Type:MIME-Version: Content-Transfer-Encoding:Subject:From:Message-Id:Date:References: In-Reply-To:To:Cc; bh=9NFb7p3i3GgUmJfOoqq2SxUCQIjj/b8d0iNid7bIPNM=; b=1KwvbW10Db8UvQpgIX8pYRl0NUS8cFAMpkpEglr1qKZDWIf3zzguu1m1j4IYul7005m8 38X6i+QKuaVYk0DWm9IQMMaXOuuhhFgiwuFXjlWWZVZOT8A9x6rhzRLr7F1f7ccOsrxSo tcYl/PYzNlKekp94PE++ea63ndvG7ElvRoGppxv5/K5KvzFeysyk8BnQIxdl6gigYq0oY jRy48jMeRDNxJTaH8wH4Jha/lj5HSDI5m+i7uM9sRf2yrhIMf0AiQe8UNruubLfqXf2S6 Yj1VZDp77OJ2P/glLjGueVNJ+CiMlsG3tdnJGSyc+1lLYmDhqbGtq3l5/aGy9K7rbtQ== 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=cQj0uHNd; 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 6AC28606A31C for <netdev@vger.kernel.org>; Thu, 12 Nov 2026 19:40:07 +0000 (UTC) X-Received: by smtp.kernel.org (Postfix) with ESMTPSA id 0770E1F000C4; Thu, 12 Nov 2026 19:40:07 +0000 (UTC) X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1794512407; bh=9NFb7p3i3GgUmJfOoqq2SxUCQIjj/b8d0iNid7bIPNM=; h=Subject:From:Date:References:In-Reply-To:To:Cc; b=cQj0uHNdIZtnJ6dxxpbHwg9R8aoeDCKcnDHTxFKGDJs4oqbkkQkNEMDJKlEQNl/cx 6uyqOD5JWXOTygYc6rf6/rg1p3keHfNjqU7UYSWyFLJnaF0cpjrM2EMZwY9QhB+Xa9 KeUEgDNVmEKUb5HwMHKem6ZiB+8GZuOggPcWxu/nw4rrXc0s1l3wcb3ysM+3v30yVu 3bLPzz16iywoqwiUfpYJVjGp6ZvhDVQoyam5go4y4/w8TdQTUnXAmk5jUnJ0pHsdsz fspHcFCVIEcYUDHwdghyMqcmali7L8DXTQ0NAJ9cug4XHi81Z/8cDvYZbzQ+qV3+RI 6NGuFZH0xnMVQ== 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 F15463926259; Thu, 12 Nov 2026 19:40:06 +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: <20261112102001.3744643-1-edumazet@kernel.org> X-Cc: davem@davemloft.net, kuba@kernel.org, pabeni@redhat.com, willemb@google.com, horms@kernel.org, netdev@vger.kernel.org