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 A18AB3D410E for ; Fri, 28 Aug 2026 06:52:09 +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=1787899930; cv=none; b=VmGDYzvojM7R3On239CtLKHhvg948mlVnNttDq7yUL9NCmuwZnmRhNfKUC2MQnuLFl+AGxgLOpTZXv0Mz14GZXg5WbRNA1CumZs9Z0ucPkXn9gdwaPrli6Z2/jROGlfh+D5yzysCrm77XBfpJlLhyssOVIyY9Mtl0oUKLs/403g= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1787899930; c=relaxed/simple; bh=60PB+vM6YE/LhgVYTWhC/XFgAHuvN/1Nz0CRd2D0VOo=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=dee3X732WyeiafsfatEdfIOw0CcP2MzLH764tZFFPLYJ2OTAQk6MtfuXZrNrHgmJ3XY312hDH5tOIH6n+IwoV+z/IZ/GDammfFETIuoMQLiamTs5X9ndFj8L9HZW+905wBrRMCQojm39mCnMAH2uniVeW5RbVcQ4KviCPn28etQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=if4vkAp7; 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="if4vkAp7" Received: by smtp.kernel.org (Postfix) with ESMTPSA id E3A841F000E9; Fri, 28 Aug 2026 06:52:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1787899929; bh=SKY+loAyhvYaHhn1xfeP+jTq0uK6HSJ8pMqzPkJdFpI=; h=From:To:Cc:Subject:Date:Reply-To; b=if4vkAp77bU3bO3FVHUB6xWY/6XPedkMn/TI9IYlzvFhnGrXuYPKMxbNCNBTjqyxt 3y67pKfXQ5Rz3x1BOxEVj79kZtXRTJ8BenHSlnqz4ZUkjcaZZSqZOyrO3TfJTA+jic 6TNkphZCV4QrVIc1kNW4/R+UFkDwt0UFhGhf+OiE= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-80664: netfilter: xt_nat: reject unsupported target families Date: Fri, 28 Aug 2026 08:49:41 +0200 Message-ID: <2026082846-CVE-2026-80664-664b@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=3873; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=/7McRwHjN3z/dXNlBwaSD5+DAhjxdOgbHUnsQpDbEf0=; b=owGbwMvMwCRo6H6F97bub03G02pJDFkT9f3kZ+yo8zp5pDjqUc+5z5InZINuHVDn/KNslHnaY 53tJim/jlgWBkEmBlkxRZYv23iO7q84pOhlaHsaZg4rE8gQBi5OAZjILVaG+ZGHMhb1d/sK7Ii2 OuoUfp7v+qm52gzzY2ztgm6luzwSnnqDQYZzzcHTDr8eAQA= 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: xt_nat: reject unsupported target families xt_nat SNAT and DNAT target handlers assume IP-family conntrack state is present and can dereference a NULL pointer when instantiated from an unsupported family through nft_compat. A bridge-family compat rule can therefore trigger a NULL-dereference in nf_nat_setup_info(). Reject non-IP families in xt_nat_checkentry() so unsupported targets cannot be installed. Keep NFPROTO_INET allowed for valid inet NAT compat users and leave the runtime fast path unchanged. [ The crash was fixed via 9dbba7e694ec ("netfilter: nft_compat: ebtables emulation must reject non-bridge targets"), so this patch is no longer critical. Nevertheless, NAT is only relevant for ipv4/ipv6, so this extra family check is a good idea in any case. ] The Linux kernel CVE team has assigned CVE-2026-80664 to this issue. Affected and fixed versions =========================== Issue introduced in 3.7 with commit c7232c9979cba684c50b64c513c4a83c9aa70563 and fixed in 5.10.261 with commit 49abe564391411057a26a9a943c8e17867c3b9b4 Issue introduced in 3.7 with commit c7232c9979cba684c50b64c513c4a83c9aa70563 and fixed in 5.15.212 with commit 0afc9ad987c0faa80ab5f8d6e7815085ac8dbb82 Issue introduced in 3.7 with commit c7232c9979cba684c50b64c513c4a83c9aa70563 and fixed in 6.1.178 with commit 4fbc2bac02edabb665beb2aa87ca6f1e1d4c4777 Issue introduced in 3.7 with commit c7232c9979cba684c50b64c513c4a83c9aa70563 and fixed in 6.6.145 with commit a842dab87cab29f2a5798a47b2dc5e6a449950bf Issue introduced in 3.7 with commit c7232c9979cba684c50b64c513c4a83c9aa70563 and fixed in 6.12.97 with commit e35c048d7511e9d4c2a537b8a231c49606e97c16 Issue introduced in 3.7 with commit c7232c9979cba684c50b64c513c4a83c9aa70563 and fixed in 6.18.40 with commit 679ced28a9dc2f6dc679eb05027d779693e60902 Issue introduced in 3.7 with commit c7232c9979cba684c50b64c513c4a83c9aa70563 and fixed in 7.1.5 with commit ec88fa71c82072e9189983b05b499d3507550271 Issue introduced in 3.7 with commit c7232c9979cba684c50b64c513c4a83c9aa70563 and fixed in 7.2 with commit 5d1a2240935ea47e2673d0ea17fdb058e4dc91dd 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-80664 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: net/netfilter/xt_nat.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/49abe564391411057a26a9a943c8e17867c3b9b4 https://git.kernel.org/stable/c/0afc9ad987c0faa80ab5f8d6e7815085ac8dbb82 https://git.kernel.org/stable/c/4fbc2bac02edabb665beb2aa87ca6f1e1d4c4777 https://git.kernel.org/stable/c/a842dab87cab29f2a5798a47b2dc5e6a449950bf https://git.kernel.org/stable/c/e35c048d7511e9d4c2a537b8a231c49606e97c16 https://git.kernel.org/stable/c/679ced28a9dc2f6dc679eb05027d779693e60902 https://git.kernel.org/stable/c/ec88fa71c82072e9189983b05b499d3507550271 https://git.kernel.org/stable/c/5d1a2240935ea47e2673d0ea17fdb058e4dc91dd