CVE-2023-52581: netfilter: nf_tables: fix memleak when more than 255 elements expired

Published Mar 2, 2024
·
Updated

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

netfilter: nftables: fix memleak when more than 255 elements expired

The Linux kernel CVE team has assigned CVE-2023-52581 to this issue.

Upstream advisory: https://lore.kernel.org/linux-cve-announce/2024030258-CVE-2023-52581-2165@gregkh/T/#u

Other sources

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

netfilter: nftables: fix memleak when more than 255 elements expired

When more than 255 elements expired we're supposed to switch to a new gc container structure.

This never happens: u8 type will wrap before reaching the boundary and nfttransgcspace() always returns true.

This means we recycle the initial gc container structure and lose track of the elements that came before.

While at it, don't deref 'gc' after we've passed it to callrcu.

NVD

Affected Software

9 affected componentsFixes available
redhat/kernel<6.5.6
6.5.6
redhat/kernel<6.6
6.6
Linux Linux kernel>=6.5<6.5.6
Linux Linux kernel=6.6-rc1
Linux Linux kernel=6.6-rc2
IBM Security Verify Governance<=ISVG 10.0.2
IBM Security Verify Governance, Identity Manager Software Stack<=ISVG 10.0.2
IBM Security Verify Governance, Identity Manager Virtual Appliance<=ISVG 10.0.2
IBM Security Verify Governance Identity Manager Container<=ISVG 10.0.2

Event History

Mar 2, 2024
CVE Published
via MITRE·09:59 PM
Data Sourced
via MITRE·09:59 PM
Description
Mar 4, 2024
Data Sourced
via Red Hat·06:12 PM
DescriptionSeverityAffected Software

Parent advisories

This vulnerability appears in the following advisories.

Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2023-52581?

CVE-2023-52581 has a severity rating of medium due to the potential for memory leaks in the Linux kernel's netfilter functionality.

2

How do I fix CVE-2023-52581?

To fix CVE-2023-52581, upgrade your Linux kernel to version 6.5.6 or later, or to version 6.6.

3

What systems are affected by CVE-2023-52581?

CVE-2023-52581 affects systems running vulnerable versions of the Linux kernel prior to 6.5.6 and 6.6.

4

What is the nature of the issue described in CVE-2023-52581?

CVE-2023-52581 involves a memory leak issue when more than 255 elements expire in the netfilter subsystem of the Linux kernel.

5

Is CVE-2023-52581 being actively exploited?

As of now, there are no reports indicating that CVE-2023-52581 is being actively exploited in the wild.

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