Bug 2546454 (CVE-2026-98321) - CVE-2026-98321 kernel: netfilter: nf_nat: unregister and release hooks on error
Summary: CVE-2026-98321 kernel: netfilter: nf_nat: unregister and release hooks on error
Keywords:
Status: NEW
Alias: CVE-2026-98321
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-10-06 09:23 UTC by OSIDB Bzimport
Modified: 2026-10-10 06:44 UTC (History)
17 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-10-06 09:23:16 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.