CVE-2026-98321

netfilter: nf_nat: unregister and release hooks on error

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.

Key facts

Published
6 Oct 2026
Last changed
19 Oct 2026
Assigned by
Linux
EPSS
0.173% likely to be exploited in the next 30 days, higher than 6.856% of CVEs (scores for 17 Nov 2026)

Historical context and remediation

This reference retains the original CVE publication date. A recent record update does not mean a new attack occurred.

No separately sourced impact summary is available on this page yet. Consult the description, version data and dated exploitation evidence.

No explicit remediation statement is available on this page yet. Consult the original record and vendor references before choosing a fix.

Version statuses below come from the CNA. An “unaffected” version is not necessarily a currently supported release or proof of a patch date. EPSS is a dated risk estimate, not a count of historical attacks.

Read the original CVE record.

Affected products

VendorProductVersions
LinuxLinux
  • Default status: unaffected
  • 1cd472bf036ca038e783ef5f058f54e45b7e8180 up to but excluding 79084567cd082fb4482e1ea457580e7d6504dd99 (affected)
  • 1cd472bf036ca038e783ef5f058f54e45b7e8180 up to but excluding df80342f4bfc023ad7d6703df5e27f583ff0cb8d (affected)
  • 1cd472bf036ca038e783ef5f058f54e45b7e8180 up to but excluding cbdd39ce42530a193c56beb206a3356cb6d01016 (affected)
LinuxLinux
  • Default status: affected
  • 4.18 (affected)
  • 0 up to but excluding 4.18 (unaffected)
  • 6.18.54 up to and including 6.18.* (unaffected)
  • 7.2.8 up to and including 7.2.* (unaffected)
  • 7.3 up to and including * (unaffected)

Timeline

  1. 6 Oct 2026 Published

References