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. ]
Published: 2026-08-28
Score: n/a
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The Linux kernel netfilter module’s xt_nat target handlers can dereference a NULL pointer when a rule from an unsupported network family is instantiated through nft_compat, causing a kernel crash and local denial of service. This flaw does not compromise confidentiality or integrity, but it can render network services unavailable on affected hosts.

Affected Systems

All Linux kernel builds that ship the netfilter xt_nat module are potentially vulnerable unless they include the patch that rejects non‑IP families during target installation. The precautionary commit 9dbba7e694ec mitigates the flaw by enforcing family checks in xt_nat_checkentry().

Risk and Exploitability

The vulnerability is local and requires an attacker to influence the nft_compat rule set, which may be achievable by compromising a privileged process. EPSS is not available and the issue is not listed in the CISA KEV catalog, suggesting a moderate overall risk. The CVSS score is absent from the data, but the crash indicates a high severity impact if exploited. Applying the patch eliminates the vulnerable code path and removes the risk.

Generated by OpenCVE AI on August 28, 2026 at 09:59 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Apply a kernel update that includes commit 9dbba7e694ec to eliminate the NULL dereference path.
  • Verify that nft_compat rules are limited to IP families (inet, inet6) and avoid using non‑bridge families.
  • Reboot the system (or reload the netfilter module) after applying the patch to ensure the fix is active.

Generated by OpenCVE AI on August 28, 2026 at 09:59 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Fri, 28 Aug 2026 10:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-476

Fri, 28 Aug 2026 07:30:00 +0000

Type Values Removed Values Added
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. ]
Title netfilter: xt_nat: reject unsupported target families
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References

Subscriptions

Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-08-28T06:49:07.478Z

Reserved: 2026-08-26T14:34:25.781Z

Link: CVE-2026-80664

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-08-28T08:16:51.620

Modified: 2026-08-28T08:16:51.620

Link: CVE-2026-80664

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-28T10:00:06Z

Weaknesses