Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=217.70.190.124 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796073946; b=fl0FruVje4Ji30F7y4/Rf0yheKj9NkoZZ0ThENaX6GUL7PvUgIwe7EtsZLejLM5kOd8D K0LKPYJ+igC1v1k6EVEo/wN+mH21U4eYPSZfEODbKGdYL4cSxLQnF9Ycv8Bgl63q2PmbX 5lj9oz4oJk7f8sw5hBraCefGieUiCfV3Ai+uyM7o0wdjz8VYojROcsitiq7/D1j8Jbu5k dePcQUe5c28W3XOyCGaGM5o+aMTo7jXRwDuldbJbBLm32Alnj7Z9lylyis6qMW7C+PGdn 0Wc/UUpS/Xqxs8D/iQW6hiP5a7dyG9Drtl28xLOlS4c9q2AmUhAuONfwBAhRACeMg+g== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796073946; h=DMARC-Filter:DKIM-Signature:Received:From:To:Subject:Date:Message-ID: X-Mailer:MIME-Version:Content-Transfer-Encoding:X-Spam-Status: X-Spam-Checker-Version; bh=fqOKfIdu1acP1Oac6fijCdQKfStLDvzkaMmX33YvRK4=; b=L9fczTj6/3TMHp2CGOZ1PyUZbD2xq4D8HnlfJcGEAUTtuEoeqXBV8NH28T6OYZsdZjjo bGiAD9KjRqFXthLc4hazmtMiwaqqS05tLnmRy9F3zyQAsFvJOBy0tjuuABV4BM0Mpzz1y 256RX6usUuwLqcPzuP1KcSzPd4jMBad/DtZIbTVsdxzzrV9Nn8YPufMbM1afr2YDzi7vA sWyTjLiKDaQ7UZol1K5+qGXxHz+REOdFjd0NCxB6Y0OKEDA3Dhs80OkFdNAtBDQ5Oz8f4 6SeN4eCOa8zTryFQyNyBGzXqO7hg6I9fBPSYE2uqniU4lwvw0hGfIz6IcrH3QwkVUHg== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none header.from=netfilter.org; spf=pass smtp.mailfrom=netfilter.org; dkim=pass header.d=netfilter.org header.i=@netfilter.org header.a=rsa-sha256 header.s=2025 header.b=cez8+fC9; arc=none smtp.remote-ip=217.70.190.124 Received: from mail.netfilter.org (mail.netfilter.org [217.70.190.124]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 649E9606A31A for ; Mon, 30 Nov 2026 21:25:45 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 649E9606A31A Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=netfilter.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=netfilter.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=netfilter.org header.i=@netfilter.org header.a=rsa-sha256 header.s=2025 header.b=cez8+fC9 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=netfilter.org; s=2025; t=1796073942; bh=fqOKfIdu1acP1Oac6fijCdQKfStLDvzkaMmX33YvRK4=; h=From:To:Subject:Date:From; b=cez8+fC9qHzua/K5iWAA68e3jajHP5HSYoad9AafM0+iFLqLNi9+O6MKhhZikztwC zLj+Dd1zsvCfUMUqSu8/lfUAHziNm/myJQk6tGvKAZ8kxmq4JcFwjF2zfxCLeGJQ3F T0t+FyEbZvK40MDAzvKzmlelJC2qSv2umATOhc/wSWksMFUX9IH79yQS2xCcfrUgyv Y2BIYXQEymCBCziwZv+JsCfv78Ju2pX48w8nPQIk+bEkJqvyJZXVeiKt/FBjGZpWEN sPGQZ2IK1NwqWjELDUCK1Rb72xkbCB8oyQmCzInS3SLFJGpRPXO5I2M6AbO+6uigA/ gVRk7G/X2u5bg== Received: from localhost.localdomain (mail-agni [217.70.190.124]) by mail.netfilter.org (Postfix) with ESMTPSA id ABF8D60088 for ; Mon, 30 Nov 2026 22:25:42 +0100 (CET) From: Pablo Neira Ayuso To: netfilter-devel@vger.kernel.org Subject: [PATCH net,v2 00/10] Netfilter fixes for net Date: Mon, 30 Nov 2026 22:25:29 +0100 Message-ID: <20261130212539.992130-1-pablo@netfilter.org> X-Mailer: git-send-email 2.47.3 X-Mailing-List: netfilter-devel@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Transfer-Encoding: 8bit v2: - add nft_synproxy to address SYN and ACK packets only patch. - drop patches that need more work: + flowtable hardware offload cleanup (3 patches) + use ESTABLISHED state for TCP reject. + AH conntrack defrag issue needs another round too. -o- Hi, The following patchset contains Netfilter fixes for net: 1) Allocate all ct extensions if ct helper extension is used, this is needed because ct extension reallocation is possible while expectations are already sitting in the expectation list. From Jaeyeong Lee. 2) Restrict xt_IDLETIMER to init_netns. This xtables extensions exposes a global sysfs interface. Follow ups are possible to restore this feature if someone proves to be using this extension from netns. From Zhiling Zou. 3) Prevent an unbound recursion in the synproxy transmit path. This is similar to a recent fix to address a similar recursion in the reject transmit path. Patch from Fernando F. Mancera. 4) On conntrack module removal, wait for RCU quiescent state to address possible use-after-free. From Chengfeng Ye. 5) Updates nft_synproxy to address SYN and ACK packets only, just like ip{6}t_SYNPROXY does, otherwise hook re-entering is possible. From Fernando F. Mancera 6) Restrict maximum number of chain of master conntracks to 8. This is to address a recursion in the conntrack destroy path leading to stack overflow. From Florian Westphal. 7) Skip recycled unconfirmed conntracks seen from /proc/net/nf_conntrack due to TYPESAFE_RCU, otherwise access to ct extension of this new unconfirmed conntrack results in a crash. from Yiran Qiu. 8) Detach ct template in conntrack bridge when packet is invalid, otherwise ct template is exposed to follow up hooks in the pipeline. From Luxiao Xu. 9) In synproxy, fix incorrect handshake ACK sent to the backend carries a TSecr uncovered since commit 3ba075278c11 ("tcp: be less liberal in TSEcr received while in SYN_RECV state"). This bug has been reported in production. Patch from Florian Westphal. 10) Disable hook for dormant table only if transition to dormant state took place in this transaction. From Ma Xinmen. Please, pull these changes from: git://git.kernel.org/pub/scm/linux/kernel/git/netfilter/nf.git nf-26-11-30 Thanks. ---------------------------------------------------------------- The following changes since commit e1055cbfd6eb578417f3ce983cf44462e8465267: Merge tag 'linux-can-fixes-for-7.4-20261124' of git://git.kernel.org/pub/scm/linux/kernel/git/mkl/linux-can (2026-11-26 15:47:14 +0100) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/netfilter/nf.git nf-26-11-30 for you to fetch changes up to ee5c04c7d9d5cefd08ca7eb6e9bf434fecf44f92: netfilter: nf_tables: only disable tables on a dormant transition (2026-11-30 21:59:26 +0100) ---------------------------------------------------------------- netfilter pull request 26-11-30 ---------------------------------------------------------------- Chengfeng Ye (1): netfilter: conntrack: wait for RCU readers before freeing the hash Fernando Fernandez Mancera (1): netfilter: synproxy: prevent unbounded recursion in transmit path Florian Westphal (2): netfilter: conntrack: limit master chain depth netfilter: synproxy: fix double tsoff application in server ACK TSecr Jaeyeong Lee (1): netfilter: conntrack: prevent helper extension relocation Luxiao Xu (1): netfilter: bridge: detach conntrack template on invalid IP frames Ma Xinmeng (1): netfilter: nf_tables: only disable tables on a dormant transition Nguyen Ngoc Thang (1): netfilter: nft_synproxy: only handle pure SYN and ACK packets Yiran Qiu (1): netfilter: conntrack: skip unconfirmed entries in /proc/net/nf_conntrack Zhiling Zou (1): netfilter: xt_IDLETIMER: restrict to init_net include/net/netfilter/nf_conntrack_helper.h | 15 +++++++++++ net/bridge/netfilter/nf_conntrack_bridge.c | 16 +++++++----- net/netfilter/nf_conntrack_core.c | 1 + net/netfilter/nf_conntrack_expect.c | 15 ++++++++--- net/netfilter/nf_conntrack_extend.c | 31 +++++++++++++++-------- net/netfilter/nf_conntrack_netlink.c | 36 ++++++++++++++++++-------- net/netfilter/nf_conntrack_standalone.c | 3 +++ net/netfilter/nf_synproxy_core.c | 39 ++++++++++++++++++++++++++--- net/netfilter/nf_tables_api.c | 2 +- net/netfilter/nft_synproxy.c | 8 +++--- net/netfilter/xt_IDLETIMER.c | 7 ++++++ 11 files changed, 135 insertions(+), 38 deletions(-)