CVE-2026-80664
nicheNULL-pointer dereference in Linux kernel netfilter xt_nat target via nft_compat
The Linux kernel's netfilter xt_nat module contains a flaw in which the SNAT and DNAT target handlers assume IP-family connection-tracking state is present and can dereference a NULL pointer when the target is instantiated from an unsupported family through nft_compat. A local actor able to manage netfilter rules (e.g., a process or container granted network-administration privileges) can install a bridge-family compat rule using the NAT target, triggering a NULL dereference in nf_nat_setup_info() and crashing the kernel, yielding denial of service; the CVSS score additionally weights high integrity impact. Only Linux systems where nft_compat and xt_nat are active and such bridge-family (or other non-IP-family) rules can be installed are realistically exposed — an uncommon configuration, even though the code ships in most distribution kernels. No public proof-of-concept, in-the-wild exploitation, or KEV listing is known (EPSS: 0.1% in 30 days); the crash was also addressed upstream via nft_compat commit 9dbba7e694ec ("ebtables emulation must reject non-bridge targets"), and the xt_nat fix now rejects non-IP families while keeping NFPROTO_INET allowed.
What to do: Obtain a kernel update from your distribution that carries the upstream xt_nat non-IP-family rejection (and nft_compat fix 9dbba7e694ec); since no fixed version numbers are published in this advisory, follow your vendor's kernel advisory. As an interim mitigation, audit nftables/ebtables-emulation rules for SNAT/DNAT targets instantiated in bridge-family tables and keep NAT targets restricted to the ip, ip6, or inet families.
| Linux kernel (netfilter xt_nat / nft_compat subsystem) | — |
Order-of-magnitude estimate by the model from install counts, market share and public scan data it knows; verify before quoting.
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. ]
- Vector
- CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:H
In the news0 stories
No ingested article mentions this CVE yet.