🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.kernel.netdev
Article #7671

Re: [PATCH net] net: harden qdisc_pkt_len_segs_init() against malicious GSO packets

#7671
From: patchwork-bot+netdevbpf
Date: Mon, 26 Oct 2026 23:30
27 lines
8811 bytes
Hello:

This patch was applied to netdev/net.git (main)
by Jakub Kicinski <kuba@kernel.org>:

On Thu, 22 Oct 2026 17:54:36 +0200 you wrote:
> An SKB_GSO_DODGY packet can carry untrusted gso_size and headers.
> 
> For instance, gso_size=1 and hdr_len=65532 for a 524275-byte frame
> makes qdisc_pkt_len_segs_init() compute an accounted length of
> about 4,294,574,091 bytes (after gso_segs silently wrapped in a u16).
> 
> With DRR quantum 256, the dequeue path then needs ~16.8 million
> deficit refills before it can dequeue the skb, keeping the CPU in
> the qdisc path long enough to trigger the soft-lockup watchdog.
> 
> [...]

Here is the summary with links:
  - [net] net: harden qdisc_pkt_len_segs_init() against malicious GSO packets
    https://git.kernel.org/netdev/net/c/c6648c9f3b51

You are awesome, thank you!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
Technical Details
Message-ID: <179305740928.3456332.2890882737226798290.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-352120-linux-kernel-netdev=dewy.ru
References: <20261022155436.117507-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-352120-linux-kernel-netdev=dewy.ru
From: patchwork-bot+netdevbpf@kernel.org
Newsgroups: linux.kernel.netdev
Subject: Re: [PATCH net] net: harden qdisc_pkt_len_segs_init() against
 malicious
 GSO packets
Date: Mon, 26 Oct 2026 23:30:09 +0000
Organization: Usenet Network
Message-ID: <179305740928.3456332.2890882737226798290.git-patchwork-notify@kernel.org>
References: <20261022155436.117507-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="1422222"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:OSiIL955HGueO+I31q6xbP10wdM= sha256:ibPNP38W6gHlogdRlyIxqM9sYlV8vFHmaq468teXrNk=
	sha1:oqwhdWcnlcz8HJLQkBWPUPysR9k= sha256:+kDgI8zmnOVcYNAsMGfQevLZn4k6cMdqVEn7dkt+Gyc=
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 5EE80125BD7; Tue, 27 Oct 2026 02:35:20 +0300 (MSK)
X-Virus-Scanned: Debian amavisd-new at usenet.network
X-Spam-Flag: NO
X-Spam-Score: -3.739
X-Spam-Status: No, score=-3.739 tagged_above=-9999 required=6.31
	tests=[DCC_REPUT_70_89=0.1, DKIMWL_WL_HIGH=-0.339, 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 ukXJhfZfqEwb;
	Tue, 27 Oct 2026 02:35:13 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.105.105.114; helo=tor.lore.kernel.org; envelope-from=netdev+bounces-352120-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 36528125BC4; Tue, 27 Oct 2026 02:35:05 +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 47E5B26942; Mon, 26 Oct 2026 23:30:20 +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=1793057412;
	b=5BiE1nOKm5xRPbhZMPqoh0tIsjl1BhF2DkQFjs76zhTf24LpUB/Yb5sCH3y9w3ffDC2I
	 RqPJ3yVtwKizx48xSUJDH620fa6ucZ9gWyCkDr8r0HxdgkFNglKoYVpIhyGyeZtWMeR1P
	 2if+WaZnyj4G55Ot4Ns3vNzy/TG8arVLEgLhxAoWnADliI2MdoVxI45Cfh0oNDwSh0i4n
	 ygg+HB0M2IdLB8RLeoipWIxm4VmzupkaA7GaW1xjAP/nFUhUN1MIWjUmt0g7nzBMS1t8M
	 mMDOpLF0LH0DmaqvanrV2Nx0a//i6J/3Z0DPX7ht7Z2ERALU3h6wkOpgV3HWn+Dc1GQ==
X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1793057412;
	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=ELd/ELzNJjz0bIw2EWEPjJxgCZOcs5IP0CKCkXYBlCc=;
	b=v9J1+icr3+WBRWl+rsX3jpaTSGFuNl99nQHnPTBL0lCtfa3B4xq78Cq/aLdjBKChhHzd
	 R8DbAWKsHoir0maK9pOZYwxii4N6//Edc2hnM97W6NL8m6+RiFbejz5ohgOs9j3tvtfkl
	 F/DLMNEJIka+SJ81AQesc7ihHlNTa/GEticJLuKyfEbOYlRBCoYXSihJS539FMaRuNmRV
	 NcP0gp5PBeLlUGk3etPd70TWKuxzHjbqbG2uBtiYWV/Wspv8lX39h767qObdfHBI5xRNB
	 otWjPJb2GTMzfiN45l+q8+dqbIO0E2yXcQVgBBpN490IaTXW02NJdqYO8Tn42Gn8ZZw==
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=fHnI3wrf;
	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 5EDFE606A33D;
	Mon, 26 Oct 2026 23:30:12 +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=fHnI3wrf
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=1793057411;
	b=yKwzp+eE3FSjsLmrGIyNM77uE369xkHPyl9NsRtCYCJkq0k9GvMnEVGZ93f1uXnZgvrD
	 nyC18G/8RxKa27dvQS83VkyQl0rx7DpSINODVGUqA6jvqT8kH95pg3Waje+6C23NpM9Ml
	 vNroMsKodTaHh45i1ueMKEfAgGnFUChUAvhkOIFn4zwH7L+m7efHU4pOk4uxKdHf6dAlk
	 YVKfWTaNy5bHbRfuA3mUugRKUX1exb9eZK/seCQQWKRyddaMBhzkf5dCMwPhcCJjltMww
	 Y2ZptZnhzwJuiIAGkMeCV8/xw5MdcdriYoBs7ZNR5gfCB36TfjzQftdazyaOn69quOg==
X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1793057411;
	h=Received:DKIM-Signature:Received:Content-Type:MIME-Version:
	 Content-Transfer-Encoding:Subject:From:Message-Id:Date:References:
	 In-Reply-To:To:Cc;
	bh=ELd/ELzNJjz0bIw2EWEPjJxgCZOcs5IP0CKCkXYBlCc=;
	b=Ectkz5mopcnXQyJmW1PkflAhyGHNXB+RP3wkkAdEf3tl62fdZCOkOfy0zoyMEQIV9CD7
	 m01wk+oQMCghje598pojx25zrNZIY9jsf92/qmkF2cU2QI7Z2B9GlRd1oYkoRpSLvB7ZE
	 wdcHUwUvirT/Er55JWKMfhxttJJDvgapzjG3DAWgVzk6UjOYJCY9T7b+eQqSz/gJhR/3c
	 DMvTr4J/buQSB1W88h9VZfHFwxIt+wJc3S1XpY2KkifRsNDBhPG5FlbXinxcEZvqa0ffO
	 ynJJB47s4LVTzLtXGbaHPl9YZfQ01xs/R2/Mpjky3rdO/kygQLk1NN8pNRhVJgYGXKQ==
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=fHnI3wrf;
	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 3A8E2606A324
	for <netdev@vger.kernel.org>; Mon, 26 Oct 2026 23:30:10 +0000 (UTC)
X-Received: by smtp.kernel.org (Postfix) with ESMTPSA id C6AAD1F031E5;
	Mon, 26 Oct 2026 23:30:10 +0000 (UTC)
X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org;
	s=k20260515; t=1793057410;
	bh=ELd/ELzNJjz0bIw2EWEPjJxgCZOcs5IP0CKCkXYBlCc=;
	h=Subject:From:Date:References:In-Reply-To:To:Cc;
	b=fHnI3wrfFBCOOs7pkQIUr7Ry7W7zwtMPpkWLXEygyCrix9Wc0SZ1P5yy4WzhqBref
	 kTGghX2ZJFVclZuKx1tlA9aYQNlQaw1lsJXuK8+X7msa7/U9n/LCizI1YYBQDvbscn
	 wYD4wh0EJEvbE5wvN5wLkUj+3ZIo52uitODCTDfuksBAgMAjVocfYL5BN5HfcL0rHC
	 WZx4Lara40/OVtiCV3JyvNWeuDlThZEdkOKMMpapoh3JbJxmyifeftlUJGXitQgi2i
	 t+AusSRPOQTv4/mPDGNjVXzfpu86Lsaj/NQUGm9wnki/GS/+Bw2290tdQXqxkxW7Ph
	 cVcahWm5fGDnw==
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 BE5A23AA80F0;
	Mon, 26 Oct 2026 23:30:10 +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: <20261022155436.117507-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,
 shawnq1@163.com, jhs@mojatatu.com, mst@redhat.com