CVE-2024-27064: netfilter: nf_tables: Fix a memory leak in nf_tables_updchain

Published May 1, 2024
·
Updated

In the Linux kernel, the following vulnerability has been resolved:

netfilter: nftables: Fix a memory leak in nftablesupdchain

If nftnetdevregisterhooks() fails, the memory associated with nftstats is not freed, causing a memory leak.

This patch fixes it by moving nftstatsalloc() down after nftnetdevregisterhooks() succeeds.

Affected Software

5 affected componentsFixes available
Linux Linux kernel>=6.3.3<6.4
Linux Linux kernel>=6.4<6.6.23
Linux Linux kernel>=6.7<6.7.11
Linux Linux kernel>=6.8<6.8.2
debian/linux
5.10.223-15.10.234-16.1.129-16.1.135-16.12.25-1

Event History

May 1, 2024
CVE Published
via MITRE·01:04 PM
Data Sourced
via MITRE·01:04 PM
Description
Jun 8, 2024
Data Sourced
via Launchpad·01:13 AM
Description
Jan 6, 2025
Data Sourced
via Ubuntu·06:41 AM
RemedyDescriptionSeverityAffected Software
Mar 27, 2025
Data Sourced
via Debian·02:17 PM
DescriptionAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2024-27064?

The severity of CVE-2024-27064 is considered medium due to the potential for a memory leak affecting system performance.

2

Which versions of the Linux kernel are affected by CVE-2024-27064?

CVE-2024-27064 affects the Linux kernel versions from 6.3.3 up to, but not including 6.6.23, 6.7 up to 6.7.11, and 6.8 up to 6.8.2.

3

How do I fix CVE-2024-27064?

To fix CVE-2024-27064, you should upgrade your Linux kernel to a patched version available after the vulnerability disclosure.

4

What type of vulnerability is CVE-2024-27064?

CVE-2024-27064 is a memory leak vulnerability in the netfilter component of the Linux kernel.

5

What impact does CVE-2024-27064 have on system stability?

CVE-2024-27064 can lead to increased memory consumption over time, potentially degrading system stability and performance.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203