CVE-2024-27064: netfilter: nf_tables: Fix a memory leak in nf_tables_updchain
In the Linux kernel, the following vulnerability has been resolved:
netfilter: nf_tables: Fix a memory leak in nf_tables_updchain
If nft_netdev_register_hooks() fails, the memory associated with
nft_stats is not freed, causing a memory leak.
This patch fixes it by moving nft_stats_alloc() down after
nft_netdev_register_hooks() succeeds.
Security readout for executives and security teams
Plain-English summary
CVE-2024-27064 is a Linux kernel memory leak in the nf_tables firewall subsystem. If a netdev hook registration fails while updating a chain, allocated statistics memory is not released. The public record describes a stability/resource leak issue, not data theft or code execution.
Executive priority
Treat as routine kernel maintenance unless vendor guidance raises severity. There is no provided evidence of active exploitation, but kernel memory leaks can affect availability, especially on firewall or network-control systems.
Technical view
The bug is in nf_tables_updchain. nft_stats could be allocated before nft_netdev_register_hooks succeeds; on registration failure, that allocation was not freed. The kernel fix moves nft_stats_alloc after successful hook registration, removing the leak path.
Likely exposure
Exposure is most relevant to Linux systems running affected kernel versions with nf_tables/netfilter functionality present. The source bundle lists affected Linux version data, but distribution kernels may carry backported fixes, so package-level status must be confirmed with the OS vendor.
Exploitation context
The CVE is not listed as KEV, and the provided sources do not report active exploitation, public exploit use, or remote unauthenticated attack details. Evidence supports a memory-leak condition on a specific failure path.
Researcher notes
The public record lacks CVSS, CWE, and exploitability detail. Analysis should focus on the failing nft_netdev_register_hooks path and whether local configuration or privileges are required to trigger chain updates on the target platform.
Mitigation direction
Update to a vendor kernel containing the nf_tables memory-leak fix.
Confirm whether your distribution backported one of the referenced stable fixes.
Prioritize exposed firewall hosts and systems heavily using nftables.
If update timing is constrained, monitor kernel memory pressure until patched.
Validation and detection
Inventory Linux kernel versions across servers, containers hosts, and appliances.
Check vendor advisories for CVE-2024-27064 package status.
Verify fixed builds include the referenced stable kernel commit.
Review whether nf_tables/nftables is enabled or used on affected systems.
Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.
Potential ATT&CK relevance
Conservative CVE-to-ATT&CK context
These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.
ATT&CK lookup starting points
Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.
cve · low confidence lookup
CVE-2024-27064 mapping review
Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.
These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.