🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.kernel.netdev
Article #6530

Re: [BUG] net/sched: TEQL qdisc can modify init-net teql0 from another netns

#6530
From: Willy Tarreau
Date: Thu, 22 Oct 2026 16:24
25 lines
8792 bytes
Hello,

On Thu, Oct 22, 2026 at 02:48:30PM +0000, shaos wrote:
> Hello,
> 
> A process running as UID/GID 65534 creates a user and network namespace, sets
> a namespace-local dummy device to MTU 60000, and installs a root qdisc of
> kind teql0. TEQL reuses its global master and changes the init network
> namespace teql0 device from MTU 1500 to 60000.
(...)

I know this was mentioned elsewhere, but since you're sending so many
reports at once:

   please oh please stop CCing the security list for messages that
   you're already sending to public lists. It serves no purposes
   and adds extra work for several of us (review, triage, response).

Ccing the security list for a public message won't get your message
handled faster and might even cause the opposite by showing that you
don't read docs and seem to post in a hurry.

Thanks,
Willy
Technical Details
Message-ID: <ato4yRBZ6iz-F77o@1wt.eu>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-350691-linux-kernel-netdev=dewy.ru
References: <20261022144830.67948-1-shawnq1@163.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-350691-linux-kernel-netdev=dewy.ru
From: w@1wt.eu (Willy Tarreau)
Newsgroups: linux.kernel.netdev
Subject: Re: [BUG] net/sched: TEQL qdisc can modify init-net teql0 from
 another netns
Date: Thu, 22 Oct 2026 18:24:41 +0200
Organization: Usenet Network
Message-ID: <ato4yRBZ6iz-F77o@1wt.eu>
References: <20261022144830.67948-1-shawnq1@163.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Injection-Info: usenet.network;
	logging-data="255630"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:XSZbSnTiM2fq604UxGhwR9Zlu7M= sha256:wXUzTVGh+WfQOKXnAnlc4E+buxL2gzgKuN4wwP7xn5c=
	sha1:DqKCAUalIkXen/rX9dwf6EOqDZY= sha256:+t2atSY2SVYbWp+ygczsWlSwV2R5+smAUGmzRRUharo=
Content-Disposition: inline
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 BB2561112F9; Thu, 22 Oct 2026 19:27:02 +0300 (MSK)
X-Virus-Scanned: Debian amavisd-new at usenet.network
X-Spam-Flag: NO
X-Spam-Score: -3.049
X-Spam-Status: No, score=-3.049 tagged_above=-9999 required=6.31
	tests=[DCC_REPUT_70_89=0.1, DKIM_SIGNED=0.1, DKIM_VALID=-0.1,
	DKIM_VALID_AU=-0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.25,
	MAILING_LIST_MULTI=-1, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001,
	SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
X-Authentication-Results: mail.dewy.ru (amavisd-new); dkim=pass (1024-bit key)
	header.d=1wt.eu
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 EnzNiWtJw4Js;
	Thu, 22 Oct 2026 19:26:59 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.105.105.114; helo=tor.lore.kernel.org; envelope-from=netdev+bounces-350691-linux-kernel-netdev=dewy.ru@vger.kernel.org; receiver=<UNKNOWN> 
X-Authentication-Results: OpenDMARC; dmarc=fail (p=none dis=none) header.from=1wt.eu
X-Received: from tor.lore.kernel.org (tor.lore.kernel.org [172.105.105.114])
	by mail.dewy.ru (Postfix) with ESMTPS id C7CF51112F5; Thu, 22 Oct 2026 19:26:50 +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 1156A2ACD0; Thu, 22 Oct 2026 16:24:49 +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=1792686286;
	b=Pa6Au8/ul4tp2WnfiSuoiCfcTFm9Z4F6tXLN/nCZ9+i7B6n/1Rh8zUgt++6MptCv4n+L
	 DpGpsQByOSbgAN6vLgLxDwiPZc48vg5VJHEcTXj4QuIrQcjzZjUTWCixuIIIvCy+BHGtQ
	 uPUb7EQbrtQVxjUd/qtIj5pwRnXYyN1VfnYoB9w0dkrY9AovvgbvQU77cIME8KoEUkQS5
	 MyaQ2nt/Byey+/3nihaHq86LsY6IsXXNverabg9aUCj4Qb2mpZaNmQTja172cHTtbEpw+
	 1ulwiXZPEuYkjIJ1R/1HxNf0QoYyhX+2mEem/8RFuR1DcJe50ICmDLbxUtt5LsCmXAA==
X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1792686286;
	h=X-Original-To:Received:DMARC-Filter:DKIM-Signature:Received:Date:
	 From:To:Cc:Subject:Message-ID:References:X-Mailing-List:List-Id:
	 List-Post:List-Help:List-Subscribe:List-Unsubscribe:List-Owner:
	 Precedence:MIME-Version:Content-Type:Content-Disposition:In-Reply-To;
	bh=e34/LbT2KiVBxSjoVzxoxlm+/Dhj+RXEgBl1nd9xMFk=;
	b=Z8TC9dx9LLr/9Qh2sJKTVftpfCQSwIf7NwDNFcr4MDE4bfYbr6f9qeOH2xf5UFYPunIo
	 7+kd8H+oMKbvu1VMa3QS3JEhDrlou9KiI4cP20Pq6GXj3eDYYmzRKRGacG+rHRij6VS9j
	 zoYU6UHZ8DiTx6S8CAmZ6Ymhu5hH9QNxX4w91DsCm4ReUEhBQe6jDd1p8B21hJliaibaE
	 9r/oK8+Ufd2CNb6iBzwQ/Jsv/8seqWshDd5ldN6q9jToWO5wQYRQ05XiVHH/P77ZHhexY
	 sj82T1QmcaDhAzey5ESRG6F9p+LEGRl3qLJpQF2xz3qMKnMwF8ZG4P1IpUT+xX6kYYA==
X-ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; 
	dkim=pass header.d=1wt.eu header.i=@1wt.eu header.a=rsa-sha256 header.s=mail header.b=qD2QFerf;
	dmarc=pass header.from=1wt.eu;
	spf=pass smtp.mailfrom=1wt.eu;
	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 29DE5606A324;
	Thu, 22 Oct 2026 16:24:46 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org;
	dkim=pass (1024-bit key, unprotected) header.d=1wt.eu header.i=@1wt.eu header.a=rsa-sha256 header.s=mail header.b=qD2QFerf
X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=51.159.59.229
X-ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none;
	t=1792686285;
	b=KpPrSXNMFoPDIvYb6QHuqiuPizphRuL9aXsyHzB7suDq6finkt8fO9zbcsBo6e7tY0MF
	 XYnxeJGLPhonMfQ0Hi8xvcp6bKvtLySS8lZPtt0TWvwE4AWHxOHJLqfDxs9yO/eiDT/Un
	 s0NS+faq0mar6Dl2M+j+3oPL902bZdIsk2Z0TjQb6uWniNeu45D/Yj3Mhay7iaX5qlzu+
	 H+dAZyM+MX8gVqRCXcXSopNzJ7SC7KyKcyQ8otJfxno7Pqj6NyHBktMmxZAhWg6WVAf9E
	 lS0qY5gQHlpF4lOkXzrYcCpJVtiHwidMKrtsHayHlnzyrof2lXrTOXeSv7g35HxQv6A==
X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1792686285;
	h=DMARC-Filter:DKIM-Signature:Received:Date:From:To:Cc:Subject:
	 Message-ID:References:MIME-Version:Content-Type:Content-Disposition:
	 In-Reply-To;
	bh=e34/LbT2KiVBxSjoVzxoxlm+/Dhj+RXEgBl1nd9xMFk=;
	b=NoOFxzS6nbxpdG7V/TkLRUlqUBlPKB5mWBIbXvtwJFkpqRI6hWeuWT+nIpfSdUttsBok
	 L6hxfWAh1PDlMAcWHEhAUjuv6ViWZfoB4xN1a71iIdzygSh8B2nsLUGWi2dqiB6n8zdRH
	 xYP0QMomNbT2euC3zgelaI/E0yuO0nho0+rr1mz7gN6AxtJzGJQRIGYA/eHNReQyNVCqB
	 sR8/v9DBPRkP+a3e7+rH3lgelGZOIUpS1KnBu1S4WjadjtGPnr/0gmQpe7y2uYd1rP/eZ
	 3fMIWyOXYeSgwnZcTCkPwCpGpgTk6oQaoHXBtAfO/ajmnfQyihBeQz1SpWLV/Xm1dKQ==
X-ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; 
	dmarc=pass header.from=1wt.eu;
	spf=pass smtp.mailfrom=1wt.eu;
	dkim=pass header.d=1wt.eu header.i=@1wt.eu header.a=rsa-sha256 header.s=mail header.b=qD2QFerf;
	arc=none smtp.remote-ip=51.159.59.229
X-Received: from mta1.formilux.org (mta1.formilux.org [51.159.59.229])
	(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 3AF15606A319;
	Thu, 22 Oct 2026 16:24:43 +0000 (UTC)
X-DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 3AF15606A319
X-Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=1wt.eu
X-Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=1wt.eu
X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1wt.eu; s=mail;
	t=1792686281; bh=e34/LbT2KiVBxSjoVzxoxlm+/Dhj+RXEgBl1nd9xMFk=;
	h=From:Message-ID:From;
	b=qD2QFerfVpFjf88aQeV9orCfkWw0pAb1o0/fxq+hS0pR9d4WPtS38yaf4Wv5Jv/nR
	 QzR4zbj/RZ4YGyl68tjm0pbE3lxP8RqBhkypcS1Zi0+KCzp0Cp5TPvGlOh/8s0+tZG
	 p7VcTMvBT3Ozst5zM8JYwLQ5bnfc54eUm8oSoEiQ=
X-Received: from 1wt.eu (ded1.1wt.eu [163.172.96.212])
	by mta1.formilux.org (Postfix) with ESMTP id 9F0C9C0944;
	Thu, 22 Oct 2026 18:24:41 +0200 (CEST)
X-Cc: jhs@mojatatu.com, Jiri Pirko <jiri@resnulli.us>,
        "David S . Miller" <davem@davemloft.net>,
        Eric Dumazet <edumazet@google.com>, Jakub Kicinski <kuba@kernel.org>,
        Paolo Abeni <pabeni@redhat.com>, Simon Horman <horms@kernel.org>,
        netdev@vger.kernel.org, linux-kernel@vger.kernel.org,
        security@kernel.org
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: <20261022144830.67948-1-shawnq1@163.com>