netfilter: xt_nat: reject unsupported target families
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. ]
- Products
- Kernel
- Affected versions
- Not specified
- Fixed versions
- 5.10.261, 5.15.212, 6.1.178, 6.12.97, 6.18.40, 6.6.145, 7.1.5
- CVEs
- CVE-2026-80664
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 2 Nov 2026, 23:07 UTC · Revision 1
Source evidence
netfilter: xt_nat: reject unsupported target families
core-osv · Original sourcePublished 28 Aug 2026, 06:49 UTC
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. ]
osv:CVE-2026-80664
Kernel
Fixed versions: 5.10.261, 5.15.212, 6.1.178, 6.6.145, 6.12.97, 6.18.40, 7.1.5
Complete source record
{
"id": "788b048d09dabe80a381f8dab027a7829fe8887e14a85a7fe5e976d2937bc4ad",
"url": "https://osv.dev/vulnerability/CVE-2026-80664",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "netfilter: xt_nat: reject unsupported target families",
"summary": "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. ]",
"evidence": "osv:CVE-2026-80664",
"products": [
{
"name": {
"value": "Kernel",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "5.10.261",
"evidence": "/affected/1/ranges"
},
{
"value": "5.15.212",
"evidence": "/affected/1/ranges"
},
{
"value": "6.1.178",
"evidence": "/affected/1/ranges"
},
{
"value": "6.6.145",
"evidence": "/affected/1/ranges"
},
{
"value": "6.12.97",
"evidence": "/affected/1/ranges"
},
{
"value": "6.18.40",
"evidence": "/affected/1/ranges"
},
{
"value": "7.1.5",
"evidence": "/affected/1/ranges"
}
],
"affected_versions": []
}
],
"severity": "high",
"structured": {
"id": "CVE-2026-80664",
"aliases": [
"CVE-2026-80664"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"type": "GIT",
"events": [
{
"introduced": "c7232c9979cba684c50b64c513c4a83c9aa70563"
},
{
"fixed": "49abe564391411057a26a9a943c8e17867c3b9b4"
},
{
"fixed": "0afc9ad987c0faa80ab5f8d6e7815085ac8dbb82"
},
{
"fixed": "4fbc2bac02edabb665beb2aa87ca6f1e1d4c4777"
},
{
"fixed": "a842dab87cab29f2a5798a47b2dc5e6a449950bf"
},
{
"fixed": "e35c048d7511e9d4c2a537b8a231c49606e97c16"
},
{
"fixed": "679ced28a9dc2f6dc679eb05027d779693e60902"
},
{
"fixed": "ec88fa71c82072e9189983b05b499d3507550271"
},
{
"fixed": "5d1a2240935ea47e2673d0ea17fdb058e4dc91dd"
}
]
}
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-80664.json"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "3.7.0"
},
{
"fixed": "5.10.261"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "5.11.0"
},
{
"fixed": "5.15.212"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "5.16.0"
},
{
"fixed": "6.1.178"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.2.0"
},
{
"fixed": "6.6.145"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.7.0"
},
{
"fixed": "6.12.97"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.13.0"
},
{
"fixed": "6.18.40"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.19.0"
},
{
"fixed": "7.1.5"
}
]
}
],
"package": {
"name": "Kernel",
"ecosystem": "Linux"
},
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-80664.json"
}
}
],
"modified": "2026-10-28T02:30:24.186225351Z",
"provider": "osv",
"references": [
"https://git.kernel.org/stable/c/0afc9ad987c0faa80ab5f8d6e7815085ac8dbb82",
"https://git.kernel.org/stable/c/49abe564391411057a26a9a943c8e17867c3b9b4",
"https://git.kernel.org/stable/c/4fbc2bac02edabb665beb2aa87ca6f1e1d4c4777",
"https://git.kernel.org/stable/c/5d1a2240935ea47e2673d0ea17fdb058e4dc91dd",
"https://git.kernel.org/stable/c/679ced28a9dc2f6dc679eb05027d779693e60902",
"https://git.kernel.org/stable/c/a842dab87cab29f2a5798a47b2dc5e6a449950bf",
"https://git.kernel.org/stable/c/e35c048d7511e9d4c2a537b8a231c49606e97c16",
"https://git.kernel.org/stable/c/ec88fa71c82072e9189983b05b499d3507550271",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/80xxx/CVE-2026-80664.json",
"https://nvd.nist.gov/vuln/detail/CVE-2026-80664",
"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
],
"provider_metadata": {
"cna_assigner": "Linux",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/80xxx/CVE-2026-80664.json"
}
},
"related_cves": [
{
"value": "CVE-2026-80664",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 490751,
"published_at": "2026-08-28T06:49:07.478+00:00"
}