CVE-2026-98321 — netfilter: nf_nat: unregister and release hooks on error
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 hoo…
Published: 2026-10-06 · CVSS: Unscored
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.
Source: CVE Program · Revision 8b16575c39f1e1810c5e863010da073d2d3285e7