CVE-2026-98321

published 6 Oct 2026 · updated 12 Nov 2026

netfilter: nf_nat: unregister and release hooks on error

9.8CriticalCVSS 9.8EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 79084567cd082fb4482e1ea457580e7d6504dd99, Kernel cbdd39ce42530a193c56beb206a3356cb6d01016 and Kernel df80342f4bfc023ad7d6703df5e27f583ff0cb8d.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel=4.18, >=1cd472bf036ca038e783ef5f058f54e45b7e8180 <79084567cd082fb4482e1ea457580e7d6504dd99, >=1cd472bf036ca038e783ef5f058f54e45b7e8180 <cbdd39ce42530a193c56beb206a3356cb6d01016, >=1cd472bf036ca038e783ef5f058f54e45b7e8180 <df80342f4bfc023ad7d6703df5e27f583ff0cb8d79084567cd082fb4482e1ea457580e7d6504dd99, cbdd39ce42530a193c56beb206a3356cb6d01016, df80342f4bfc023ad7d6703df5e27f583ff0cb8d

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-98321 severity on Zeptric[![CVE-2026-98321](https://zeptric.io/badge/cve/CVE-2026-98321.svg)](https://zeptric.io/cve/CVE-2026-98321)