From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-wm1-f51.google.com (mail-wm1-f51.google.com [209.85.128.51]) (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 F026D3BED7D for ; Tue, 3 Mar 2026 17:32:41 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.51 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1772559163; cv=none; b=nylmWdiqFrW+vPd+sXwyXRRJ61CHZZz19ZFKHUynkyzFpD5YGGyLv546H1DBmaFTN8xf7qqL/ZwKaOEt38SsznrMIquYdVsKx6dwGlPcYrwCrLCtd03JxcG8MN+vhA47i1k4IouhUvlqg/jG7Cnk1fa8301r/0t5JB7bNXB6fXA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1772559163; c=relaxed/simple; bh=QSLfbdC0sQ6OKC02upcBtCsQq8vNKhZu69qDiniK9ck=; h=Message-ID:Subject:From:To:Cc:Date:In-Reply-To:References: Content-Type:MIME-Version; b=fHqNbtRGGU8UanwO0ItEPh1+YXTDIoUOUPJ7hiBIc6ptrWvmA+NyN0mWtpqRHtyEnHfC90njH/I+SARIdaf0u2VlqqsQcwjCQoS9XqSndCwVYtjEq4sM06Xzb0YLcrLMZLGgvL3eFxFcf7Zkvc9CRS5YsZpi3rJarYjSSi5fF2Q= 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=PKZ7IED+; arc=none smtp.client-ip=209.85.128.51 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="PKZ7IED+" Received: by mail-wm1-f51.google.com with SMTP id 5b1f17b1804b1-483487335c2so49745065e9.2 for ; Tue, 03 Mar 2026 09:32:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1772559160; x=1773163960; darn=vger.kernel.org; h=mime-version:user-agent:content-transfer-encoding:references :in-reply-to:date:cc:to:from:subject:message-id:from:to:cc:subject :date:message-id:reply-to; bh=MsWzxLM40+G5660pg9qYSB4crP9FXQmc2eGQLniMFbc=; b=PKZ7IED+XFvhfCa+KHo+vDWcqJpVpkR9+TSZnfYebxicBGuut7s/Nk+gmjFsqTYvob FA/NQRzJPgtp8BvtaAYX6VzINBmMCnHnYTjay/jOtncwqUy0U6FQZDS/9DzhrT+EFq/P UdwsOK49zVQRjo3ZZeddvz8XLpdbJ7K4e+t1Xapz8yk8TCph/O8kq0ZHIQ5qgS8W/9/G g8zstyXk9JyQaX5hVxJQ68XsIxP85Kzqenl4exflMwy4HIp68pyyy3TngzyqKGkc4fCU 6J0nQqRZWlPFirq/no2NTVaQ7aAvFnbmVP3gF5QSwbUN4vODeuqh/Un1erlf8erSkgxY HuEg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1772559160; x=1773163960; h=mime-version:user-agent:content-transfer-encoding:references :in-reply-to:date:cc:to:from:subject:message-id:x-gm-gg :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=MsWzxLM40+G5660pg9qYSB4crP9FXQmc2eGQLniMFbc=; b=alQJhQfNcFhX9zMnxce4D8Vjj5eTWB5zfiBd33FJl1gseAZKfVo5v50J4VXDitMsiJ 8fHhdKL8hHxkcuv7h6Qwdo/FvfWreLkUp40gkdGzvW01/wPkdRqQEB36mvtPZYQ0zAB3 1iNwSZT7AODUnfGtIWjLpzrVVmJyyJSVfhQnM3GQqc/V1dCFg/VdKNNVibFGD5YDs5l8 wT81z2Rd43zB2cJ4dwLwJbs4Mam+ELrNDHFeSb3oQZK5gPVXwv6/lmPQvPB+xw7u93/7 cPcHEIa8IOJmsve+ytRBbfpTe4yqM21hoaKFNIuSsAWZXvp2hiJv/G3XqI0OMh7dIxsq N3+A== X-Gm-Message-State: AOJu0Yxro099vQZfG8acTfrxu60KaCWYNnxxvkEJ3JkY2D59SMZlvzWT jGNWkE/7HqUbpAfJKtlN5919DWo3ZVKOOpEE9lvVodsD1OyEWBcS75AT X-Gm-Gg: ATEYQzzDgzKuUScwD3EmY4L9DQKJGW/kydoGcKWi9xRKqds8mv0gV9ZF0mShFknnEFl UCo2Lqshj7JbiUN3i7PM6Wqf1RqzVWQ8hToEcGAcNE0u5vugL309lYY7yM1605PrGz8ebUHxRJC lIi8JJWwhPVV0B8BuZPU5UiXCMeg1HfVlFSrQV+96AgFByW7hmJ5jJ5IbcBGOjsCQo146Dw/Muu vkxbHkBq5glL/qPUjF6T5663PN9hJAEaLtjEExx1sZmn1U+8aqFsbWpZRGdfrrGh7VwedBMJZ8/ sUBiHerMh8DA2+KqAucYOGDq8glh9AhzFX+fB0m1owtnHth5mtq6y5IrqhRxMxizoKs/dXQZWj3 T9UCIg3Q5c4qmXRxa2XDbKtjST+vk92R0DKsMBA1dq0EZL4T/9vxrJQTq64N1SKnT8nvi8DC4Au AWrhBFJ5b/AaVDkyEfrHg3tn6lqXO3+Kejmn0UEY8U X-Received: by 2002:a05:600c:674f:b0:477:df7:b020 with SMTP id 5b1f17b1804b1-483c9bde826mr284998005e9.18.1772559160210; Tue, 03 Mar 2026 09:32:40 -0800 (PST) Received: from holly.home.arpa ([2a03:ab00:1000:1b60:331a:b316:78f6:effc]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-485133a9511sm24583545e9.17.2026.03.03.09.32.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 03 Mar 2026 09:32:39 -0800 (PST) Message-ID: Subject: Re: [REGRESSION] 6.19.4 stable netfilter / nftables [resolved] From: Jindrich Makovicka To: Thorsten Leemhuis , Genes Lists , Greg KH Cc: linux-kernel@vger.kernel.org, coreteam@netfilter.org, netfilter-devel@vger.kernel.org, Pablo Neira Ayuso , stable@vger.kernel.org, regressions@lists.linux.dev, "Kris Karas (Bug Reporting)" Date: Tue, 03 Mar 2026 18:32:39 +0100 In-Reply-To: References: <45f03b0b-fe8f-4942-bad1-3fbde03d4be1@leemhuis.info> <143e1a402ad78dd7076516a6ceb637f378310b16.camel@sapience.com> <10537f2b74da2b8a5cb8dc939f723291db39ff84.camel@sapience.com> <2026022755-quail-graveyard-93e8@gregkh> <9d110d860c0c7e110d018ea53a7666eba275da20.camel@gmail.com> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.56.2-8 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 On Tue, 2026-03-03 at 08:31 +0100, Thorsten Leemhuis wrote: > On 3/3/26 08:00, Jindrich Makovicka wrote: > > On Fri, 2026-02-27 at 08:39 -0500, Genes Lists wrote: > > > On Fri, 2026-02-27 at 05:17 -0800, Greg KH wrote: > > > > On Fri, Feb 27, 2026 at 08:12:59AM -0500, Genes Lists wrote: > > > > > On Fri, 2026-02-27 at 07:23 -0500, Genes Lists wrote: > > > > > > On Fri, 2026-02-27 at 09:00 +0100, Thorsten Leemhuis wrote: > > > > > > > Lo! > > > > > > >=20 > > > > > >=20 > > > > > > Repeating the nft error message here for simplicity: > > > > > >=20 > > > > > > =C2=A0Linux version 7.0.0-rc1-custom-1-00124-g3f4a08e64442 ... > > > > > > =C2=A0 ... > > > > > > =C2=A0 In file included from /etc/nftables.conf:134:2-44: > > > > > > =C2=A0 ./etc/nftables.d/set_filter.conf:1746:7-21: Error: > > > > > > =C2=A0 Could not process rule: File exists > > > > > > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 xx.xxx.xxx.x/23, > > > > > > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 ^^^^^^^^^^^^^^^ > > > > > >=20 > > > > >=20 > > > > > Resolved by updating userspace. > > > > >=20 > > > > > I can reproduce this error on non-production machine and > > > > > found > > > > > this > > > > > error is resolved by re-bulding updated nftables, libmnl and > > > > > libnftnl: > > > > >=20 > > > > > With these versions nft rules now load without error: > > > > >=20 > > > > > =C2=A0- nftables commit de904e22faa2e450d0d4802e1d9bc22013044f93 > > > > > =C2=A0- libmnl=C2=A0=C2=A0 commit 54dea548d796653534645c6e3c8577e= af7d77411 > > > > > =C2=A0- libnftnl commit 5c5a8385dc974ea7887119963022ae988e2a16cc > > > > >=20 > > > > > All were compiled on machine running 6.19.4. > > > >=20 > > > > Odd, that shouldn't be an issue, as why would the kernel > > > > version > > > > you > > > > build this on matter? > > > >=20 > > > > What about trying commit f175b46d9134 ("netfilter: nf_tables: > > > > add > > > > .abort_skip_removal flag for set types")? > > > >=20 > > > > thanks, > > > >=20 > > > > greg k-h > > >=20 > > > - all were rebuilt from git head=C2=A0 > > > =C2=A0 Have not had time to explore what specific change(s) > > > =C2=A0 triggered the issue yet. > > >=20 > > > - commit f175b46d9134 > > > =C2=A0 I can reproduce on non-production machine - will check this an= d > > > report back. > >=20 > > I had a similar problem, solved by reverting the commit below. It > > fails > > only with a longer set. My wild guess is a closed interval with > > start > > address at the=C2=A0 end of a chunk and end address at the beginning of > > the > > next one gets misidentified as an open interval. > >=20 > > commit 12b1681793e9b7552495290785a3570c539f409d > > Author: Pablo Neira Ayuso > > Date:=C2=A0=C2=A0 Fri Feb 6 13:33:46 2026 +0100 > >=20 > > =C2=A0=C2=A0=C2=A0 netfilter: nft_set_rbtree: validate open interval ov= erlap > >=20 > > Example set definition is here: > >=20 > > https://bugzilla.kernel.org/show_bug.cgi?id=3D221158 >=20 > Does that problem happen with 7.0-rc2 as well? This is important to > know > to determine if this is a general problem or a backporting problem. >=20 Yes, the same problem shows up with 7.0-rc2. I updated the bugzilla attachment to reproduce the bug just by feeding it to nft, # uname -a Linux holly 7.0.0-rc2 #25 SMP PREEMPT_DYNAMIC Tue Mar 3 18:17:21 CET 2026 x86_64 GNU/Linux # nft -f test-full.nft test-full.nft:1643:1-25: Error: Could not process rule: File exists 12.14.179.24-12.14.179.31, ^^^^^^^^^^^^^^^^^^^^^^^^^ Regards, --=20 Jindrich Makovicka