From mboxrd@z Thu Jan 1 00:00:00 1970 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 B93B73A759C for ; Sun, 19 Jul 2026 15:42:53 +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=1784475774; cv=none; b=KbxBNeQRiHn4hiYPzdqTZQNEUYEY4QWgq10vt9HqC4BwR1o5R0BtmmiYeIEUhFv1h6yWuzJwfsyq/cPdI2g2Ok9BPOVOnH41LZYm9OgEN7f+pMv+OjNBYY194r0xwwa+rHim92iylFxRIJjqOoMFZK+JoO9DfgVLoVDUP0hdhmQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784475774; c=relaxed/simple; bh=cEFpKFm72Q5yiBJUrifRTLMv43TLinZMl+Rd7rGfZFs=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=Opc7qHte7mhilirJG5BhyLq/h0s7U5CbXtaj/y8nZQXCK9D7PvRURCE9Y/fXGMkVUGyiy4FKgAucpBZISpS5gIFydkPDMyMSkSK2to44Me8DOzuW/9TcQMAU7YlzkQTZ6i3ZJOlEekMSMaF8f4boSm5XNcGV6sDP59v0g0qt8/E= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=K3gJZcU4; 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="K3gJZcU4" Received: by smtp.kernel.org (Postfix) with ESMTPSA id E375E1F000E9; Sun, 19 Jul 2026 15:42:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1784475773; bh=1IHHDLqFET+maPTy8/geylXV8oV0wxHbVm5YQAQ4iIc=; h=From:To:Cc:Subject:Date:Reply-To; b=K3gJZcU4J10UoEtAOOYgipw+7tFg9iR6OpiQb00XldEfGCvI81tEy/m0Loh714ZzK w/YSaGUXcmo3NJkkuY4IOaq43Dc3+ae27lfrKt+KnsJ7t9WoPYV5QZMaxziWhCLAFX YMI8Cgko9cFU1P/7j645RbhEmVCwsB/2U22F7wgk= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-64078: netfilter: x_tables: add and use xtables_unregister_table_exit Date: Sun, 19 Jul 2026 17:39:00 +0200 Message-ID: <2026071914-CVE-2026-64078-ff87@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=2764; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=dHot9fafG6IlCOyQdOtdFhD6+IbYu/lK97xGcgYO9zo=; b=owGbwMvMwCRo6H6F97bub03G02pJDFkx79OyMxhUvT2UlVTeZb5bfs1w1g/9qXP4LkziuBerF LB1/uMtHbEsDIJMDLJiiixftvEc3V9xSNHL0PY0zBxWJpAhDFycAjCR/xwMcyV4b01cEpxt1Jjt zbVgmumVlT4yKgzzs3gzQ47VMx+alH0twnaz7T2Pz5EyAA== 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: x_tables: add and use xtables_unregister_table_exit Previous change added xtables_unregister_table_pre_exit to detach the table from the packetpath and to unlink it from the active table list. In case of rmmod, userspace that is doing set/getsockopt for this table will not be able to re-instantiate the table: 1. The larval table has been removed already 2. existing instantiated table is no longer on the xt pernet table list. This adds the second stage helper: unlink the table from the dying list, free the hook ops (if any) and do the audit notification. It replaces xt_unregister_table(). The Linux kernel CVE team has assigned CVE-2026-64078 to this issue. Affected and fixed versions =========================== Issue introduced in 5.15 with commit fdacd57c79b79a03c7ca88f706ad9fb7b46831c1 and fixed in 6.18.34 with commit 86ee5bc9c0f0e652e19f395675a432de11b75514 Issue introduced in 5.15 with commit fdacd57c79b79a03c7ca88f706ad9fb7b46831c1 and fixed in 7.0.11 with commit 8026e5163cca1d1db436c7bfb89ddea8b5e8c2cf Issue introduced in 5.15 with commit fdacd57c79b79a03c7ca88f706ad9fb7b46831c1 and fixed in 7.1 with commit b4597d5fd7d2f8cebfffd40dffb5e003cc78964c 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-64078 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/linux/netfilter/x_tables.h net/ipv4/netfilter/arp_tables.c net/ipv4/netfilter/ip_tables.c net/ipv4/netfilter/iptable_nat.c net/ipv6/netfilter/ip6_tables.c net/ipv6/netfilter/ip6table_nat.c net/netfilter/x_tables.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/86ee5bc9c0f0e652e19f395675a432de11b75514 https://git.kernel.org/stable/c/8026e5163cca1d1db436c7bfb89ddea8b5e8c2cf https://git.kernel.org/stable/c/b4597d5fd7d2f8cebfffd40dffb5e003cc78964c