Vulnerability 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.
References
- https://git.kernel.org/stable/c/79084567cd082fb4482e1ea457580e7d6504dd99
- https://git.kernel.org/stable/c/cbdd39ce42530a193c56beb206a3356cb6d01016
- https://git.kernel.org/stable/c/df80342f4bfc023ad7d6703df5e27f583ff0cb8d
FAQ
What is CVE-2026-98321?
CVE-2026-98321 is a documented vulnerability. 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, ...
How severe is CVE-2026-98321?
CVSS scoring is not yet available for CVE-2026-98321. Check NVD for updates.
Is there a patch for CVE-2026-98321?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.