🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.kernel.netdev
Article #10649

Re: [PATCH net v6] net/sched: clamp skb->queue_mapping before indexing the tx queue

#10649
From: patchwork-bot+netdevbpf
Date: Tue, 03 Nov 2026 21:40
28 lines
8946 bytes
Hello:

This patch was applied to netdev/net.git (main)
by Paolo Abeni <pabeni@redhat.com>:

On Thu, 29 Oct 2026 16:36:31 -0400 you wrote:
> This issue was caught by Sashiko (nipa). A producer-side path cap is
> already merged (ea4d4b5dddb5); this patch adds the matching consumer-side
> caps.
> 
> The issue:
> The tx queue is picked and capped in netdev_core_pick_tx() before the
> __dev_xmit_skb() qdisc enqueue path. A tc BPF program running inside an
> egress qdisc (not clsact) can then change __sk_buff->queue_mapping; that
> store is never re-checked. bpf_convert_ctx_access() bounds it only by
> NO_QUEUE_MAPPING, not by the device's queue count.
> 
> [...]

Here is the summary with links:
  - [net,v6] net/sched: clamp skb->queue_mapping before indexing the tx queue
    https://git.kernel.org/netdev/net/c/f19f2b308beb

You are awesome, thank you!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
Technical Details
Message-ID: <179374200480.1894115.5049965810872091350.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-355991-linux-kernel-netdev=dewy.ru
References: <QDISC-MD1X.v6.r0.20261029162633-1@mojatatu.com>

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-355991-linux-kernel-netdev=dewy.ru
From: patchwork-bot+netdevbpf@kernel.org
Newsgroups: linux.kernel.netdev
Subject: Re: [PATCH net v6] net/sched: clamp skb->queue_mapping before
 indexing
 the tx queue
Date: Tue, 03 Nov 2026 21:40:04 +0000
Organization: Usenet Network
Message-ID: <179374200480.1894115.5049965810872091350.git-patchwork-notify@kernel.org>
References: <QDISC-MD1X.v6.r0.20261029162633-1@mojatatu.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 8bit
Injection-Info: usenet.network;
	logging-data="3267750"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:dZuzeKWyvSwFVTaNe+MnlM+3TSs= sha256:0ODL7Srlq6Zq/EWZcL/DUxONBKqtkaECqBWt5fv2wtY=
	sha1:PeEAiHaqyD6cHPckpXHFEUYWXgI= sha256:jamseec9Lw16Rg/4zm0kxVdRlDU1AdYz2l6J2BOz+rA=
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 E0E4F112A27; Wed,  4 Nov 2026 00:41:53 +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 eCtb5aOUmfCm;
	Wed,  4 Nov 2026 00:41:51 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=104.64.211.4; helo=sin.lore.kernel.org; envelope-from=netdev+bounces-355991-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 AD2FD112A24; Wed,  4 Nov 2026 00:41:40 +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 70AF926D55; Tue,  3 Nov 2026 21:41:15 +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=1793742028;
	b=ohIGQgk+6tAPWfAyeq2gLlkCQ4XaDSte5sGfNXCqLaeQ/e8R3HEaGahLnEcyemO5/YyU
	 qDmoXY1ksBFlBu9MJcqO0N+ZxPVlRHilrQ7Z2BD0KbfrRBrOfWSiSK0A+K35ic0Hp5y94
	 NOMkjMuFlTYDIlw2Ls+AiDq4aPczBfZYMVDVQWMM4essUcGDKJT6BtrivTJZO2wx2Jehf
	 1SBhXsuUvRizcEui5OauAmJLsdudCJgfZiyK/BlmmUGmtsmKGG/6DvX3JlJ70CAj2gA/+
	 E+9jwRSrlhnGQZlxJF49Dxj+2V6OTJdM6Gg9iXAcp1Tl2bmfxBOw/UXdQJ3fX4v2KoA==
X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1793742028;
	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=SM699TxzXYhrN8+H01lC8wYwldlVkdKMwpFwy0ByGq0=;
	b=xI+iycCByDenFNy+hCTnGQJqFkTMrDQQB9yRQHiKV16bB8ace2viW/rLEErBtYjaMBP5
	 drrwVnkgnHSGQ7gOzG56Xzao4o+PXVukjdZ2bc1v1TH5bi1KczIZ4BT/i08c4UWHzhkpM
	 Ajlp4bTt7qxBrlgvalijRCT0SWTEkkfc5a5e8nIBTS9UG7yLklsDIAbLknO5oKfSVhJia
	 PCLuwWSaL4VIgyBtGK1Viv7vutP/6QFwt9UyaKAiWH1EJUcve+KLgeJ++GYeDk4/P14xP
	 0L3yxOpQqR7PRGeekkxMVauxdNTQghOxPD56uuMESUrgK+q+4oTRIYcowFc1s8nuIiw==
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=UE9Rui18;
	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 5A6CF606D828;
	Tue,  3 Nov 2026 21:40:28 +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=UE9Rui18
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=1793742007;
	b=FDTGDBlnnjnQTvwQL01bEBcCjK665UbZ+I1V+X+a82Ve8PVUwWVJiLo4EsL2+gh7LnQ8
	 eRrb+2s6kRsppIBBFXmfcKiLcfnApVFhlIIwMcVRV+6hJ2j6+l34m7nigexiEZvNLLF9d
	 AbBeQvluHMPvffNW16im+m/LOq94yO1yVx9iG3upk+CKegCudUSUvQO6ULnYQzNsVccHP
	 0sbj8aSWZK76mBRXC3UcrhqwUJVkM40AJjfS/S5cfGafIg7E8egWwD27PqN/xmhlsys+F
	 Ji9zn5UgO1xtLRPW215QQ5KBpqGa3k2gBe4+/LGSVB/5qmj2PkxWqqiu/xn9GANJJ5g==
X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1793742007;
	h=Received:DKIM-Signature:Received:Content-Type:MIME-Version:
	 Content-Transfer-Encoding:Subject:From:Message-Id:Date:References:
	 In-Reply-To:To:Cc;
	bh=SM699TxzXYhrN8+H01lC8wYwldlVkdKMwpFwy0ByGq0=;
	b=s0cYsJE8+yQkmKjuD9RWOVis2mvv4kfMGI6mPmkQJYE02DhVfmyr6W1FzVNkg5G6JJkc
	 MfhUwlFO0ESl3lFb526o/D0qE2MPWRsbMlVY/lTW0Sve/tcjgxE9VFN1xS3GG61/GIifq
	 U3hDNHrYzg1kEgkZEAD3trxPJfSufynhAljIBH52EIGexuJqKl/xjxbqHzr0cJL66AAnp
	 zhZM1hXpd71QA6791lNDR+jQHuKp6WITN0SF9vvLmSY7HtVImOCPdyQojMilKobaXPl88
	 OBlgo0UDjggFq78aYr/DBBTDMcYr2wyZgUhZ+liITe7z136Ve47g44q8GBirO3MUxFw==
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=UE9Rui18;
	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 8CE5B606A329;
	Tue,  3 Nov 2026 21:40:06 +0000 (UTC)
X-Received: by smtp.kernel.org (Postfix) with ESMTPSA id 0DDE71F00A02;
	Tue,  3 Nov 2026 21:40:06 +0000 (UTC)
X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org;
	s=k20260515; t=1793742006;
	bh=SM699TxzXYhrN8+H01lC8wYwldlVkdKMwpFwy0ByGq0=;
	h=Subject:From:Date:References:In-Reply-To:To:Cc;
	b=UE9Rui18aXObGzDuJhoCx6vrH5rlRlj9PjwGNkVht1rf5/L/NeuMrTYivx8PPO7m0
	 96sNLxoNJmQRpE8+9eMEi9nHu/zNA/0S0+J+wCD5CKpRJ9P1DcA/jRHxMgL7zBXeVG
	 6Xit0uz4/m8o76z0DPVdBvrBpItMBBOwz5MRV682M+r8d5738b68OOS7Dimqzt8Sid
	 Swp3iiI9AOS2noLc4otWWZgi2loyuwQqfAa+ao9xvb/LDEE6ArfdxZr/O3To8uPooP
	 iN1VWwTPvHpDZVrwpab2oycJhXTJ84j4ZADdoE7GTaSY+yZ5qoFNDSVGoktobK5aTb
	 4SM3qOHelMvEw==
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 0314B391B0A1;
	Tue,  3 Nov 2026 21: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: <QDISC-MD1X.v6.r0.20261029162633-1@mojatatu.com>
X-Cc: netdev@vger.kernel.org, victor@mojatatu.com, jiri@resnulli.us,
 davem@davemloft.net, edumazet@kernel.org, kuba@kernel.org, pabeni@redhat.com,
 vinicius.gomes@intel.com, horms@kernel.org, hawk@kernel.org,
 daniel@iogearbox.net, sashiko-bot@kernel.org, bpf@vger.kernel.org,
 stable@vger.kernel.org