Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id AFB2F4DDB47 for ; Thu, 17 Sep 2026 16:12:31 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1789661552; cv=none; b=DCHjZxmBCgmR+YuKd5YhEZOPeeCwUA/jGf59fZeuQTIw4T8YulbFt7d+uAAt8CppG01AK6czpyxPTMEsVTC2AzeLk8B9UiptLZYba/AFddM6JBxQJnhrZMpiGgcLoRE3XApks/Dd8yHKMmbylc8Hn9ZGB6RSO3WG6qr33RIb5Yw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1789661552; c=relaxed/simple; bh=V399QTGV8FNBhQyG0pvMKbw+g3mCC9v3trr3BE0FMu0=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=ahndZkh2U0GHo03lcxU9yUPe8Aat7Gvi2Nea+/Rn8FIqlo4wWS1dh+PJ1riGmNOd+8eitY84iOt705jQJtHrvQ1/9JsSVdDHoIcvNkdadAhEoHxQ/Xotyq35zH9J+R40DicKQK2Exuscd3/6ukzzWfVyI0P7mIk2BuzExUYTzyQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=0N+iz07i; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="0N+iz07i" Received: by smtp.kernel.org (Postfix) with ESMTPSA id C06551F000FF; Thu, 17 Sep 2026 16:12:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1789661551; bh=r++HiErXGLoMt0w7zJSyphSnA0g1vjHNMFdORz8/vsQ=; h=From:To:Cc:Subject:Date:Reply-To; b=0N+iz07iJOQm/TAm8+ERBBIxO2z2nP61Sx3yLl2aLiDaD7vlymnyWA2aNMidhJPAa /H7VrNQxLnqMVP0fciQcrWtglk517FWwu8s/6UKCq2d7tPZJK4VbKOeiDqT51ZlVcz OIkOIjCyb1hxeaHrlKqZiGWQNhgTxDlwnYBfJkGk= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-90061: netfilter: nf_tables: skip double clone set expressions on element insert Date: Thu, 17 Sep 2026 17:08:11 +0100 Message-ID: <2026091705-CVE-2026-90061-4929@gregkh> X-Mailer: git-send-email 2.55.0 Reply-To: , Precedence: bulk X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=2674; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=pyQewuGySd/WAjLCdASZGsfjCUk6uoLrUNsXRpy7WQM=; b=owGbwMvMwCRo6H6F97bub03G02pJDFlrBFLLzLJPNajEhof/tOaWr7/SP1tM5PfjiLs+h0tVg r/fqzjVEcvCIMjEICumyPJlG8/R/RWHFL0MbU/DzGFlAhnCwMUpABNRq2OY7zfhgErfVyXuje+d bq9N/MD50vrRPoYF6/O5my6eea2w0XDf9WOqndkmThdXAwA= X-Developer-Key: i=gregkh@linuxfoundation.org; a=openpgp; fpr=F4B60CC5BF78C2214A313DCB3147D40DDB2DFB29 Content-Transfer-Encoding: 8bit From: Greg Kroah-Hartman Description =========== In the Linux kernel, the following vulnerability has been resolved: netfilter: nf_tables: skip double clone set expressions on element insert Both the dynset and newsetelem path clone the existing set expressions when setting set element expressions if no override expressions are provided. This results in a double clone, once to clone the template set expressions then another clone on the new element. Add a flag to annotate if userspace provides a override expression (ie. expression of the same type of the set but different configuration), otherwise borrow the existing expression from the set. Add conditionals to release expression iif they represent an override. Use this new override_exprs flag to dump the dynset expression override to userspace. This simplifies the existing logic and it also fixes a bug with the connlimit expression which results in a module refcount imbalance WARNING splat when resorting on the default set expressions. The Linux kernel CVE team has assigned CVE-2026-90061 to this issue. Affected and fixed versions =========================== Issue introduced in 5.7 with commit 65038428b2c6c5be79d3f78a6b79c0cdc3a58a41 and fixed in 7.2.6 with commit 1e7fb6801d9cc826adcdb7fa0533c397730657f2 Issue introduced in 5.7 with commit 65038428b2c6c5be79d3f78a6b79c0cdc3a58a41 and fixed in 7.3-rc1 with commit 43559058d21e0493aa220ac167e0279334dea5f9 Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community. Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at https://cve.org/CVERecord/?id=CVE-2026-90061 will be updated if fixes are backported, please check that for the most up to date information about this issue. Affected files ============== The file(s) affected by this issue are: include/net/netfilter/nf_tables.h net/netfilter/nf_tables_api.c net/netfilter/nft_dynset.c Mitigation ========== The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits: https://git.kernel.org/stable/c/1e7fb6801d9cc826adcdb7fa0533c397730657f2 https://git.kernel.org/stable/c/43559058d21e0493aa220ac167e0279334dea5f9