🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.kernel.netdev
Article #7164

Re: [PATCH] net/sched: sch_qfq: prevent aggregate self-replacement

#7164
From: Jamal Hadi Salim
Date: Sun, 25 Oct 2026 09:03
25 lines
12890 bytes
On Thu, Oct 22, 2026 at 5:14 AM Jamal Hadi Salim <jhs@mojatatu.com> wrote:
>
> On Wed, Oct 21, 2026 at 10:56 AM David Lee <david.lee@trailofbits.com> wrote:
> >
> > Hi Jamal,
> >
> > Following up on this thread. Please let me know if you had a chance to review the attached reproducer or if you need any additional information.
> >
>
> Please resend to the list - I lost track.
> And if you follow up after like 2 months(!) you will really have to
> retest with the new kernel and likely look at the list to see if there
> are other fixes that cover this issue.
>

Before i try to reproduce (then proper review) please resend
addressing the issues raised by the sashikos. They are legit.


cheers,
jamal
Technical Details
Message-ID: <CAM0EoMmxpVv4YRoQQ3jN+79OKjaT=ep3+6jff8CHoOBLJUej3w@mail.gmail.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-351512-linux-kernel-netdev=dewy.ru
References: <20260731140533.566493-1-david.lee@trailofbits.com> <CAM0EoM=UDkGKLivsdDS5JaVMuefR4jLC2rAWJcOR8XD-4N_EgA@mail.gmail.com> <CAC_etQESLytW5rhp0GfZU-mJqJhwk202a5u_nTXZ7W6wJN=AJw@mail.gmail.com> <CAC_etQHv2EBYfAhfkYHKrasnJAyDS+u5+a4os4aD1eSmKrck_A@mail.gmail.com> <CAM0EoMm=KbZgcGqLHDFee3mM1GxuNCvAWObP_K4AxsGAoEAedg@mail.gmail.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-351512-linux-kernel-netdev=dewy.ru
From: jhs@mojatatu.com (Jamal Hadi Salim)
Newsgroups: linux.kernel.netdev
Subject: Re: [PATCH] net/sched: sch_qfq: prevent aggregate self-replacement
Date: Sun, 25 Oct 2026 05:03:41 -0400
Organization: Usenet Network
Message-ID: <CAM0EoMmxpVv4YRoQQ3jN+79OKjaT=ep3+6jff8CHoOBLJUej3w@mail.gmail.com>
References: <20260731140533.566493-1-david.lee@trailofbits.com>
 <CAM0EoM=UDkGKLivsdDS5JaVMuefR4jLC2rAWJcOR8XD-4N_EgA@mail.gmail.com>
 <CAC_etQESLytW5rhp0GfZU-mJqJhwk202a5u_nTXZ7W6wJN=AJw@mail.gmail.com>
 <CAC_etQHv2EBYfAhfkYHKrasnJAyDS+u5+a4os4aD1eSmKrck_A@mail.gmail.com> <CAM0EoMm=KbZgcGqLHDFee3mM1GxuNCvAWObP_K4AxsGAoEAedg@mail.gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Injection-Info: usenet.network;
	logging-data="975001"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:/bpDTZjWiMna7BM4FTJB11qD0nE= sha256:rZ0ybB8XdVigmi64KQH0AVQzOQced9fGqtylmykGzPs=
	sha1:SBIKnUxfjlBdJrRi18c9hbVVniU= sha256:Qcy7zydiXyCBSXFmDQIYToTuJhBFcgSNSnVYAnoUxdA=
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 8C666125B2F; Sun, 25 Oct 2026 12:06:39 +0300 (MSK)
X-Virus-Scanned: Debian amavisd-new at usenet.network
X-Spam-Flag: NO
X-Spam-Score: -3.05
X-Spam-Status: No, score=-3.05 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] autolearn=ham autolearn_force=no
X-Authentication-Results: mail.dewy.ru (amavisd-new); dkim=pass (1024-bit key)
	header.d=mojatatu.com
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 bPstZp2M9qrC;
	Sun, 25 Oct 2026 12:06:36 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.234.253.10; helo=sea.lore.kernel.org; envelope-from=netdev+bounces-351512-linux-kernel-netdev=dewy.ru@vger.kernel.org; receiver=<UNKNOWN> 
X-Authentication-Results: OpenDMARC; dmarc=none (p=none dis=none) header.from=mojatatu.com
X-Received: from sea.lore.kernel.org (sea.lore.kernel.org [172.234.253.10])
	by mail.dewy.ru (Postfix) with ESMTPS id 6AACA125B2C; Sun, 25 Oct 2026 12:06:27 +0300 (MSK)
X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.77.114.92])
	by sea.lore.kernel.org (Postfix) with ESMTP id ABADE25B35; Sun, 25 Oct 2026 09:03:59 +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=3; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=pass;
	t=1792919039;
	b=BN1so1L5bCBNKE7CKuwBb2U76vLBR3T+12L1WKvUHTyBfvDXsxm6AharpQ57yc3KVfM7
	 YFt2VTUl4u1iREzXyWE07PGUukbxcr22cwX0fL+aYB5wZwivVC/MHA4zN5EbAIk3NfdDN
	 6xmQOGCetLGH3OeFSN5StYJoe98NHMUFRsSSHHscGZIsrieKo/DrB3PMlWymA8iPkHT8v
	 nSiQj55AkvHb5iVYYZqU6QwB60L8+ULO19UjJT30ntFjKoEWMwWfQQGRu2n6NsyrAu++p
	 yHQqiA442bML/cg8crHsmjdMF0zpJJrhtHEgKVjgNmXsCUgRGEuT8xI/6lklSVbIZFA==
X-ARC-Message-Signature: i=3; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1792919039;
	h=X-Original-To:Received:DMARC-Filter:Received:DKIM-Signature:
	 X-Google-DKIM-Signature:X-Forwarded-Encrypted:X-Gm-Message-State:
	 X-Gm-Gg:X-Received:X-Mailing-List:List-Id:List-Post:List-Help:
	 List-Subscribe:List-Unsubscribe:List-Owner:Precedence:MIME-Version:
	 References:In-Reply-To:From:Date:X-Gm-Features:Message-ID:Subject:To:
	 Cc:Content-Type:Content-Transfer-Encoding;
	bh=1BooYTXBqtdl0NuOlZpwBA6Ku6J/l86osVdkZCPC8Vc=;
	b=bO/iCqyt41jp20O10EnlDjJlSqJ4HI8YMAsGRwfJqnMs3/bmtwQomkoFGctASfRAF7F4
	 j9CzuAGhFMHYFZ/cdTFplrEGoClxCw9nmWcDgBwFHgN/m8yVkYJsQ4th2Tn9+ELd9dh7g
	 EPm322zZcd/HfLaNfarX6+OgcGxrZ6N3wBuhjdOit/gZsC3Ij4Ui+xquiYUt8SyiqUuvj
	 W37sN5X8PJlwtbj6MxbxqhrLRk0O4xn0v6brQd1w1Ep/w7j4TaWO58idYYqC4BKsKqtz8
	 I+DAb1F1+g0a5lfr4psWEuORH+Mu7E86ItdRxiFXN4AFwnvlGM4bRTk5mZept2Rhkig==
X-ARC-Authentication-Results: i=3; smtp.subspace.kernel.org; 
	dkim=pass header.d=mojatatu.com header.i=@mojatatu.com header.a=rsa-sha256 header.s=google header.b=ujJS6mMi;
	dmarc=none header.from=mojatatu.com;
	spf=none smtp.mailfrom=mojatatu.com;
	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 81F9C606A324;
	Sun, 25 Oct 2026 09:03:59 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org;
	dkim=pass (1024-bit key, unprotected) header.d=mojatatu.com header.i=@mojatatu.com header.a=rsa-sha256 header.s=google header.b=ujJS6mMi
X-Authentication-Results: smtp.subspace.kernel.org; arc=pass header.oldest-pass=0 smtp.remote-ip=209.85.215.178
X-ARC-Seal: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=pass;
	t=1792919033;
	b=NU/m10Olpkhoj3hAc6xU2jWlOyoGltNje6SXMMPT9oymuSigP5H/ge56bwO4aRfAhZ6B
	 5XIAhJ3F/dqyTlU1PdmHj1mg4Xds4RifP++ToZhgML1GKndXZvjkXSgQQorCT/o7JrZrS
	 ykjZ68kakT95uBTWDgPMCO25nkcSVGFr4yvdRKYTVzuKdlpYfuhMonTkm8hBljgRLFa9K
	 NxaQDEatTu2vobYPGzdsq5mwVvAm9BFtw7maZleL5msWoQA1X8MmwcWK3nGAibmdNBCrX
	 7SjFS5V/oXxxjZKshD8voiHMgrFDdwjynRqDX9E5B4LmTBetLKCH6IEN3xjPZyTo33g==
X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1792919033;
	h=DMARC-Filter:Received:DKIM-Signature:X-Google-DKIM-Signature:
	 X-Forwarded-Encrypted:X-Gm-Message-State:X-Gm-Gg:X-Received:
	 MIME-Version:References:In-Reply-To:From:Date:X-Gm-Features:
	 Message-ID:Subject:To:Cc:Content-Type:Content-Transfer-Encoding;
	bh=1BooYTXBqtdl0NuOlZpwBA6Ku6J/l86osVdkZCPC8Vc=;
	b=Q7WqjlBhWpdAOVlsI3pYmvffGZKQvfmSQ6c+l3BQfYP4fgPy/PV0tLI8QyTlZ5mEigIF
	 faAOo/MPgrJKfe2mUhUrw9ahtK9v/UXbVO3Jtwms21oUOZm5CrFyG22DRhlCOAR3HZBrH
	 x0ulGlfcmtv3vu/sXG/oVDig2L0Y54l4PhKAAjofZVUE4afUkanG+MJ/RRQEIsM1KnQ33
	 8bzKckir/7ggbVHC++bLLUtiLivK/ZHMSNKG/w74ceqwjgoQI5ArovohRcElaNqDWFUs3
	 iB19MyivF14Cntz33+sr1+6FJEyD7/cvKQ0Hgdm1r3WQBIiP6bFypb2CL2Lq98fsKlQ==
X-ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; 
	dmarc=none header.from=mojatatu.com;
	spf=none smtp.mailfrom=mojatatu.com;
	dkim=pass header.d=mojatatu.com header.i=@mojatatu.com header.a=rsa-sha256 header.s=google header.b=ujJS6mMi;
	arc=pass header.oldest-pass=0 smtp.remote-ip=209.85.215.178
X-Received: from mail-pg1-f178.google.com (mail-pg1-f178.google.com [209.85.215.178])
	(using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)
	 key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256)
	(No client certificate requested)
	by smtp.subspace.kernel.org (Postfix) with ESMTPS id 46F64606A31B
	for <netdev@vger.kernel.org>; Sun, 25 Oct 2026 09:03:53 +0000 (UTC)
X-DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 46F64606A31B
X-Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=mojatatu.com
X-Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=mojatatu.com
X-Received: by mail-pg1-f178.google.com with SMTP id 41be03b00d2f7-cd60c5da24cso1177134a12.0
        for <netdev@vger.kernel.org>; Sun, 25 Oct 2026 02:03:53 -0700 (PDT)
X-ARC-Seal: i=1; a=rsa-sha256; t=1792919033; cv=none;
        d=google.com; s=arc-20260327;
        b=FW67/Vdc6kBnKQGsZv66mAOsv83LrbnDpleHt2nUWiejok5JXYv4Lf+lvJWXz0CP0h
         r/qkTd/1szoU8ESY3kwj3U/mJS4bw/6GxNwOMqLVUBzvsrkdGJG2prSSGu28Tf+TeBmd
         8m3yhUea2UhgouKsPcul8SqpkB94PFf6KYOapadmPM6QQAM7HZ2VvezffMW7puE6M/4N
         xfMDCrlfig7FBYD/CUJNVv4Tfd9LUYNpxHz2x3PE8WmTAR4IhBRn8F4R83YYLve0neCy
         +jS4Ol9Vr8qYfFjorU8fd76seLRO1KeI/5c+ps2EkdKa4eigc4HOUEQySu5KIbIcPpbq
         nZAQ==
X-ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20260327;
        h=content-transfer-encoding:cc:to:subject:message-id:date:from
         :in-reply-to:references:mime-version:dkim-signature;
        bh=1BooYTXBqtdl0NuOlZpwBA6Ku6J/l86osVdkZCPC8Vc=;
        fh=8svqWA72m51bYnKZs/Ubvp732FDTeeMRyfCLctoMP2Y=;
        b=Yws2LtZpQJpa+1weqwfjyhK3NEdQxQb1fUkztdojRNB9VJxUr8JgQKSdF8PKLWhSLp
         ch7fAVumpVBMT+AAJde2ZonEkt3HNba7TpP/nCoBEnfpNVWpZlYx6r0jIFBPmK1UOqnW
         wzj85NaVjw0AqRnKMjH5g84SM0LBDZ1b6IWKHVntKwhy/I0BFeXRXfv0VW1slwkFrY3r
         YyldYO0032E4Pr3jgICpAJErBVC6gQscm+/PBN6wUTUJhTpv0W930DEdyL/XwvpJGdSk
         U6wD9H9OCYPRztlMlxVAHg21Sbrzqx1x5iazIdIbAaHlC9lfN6vjyBtVJI/1gQfOlcOZ
         wNGw==;
        darn=vger.kernel.org
X-ARC-Authentication-Results: i=1; mx.google.com; arc=none
X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=mojatatu.com; s=google; t=1792919033; x=1793523833; darn=vger.kernel.org;
        h=content-transfer-encoding:content-type:cc:to:subject:message-id
         :date:from:in-reply-to:references:mime-version:from:to:cc:subject
         :date:message-id:reply-to:content-type;
        bh=1BooYTXBqtdl0NuOlZpwBA6Ku6J/l86osVdkZCPC8Vc=;
        b=ujJS6mMi0vBZnl+BDCY0ZwxybPNMPiPzuhdFjhJhdpJo4Tx7T7CVEEyTDE8gFLb9Cr
         SRA0nkHUuCJ+rbUDjwjRwkFsDjDachhOG8OFnog5uwWUbfbxsUqJCwTjMuLUpqRYsL09
         k9/Y0+h8x3V7aZqiuiAOy2wRsSgAH8Rr9GzBE=
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20260707; t=1792919033; x=1793523833;
        h=content-transfer-encoding:content-type:cc:to:subject:message-id
         :date:from:in-reply-to:references:mime-version:x-gm-gg
         :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to
         :content-type;
        bh=1BooYTXBqtdl0NuOlZpwBA6Ku6J/l86osVdkZCPC8Vc=;
        b=oGBVXeqmR0Ht+WPp7SMDZmD3TIJgZ7jzkq9gARijpPLj8S0eiEKgHVFt3XLH9QmY/8
         WYVKN/JqJ01Zs5N42SbMdBeL3OBocNpVob1Wdx59vbKTbhFY+J5UbDicZJTIblu1bhVu
         fLnzoXQfTeLbvxRLMuTLGrqQSuchnm/YGgvni96Ubm3u8+ccIf3knHaPeF4s4zDuBo2b
         EVDq2lqZZxoUZnHJrIMDxmwh2/2J5Gc8/m9rMTCi/iT1WabGvLdFzfKpb20Ueun9j6K3
         iogveVko6oLWsFKL3bmaKg6OelwcZAURL6CRf3nSpwWLoQxdqy3KgGBXJOrZCiqv2ph5
         9wwg==
X-Forwarded-Encrypted: i=1; AKwUvBzuZ8l7ueLnDvYVXAFXLiBfVi1tRO7/ZGSQm06qEDLtK2mmCihts54Y8J9yjZnkhb6yJK309QU=@vger.kernel.org
X-Gm-Message-State: AFq9FYKljEKsXbzyJo2LlSn9lo2Tas3g1EipTh9GZ6rI7SNIEMoZ6JHA
	73hDkhgKANUnALXSX/VWt4uhFihZVoqD5NtKCC4VKTCuycUpQwjFG2A19tSay5ULGln8jL+Pi7t
	7wcU8YU45MEpUHyXHc4l0l4LS2zvUnRDd6CfsI2gx
X-Gm-Gg: AYBFou3AdmpmkkRfqcjC/pq7tbY0FntcuyMNdtIHQcQkx1jP/cZwlXbulJxvENEpmKK
	22rsLoemeLCIePHjUS7MGerIbG3puDCrMYdieZn4KhQMlTRIyLbFF1W7QgpXODj0h9TWpeGwyQ0
	SaeEd2pxGzmktshu8xggZcBus1UJK6dB0k9gcuxLDHlBEtrDzfd8ubQGRj+Gm4zDRE8WHRMSz7g
	BKAuA87lWAg4b4s6Y0bTBqdCAER1GclewCrjzuWZL0L8SLeDPHwia71qm8w+RkWZJAU4lz1mlGy
	RvmK05PI4+jEwQ9A41tkg/toWPyG828YKvudCHh4earVa77hstKVkSHlS3BA2UVpL9QrAY6tzgd
	6YO9hXCHrdy4u6pRhjYVHHXo7TwfwDrhyHOhzS5yH4wK5N9H5PiDZGgcDKPBSgHfq7XRll8qsD7
	24LxN+/WcFw8CIqo4=
X-Received: by 2002:a05:6300:6bdc:b0:3e0:b937:883d with SMTP id
 adf61e73a8af0-3e7bfbdba5amr2952918637.25.1792919032623; Sun, 25 Oct 2026
 02:03:52 -0700 (PDT)
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: <CAM0EoMm=KbZgcGqLHDFee3mM1GxuNCvAWObP_K4AxsGAoEAedg@mail.gmail.com>
X-Gm-Features: AclHuK_jMLdQH3LqJfc2klawx0gf0RQlCgrLwXyrkJ9NArFRch-vM04NQdh0R90
X-Cc: jiri@resnulli.us, davem@davemloft.net, edumazet@google.com, 
	kuba@kernel.org, pabeni@redhat.com, Kyle Zeng <kylebot@openai.com>, 
	"Dominik 'Disconnect3d' Czarnota" <dominik.czarnota@trailofbits.com>, horms@kernel.org, netdev@vger.kernel.org, 
	linux-kernel@vger.kernel.org