CVE Database›CVE-2024-27064

CVE-2024-27064

kernel: netfilter: nf_tables: Fix a memory leak in nf_tables_updchain

Loading…

Severity

Low

Red Hat Product Security

5.5

CVSS 3.1

Review impact separately from score.

Published · May 1, 2024

Updated · November 21, 2025

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.

CVSS score applicability

The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.

Mitigation

No mitigation is specified in collected source.

CVSS / CWE

CVSS 3.1 · 5.5
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

CWE not specified