Article View: linux.kernel.netdev
Article #46Re: [PATCH v2 net] netfilter: conntrack: reject nested ctnetlink master chains
From: Daehyeon Ko
Date: Wed, 07 Oct 2026 01:33
Date: Wed, 07 Oct 2026 01:33
19 lines
8965 bytes
8965 bytes
Thanks for the review. All three points are valid. The nft ct expectation object can attach its internal helper to an unconfirmed expected child, then arm the next expectation with that child as master. I confirmed a bounded four-entry chain through this path, and current net retains the same unchecked transition. An nft helper followed by IPCTNL_MSG_EXP_NEW can repeat in the same way. The H.323 Q.931 call-forwarding path also propagates its helper without a depth bound. The CT_NEW compatibility concern is valid as well. CTA_TUPLE_MASTER was introduced for conntrackd replication, so rejecting nested helper-created state changes that interface. V2 is therefore incomplete and should not be applied. I have reworked the replacement to make master destruction stack-safe while preserving nested expectation semantics. pw-bot: cr
Technical Details
Message-ID:
<20261007013301.2524415-1-4ncienth@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-342165-linux-kernel-netdev=dewy.ruReferences:
<20261001180224.1018290-1-4ncienth@gmail.com> <20261002165601.1754467-1-4ncienth@gmail.com> <179127347858.434549.11821822167265441355@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-342165-linux-kernel-netdev=dewy.ru
From: 4ncienth@gmail.com (Daehyeon Ko)
Newsgroups: linux.kernel.netdev
Subject: Re: [PATCH v2 net] netfilter: conntrack: reject nested ctnetlink master chains
Date: Wed, 7 Oct 2026 10:33:01 +0900
Organization: Usenet Network
Message-ID: <20261007013301.2524415-1-4ncienth@gmail.com>
References: <20261001180224.1018290-1-4ncienth@gmail.com> <20261002165601.1754467-1-4ncienth@gmail.com> <179127347858.434549.11821822167265441355@kernel.org>
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
Injection-Info: usenet.network;
logging-data="554721"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:eyv1RNf1BXE0C4EF9+WzKKTvo20= sha256:UVLrJtPV15z8NQyaEhgj28QGEOBIYq6oo3ezr0op6yA=
sha1:/XtoEe/by9lrIGiitAVvfG/9gkQ= sha256:RkJgiir6Su+AyPJn98BDMde/xfuCqy4dMXkPXIOb3KM=
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 C98F810EDB2; Wed, 7 Oct 2026 04:40: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, FREEMAIL_FORGED_FROMDOMAIN=0.001,
FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.249,
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=gmail.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 JVCxvAXGLOlF;
Wed, 7 Oct 2026 04:39:59 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.234.253.10; helo=sea.lore.kernel.org; envelope-from=netdev+bounces-342165-linux-kernel-netdev=dewy.ru@vger.kernel.org; receiver=<UNKNOWN>
X-Authentication-Results: OpenDMARC; dmarc=fail (p=none dis=none) header.from=gmail.com
X-Received: from sea.lore.kernel.org (sea.lore.kernel.org [172.234.253.10])
by mail.dewy.ru (Postfix) with ESMTPS id 8D7E810F0BA; Wed, 7 Oct 2026 04:39:56 +0300 (MSK)
X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.90.174.1])
by sea.lore.kernel.org (Postfix) with ESMTP id 820224116C; Wed, 7 Oct 2026 01:33:43 +0000 (UTC)
X-Received: from localhost.localdomain (localhost.localdomain [127.0.0.1])
by smtp.subspace.kernel.org (Postfix) with ESMTP id 4777F17A2F6;
Wed, 7 Oct 2026 01:33:12 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org;
dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="fC4jiT5R"
X-Received: from mail-pl1-f180.google.com (mail-pl1-f180.google.com [209.85.214.180])
(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
(No client certificate requested)
by smtp.subspace.kernel.org (Postfix) with ESMTPS id 2B67733A6F2
for <netdev@vger.kernel.org>; Wed, 7 Oct 2026 01:33:11 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.214.180
X-ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116;
t=1791336792; cv=none; b=FajAfuj28DggIHw9eaf2THWxKCN0NTKNykXeu7n341GqwVNP9lSbAhyA7hnM9TzzyUdx0NJ4BBwYWj7szr84X98uaoVjiR5X1nP5ps2DkEnJRb2YdiYLAtYdg1SUgD11Lb+6J7RdDSFttDZy2Mr5hVqm+cXRrR9d+zZYdsA71tU=
X-ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org;
s=arc-20240116; t=1791336792; c=relaxed/simple;
bh=yT4qk//tC5xJd5Q78Wf4BjrbWUdWEvx1U2HF6URaQYU=;
h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References:
MIME-Version; b=KiSFR+gNnRnMh4hxOl94wS+FwNN7G14f+aT//ruYYkAR161yoCuG2VYLlZ5FDVzLNdRS1IgkAYkCZCPWi3CEY7Oq2/TpU7AVXb7tqisNlrdiywMm6Gi3dSsgrmgO+CB3CCjlqGnb8cvIky9S/FTmybpYYbaO9UV1Qw4ROsdk4QU=
X-ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=fC4jiT5R; arc=none smtp.client-ip=209.85.214.180
X-Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com
X-Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com
X-Received: by mail-pl1-f180.google.com with SMTP id d9443c01a7336-2dd9cbb661bso10637505ad.3
for <netdev@vger.kernel.org>; Tue, 06 Oct 2026 18:33:11 -0700 (PDT)
X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=gmail.com; s=20251104; t=1791336790; x=1791941590; darn=vger.kernel.org;
h=content-transfer-encoding:mime-version:references:in-reply-to
:message-id:date:subject:cc:to:from:from:to:cc:subject:date
:message-id:reply-to:content-type;
bh=Kt3VjxAsGdSe7dCl89WOHYsP0HUrLZc3A78+p+uWquA=;
b=fC4jiT5R6+4CtccnjJz79W3VL4sYdkWB87WBVTVWsmwTdsPDvwyzlQ6Tx3G7G3ZMjT
MXw+0hsEpLVcpuerGXlg/9zzmLv+BPJ84Pf/uLNfIRvcCsYj+lmJfg4a2tveAqaM40SE
DNxrCQ9V7WLOHTj0RA0HNtAPZoyL/ZOWZxgZ1cHgAYX0XRn6Lylclc0oK7tjNILG7MuC
cT4LbVN6ZbAVTRRCqThsmdzc1cZLeB4mvPPGTZF1XL3fGLWYGmfDTzeBMniZE+dpz2Xc
zD/8eNSG+q+DRK5QPt2l/kLyG8PZtAVSsmD72VgVeed+JimrcOqxQ8mkidjRtccEskIc
INUw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20260707; t=1791336790; x=1791941590;
h=content-transfer-encoding:mime-version:references:in-reply-to
:message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from
:to:cc:subject:date:message-id:reply-to:content-type;
bh=Kt3VjxAsGdSe7dCl89WOHYsP0HUrLZc3A78+p+uWquA=;
b=Y1hsbZNusjBeOwzFN48w5kEv0Aa9Ux5TCVCu1MRaelfMFx/Rig5xwGFP8M1Zynwo93
4mMghsKIVlXKDuIopBScFT05aeGUw6/261uKDs4yDFoEaC+g7cvQzkabDALEnqAWn0qZ
mFTHxNLTvOiaM4nAcsyNfqdfSLwAFiHmwUQQD+qRGV3BpbYGRQuAGyvGswXPfDKzrXR0
ZSzB0SMOaaSGJ8cVMkFQD1PF8RM3l9AtaDX5ufxGuemsfVvVh7wq/eBjo+yeoNQtUyVQ
zCJ8Njf9mjwVbIo0NVP+pQdJs5Qtu4K2CjhNsOcIsbBxqJf+MHbaq2ok8v238BGLerPk
OYyw==
X-Forwarded-Encrypted: i=1; AKwUvBwfAZz7iTOBFl1bSuaVzWyX2pQlm+fhsnlA9RbrcPqXUHSz7MnRsJmCF68Szfyed2YiS9DTzvY=@vger.kernel.org
X-Gm-Message-State: AFq9FYL6l4bDsxIw+HSPHWfQMJ2en00z8Coa271YSPd48z4a3ABjg7fw
3BHEHkTF7gcyLR8vOH9zSi7klRLCgkKPUtUlXgbuQ9rrlQp2ekiUVlIU
X-Gm-Gg: AYBFou09xzJwM2sarlYwE1086z9sAlyQmDJBQjYxEKHm/FVLYrJptrOysVmn1Cf+aV3
zSwYk0odPsafu12V8XaVbZaNnlVe/3cHwFWwOE0OZk/GBp7EsEJAqn8VhRZCKhiwuRZ1XtEiy80
vkjB+53Tq8R+AvQu8Fk+ShjUVfYGli2NRdXv0xkEgrY/hI9+ljwvG/gTmYY0dFuQMA9h02m3Eo6
96aNLk2a1qWwkea33F6wHXzaf/+BEpppXHw9SHu1mrj9JWiswVa3ZYNV0VhevBqOrDNApy3mx6g
bsjgBSrqdJTM2ShPVeKFwqw7j9sWVRdqm3ifGmlUceViNFZ5QGA4BguOkaI719k7pJjqxGx+J3Z
abIghEfU1331PdB9SwdE7fJKV4Q46YRExWKuY697fWg+HcNfj63E7x60hcUkCk8VtS95r49qvWC
Iuj3bZH2pgtZppBYzppAWpWaA4O/SsumU6El9e498JsPQCOZQxZXPd3ZuQclw82W3OOs5cc75Gq
4tuv66HNv5Y
X-Received: by 2002:a17:903:1b24:b0:2e2:ca04:fdae with SMTP id d9443c01a7336-2e6003c35admr8419835ad.30.1791336790576;
Tue, 06 Oct 2026 18:33:10 -0700 (PDT)
X-Received: from ancienth-X870E-Nova-WiFi ([125.186.72.2])
by smtp.gmail.com with ESMTPSA id d9443c01a7336-2e604852079sm2958395ad.60.2026.10.06.18.33.07
(version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
Tue, 06 Oct 2026 18:33:10 -0700 (PDT)
X-Cc: pablo@netfilter.org,
fw@strlen.de,
phil@nwl.cc,
netfilter-devel@vger.kernel.org,
coreteam@netfilter.org,
netdev@vger.kernel.org,
stable@vger.kernel.org,
kuba@kernel.org
X-Mailer: git-send-email 2.55.0
X-In-Reply-To: <179127347858.434549.11821822167265441355@kernel.org>
X-Precedence: bulk
X-Mailing-List: netdev@vger.kernel.org
X-List-Subscribe: <mailto:netdev+subscribe@vger.kernel.org>
X-List-Unsubscribe: <mailto:netdev+unsubscribe@vger.kernel.org>