CVE-2026-80664

netfilter: xt_nat: reject unsupported target families

State
Published
Severity
7.3 High
Published
Aug 28, 2026
Updated
Oct 16, 2026
Reserved
Aug 26, 2026

Read the record on cve.org

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. ]

Scores

CVSSScoreVectorSource
3.17.3 HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:HLinux

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • c7232c9979cba684c50b64c513c4a83c9aa70563 to before 49abe564391411057a26a9a943c8e17867c3b9b4Affected
  • c7232c9979cba684c50b64c513c4a83c9aa70563 to before 0afc9ad987c0faa80ab5f8d6e7815085ac8dbb82Affected
  • c7232c9979cba684c50b64c513c4a83c9aa70563 to before 4fbc2bac02edabb665beb2aa87ca6f1e1d4c4777Affected
  • c7232c9979cba684c50b64c513c4a83c9aa70563 to before a842dab87cab29f2a5798a47b2dc5e6a449950bfAffected
  • c7232c9979cba684c50b64c513c4a83c9aa70563 to before e35c048d7511e9d4c2a537b8a231c49606e97c16Affected
  • c7232c9979cba684c50b64c513c4a83c9aa70563 to before 679ced28a9dc2f6dc679eb05027d779693e60902Affected
  • c7232c9979cba684c50b64c513c4a83c9aa70563 to before ec88fa71c82072e9189983b05b499d3507550271Affected
  • c7232c9979cba684c50b64c513c4a83c9aa70563 to before 5d1a2240935ea47e2673d0ea17fdb058e4dc91ddAffected
LinuxLinux
  • 3.7Affected
  • before 3.7Not affected
  • 5.10.261 through 5.10.*Not affected
  • 5.15.212 through 5.15.*Not affected
  • 6.1.178 through 6.1.*Not affected
  • 6.6.145 through 6.6.*Not affected
  • 6.12.97 through 6.12.*Not affected
  • 6.18.40 through 6.18.*Not affected
  • 7.1.5 through 7.1.*Not affected
  • 7.2 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.