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.
Published: 2026-10-06
Score: 5.5 Medium
EPSS: < 1% Very Low
KEV: No
Impact: Memory Leak
Action: Apply Patch
AI Analysis

Impact

In the Linux kernel’s netfilter nf_nat subsystem, a failure in nf_hook_entries_insert_raw() prevents the system from unregistering and releasing NAT hooks when the insertion fails, resulting in a memory leak that steadily consumes kernel memory. This represents an improper resource management flaw that can compromise system stability by exhausting available memory.

Affected Systems

The flaw affects all Linux kernel versions that include the nf_nat module and have not yet applied the patch introduced in the recent commits; because the CPE entry covers all Linux kernel builds, any system running an unpatched nf_nat implementation is in scope.

Risk and Exploitability

The CVSS score of 5.5 denotes moderate severity, and an EPSS score below 1 % indicates a very low probability of exploitation; the vulnerability is not listed in CISA’s KEV catalog. The likely attack vector is local or requires privileged execution, as an attacker must either load a kernel module that triggers the fault or craft network traffic to provoke a hook insertion failure.

Generated by OpenCVE AI on October 11, 2026 at 05:26 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade to a kernel version that includes the nf_nat patch that correctly unregisters and frees hooks on error.
  • If an upgrade cannot be performed immediately, disable nf_nat functionality or unload the nf_nat module to prevent the faulty logic from executing.
  • Monitor kernel memory usage for abnormal growth and perform a reboot if leakage is observed, as reboot temporarily clears leaked memory until a fix is applied.

Generated by OpenCVE AI on October 11, 2026 at 05:26 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Sun, 11 Oct 2026 02:45:00 +0000

Type Values Removed Values Added
Weaknesses CWE-401

Sun, 11 Oct 2026 00:30:00 +0000

Type Values Removed Values Added
Weaknesses CWE-772
References
Metrics threat_severity

None

cvssV3_1

{'score': 5.5, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H'}

threat_severity

Low


Wed, 07 Oct 2026 04:30:00 +0000

Type Values Removed Values Added
Weaknesses CWE-401

Tue, 06 Oct 2026 19:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-401

Tue, 06 Oct 2026 13:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-401

Tue, 06 Oct 2026 09:00:00 +0000

Type Values Removed Values Added
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.
Title netfilter: nf_nat: unregister and release hooks on error
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References

Subscriptions

Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-10-19T09:17:31.752Z

Reserved: 2026-09-25T10:25:14.340Z

Link: CVE-2026-98321

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-10-06T09:18:24.117

Modified: 2026-10-19T10:18:34.267

Link: CVE-2026-98321

cve-icon Redhat

Severity : Low

Publid Date: 2026-10-06T00:00:00Z

Links: CVE-2026-98321 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-10-11T05:30:17Z

Weaknesses
  • CWE-772

    Missing Release of Resource after Effective Lifetime