CVE-2026-143264: netfilter: nf_tables: fix memleak when rule deletion fails with hardware offload
In the Linux kernel, the following vulnerability has been resolved:
netfilter: nftables: fix memleak when rule deletion fails with hardware offload
Allocate flow rule object after transaction has been allocation and rule deactivation has been performed, otherwise memleak is possible. Let the transaction unwind the existing rule deactivation from the abort path, this needs to update nftflowruledestroy() to skip release if flowrule is null.
While at this, remove check for non-null flowrule in newrule error path now that nftflowruledestroy() is skipped if flowrule is null.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 5.15.227 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 6.12.120 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 6.18.66 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 7.3.7
Event History
Frequently Asked Questions
Which systems are exposed to this issue?
The issue applies to Linux kernel systems using nf_tables hardware offload where deletion of an offloaded rule can fail.
What event triggers the memory leak?
The leak is possible when an offloaded rule deletion fails after rule deactivation and before the flow rule object handling is correctly unwound.