CVE-2024-27064

netfilter: nf_tables: Fix a memory leak in nf_tables_updchain

MEDIUM
5.5
CVSS Score
Published: May 1, 2024 at 01:04 PM UTC
Updated: June 17, 2026 at 07:19 AM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.5
Exploit prediction
EPSS 0.2%
SSVC
No known exploit

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.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

v ≥ 6.3.36.3.3 ≤ v < 6.46.4 ≤ v < 6.6.236.4 ≤ v < 6.7.116.4 ≤ v < 6.8.26.4 ≤ v < 6.96.7 ≤ v < 6.7.116.8 ≤ v < 6.8.26.3.36.4b9703ed44ffbfba85c103b9de01886a225e14b38d131ce7a319d3bff68d5a9d5509bb22e4ce33946
Vendor states this is fixed in 4e4623a4f6e133e671f65f9ac493bddaaf63e250 (fixed)
Vendor states this is fixed in 79846fdcc548d617b0b321addc6a3821d3b75b20 (fixed)
Vendor states this is fixed in 7eaf837a4eb5f74561e2486972e7f5184b613f6e (fixed)
Vendor states this is fixed in e77a6b53a3a547b6dedfc40c37cee4f310701090 (fixed)
Vendor states this is fixed in 6.4 (unaffected)
Vendor states this is fixed in 6.6.23 (unaffected)
Vendor states this is fixed in 6.7.11 (unaffected)
Vendor states this is fixed in 6.8.2 (unaffected)
Vendor states this is fixed in 6.9 (unaffected)

References (4)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/4e4623a4f6e133e671f65f9ac493bddaaf63e250
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/79846fdcc548d617b0b321addc6a3821d3b75b20
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/7eaf837a4eb5f74561e2486972e7f5184b613f6e
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/e77a6b53a3a547b6dedfc40c37cee4f310701090

SSVC — Action Prioritization

SSVCNo known exploitNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusANALYZED
CWE
CWE-401

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card