CVE-2024-27064

published 1 May 2024 · updated 17 Nov 2026

netfilter: nf_tables: Fix a memory leak in nf_tables_updchain

5.0MediumEPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel e77a6b53a3a547b6dedfc40c37cee4f310701090, Kernel 6.4, Kernel 4e4623a4f6e133e671f65f9ac493bddaaf63e250 and 5 more.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel>=b9703ed44ffbfba85c103b9de01886a225e14b38 <e77a6b53a3a547b6dedfc40c37cee4f310701090, >=6.3.3 <6.4, >=b9703ed44ffbfba85c103b9de01886a225e14b38 <4e4623a4f6e133e671f65f9ac493bddaaf63e250, >=b9703ed44ffbfba85c103b9de01886a225e14b38 <79846fdcc548d617b0b321addc6a3821d3b75b20, >=b9703ed44ffbfba85c103b9de01886a225e14b38 <7eaf837a4eb5f74561e2486972e7f5184b613f6e, =6.4, =d131ce7a319d3bff68d5a9d5509bb22e4ce33946e77a6b53a3a547b6dedfc40c37cee4f310701090, 6.4, 4e4623a4f6e133e671f65f9ac493bddaaf63e250, 79846fdcc548d617b0b321addc6a3821d3b75b20, 7eaf837a4eb5f74561e2486972e7f5184b613f6e
linux-kernel: Kernel>=6.4.0 <6.6.23, >=6.7.0 <6.7.11, >=6.8.0 <6.8.2, >=6.3.3 <6.46.6.23, 6.7.11, 6.8.2, 6.4

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2024-27064 severity on Zeptric[![CVE-2024-27064](https://zeptric.io/badge/cve/CVE-2024-27064.svg)](https://zeptric.io/cve/CVE-2024-27064)