CVE-2026-98321
netfilter: nf_nat: unregister and release hooks on error
Reported by linux · Published October 6, 2026
In the Linux kernel, the following vulnerability has been resolved: netfilter: nf_nat: unregister and release hooks on error If nf_hook_entries_insert_raw() fails, the NAT hooks get never released, resulting in a memleak. Postpone setting nat_proto_net->nat_hook_ops when the hooks are registered to simplify the error path to decide whether the nat hooks need unwinding.
EPSS 0.17% · 6.8th percentile
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| kernel6.18 | Amazon Linux | 1:6.18.54-121.166.amzn2023 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | 1cd472bf036ca038e783ef5f058f54e45b7e8180, 1cd472bf036ca038e783ef5f058f54e45b7e8180, 1cd472bf036ca038e783ef5f058f54e45b7e8180 |
| Linux | Linux | 4.18, 0, 6.18.54 |
| amazon:2023 | kernel6.18 | 0 |
| linux | linux_kernel | 4.18, 4.18, 4.18 |
| amazon:2023 | kernel6.18-tools | 0 |
| amazon:2023 | kernel6.18-headers | 0 |
| amazon:2023 | kernel6.18-modules-extra-common | 0 |
| amazon:2023 | bpftool6.18 | 0 |
| amazon:2023 | kernel6.18-tools-devel | 0 |
| Linux | Linux | 7.3, 7.2.8, 6.18.54 |
| amazon:2023 | perf6.18 | 0 |
| amazon:2023 | kernel6.18-modules-extra | 0 |
| amazon:2023 | kernel6.18-devel | 0 |
| amazon:2023 | python3-perf6.18 | 0 |
| amazon:2023 | kernel-livepatch-6.18.54-121.166 | 0 |
| amazon:2023 | microvm-kernel6.18 | 0 |
| Linux | Linux kernel |
Timeline
- Oct 6, 2026 EPSS Score (7 in total, the first dated here)
- Oct 6, 2026 Coalition ESS Score
- Oct 6, 2026 CVE Published
- Oct 19, 2026 CVE Updated
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2026-98321
vulnetix vdb fixes CVE-2026-98321
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-98321/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart