VYPR
Unrated severityNVD Advisory· Published May 1, 2024· Updated May 4, 2025

netfilter: nf_tables: Fix a memory leak in nf_tables_updchain

CVE-2024-27064

Description

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.

AI Insight

LLM-synthesized narrative grounded in this CVE's description and references.

Affected products

49

Patches

Vulnerability mechanics

References

4

News mentions

0

No linked articles in our index yet.