What’s Vulnerable › Vulnerabilities
CVE-2026-98321: netfilter: nf_nat: unregister and release hooks on error
- Severity: unknown
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.2% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-10-06 · updated 2026-10-19
Description
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.
Affected products
- Linux kernel: 4.18 — fixed in 7.3
How to fix
Upgrade to a fixed version: Linux kernel 7.3. Check the vendor advisory for mitigations.
References
- https://git.kernel.org/stable/c/79084567cd082fb4482e1ea457580e7d6504dd99
- https://git.kernel.org/stable/c/cbdd39ce42530a193c56beb206a3356cb6d01016
- https://git.kernel.org/stable/c/df80342f4bfc023ad7d6703df5e27f583ff0cb8d
Get alerted when CVE-2026-98321 or the next vulnerability affects your stack