CVE Tools

CVE-2023-52581

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

Published: Mar 2, 2024Updated: Apr 4, 2025 Sources: CVE List NVD BDU csafCWE-401

Description

In the Linux kernel, the following vulnerability has been resolved: netfilter: nf_tables: 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 nft_trans_gc_space() 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 call_rcu.

No summary for this CVE yet.

CVSS Vector Breakdown

AV:LAC:HPR:LUI:NS:UC:HI:NA:H
Exploitability
AV:LAttack Vector
Local
AC:HAttack Complexity
High
PR:LPrivileges Required
Low
UI:NUser Interaction
None
Scope
S:UScope
Unchanged
Impact
C:HConfidentiality
High
I:NIntegrity
None
A:HAvailability
High

Weaknesses

Affected Products

and 5 more affected products View all →

Exploitability

Official Patch Available

References

and 501 more references View all →

Unlock Complete Vulnerability Intelligence

Get the full picture for CVE-2023-52581 and every CVE in our database. Create a free account — no credit card required.

Create Free Account
Plain-language analysis
Impact assessment and exploitation scenario in plain English
Attack graph visualization
Interactive attack path and kill chain mapping
Exploit details & PoC links
ExploitDB, Metasploit, GitHub PoCs with direct links
Nuclei scanner templates
Ready-to-use vulnerability scanner templates
Full remediation guide
Patch instructions, workarounds, and compliance impact
Interactive AI chat
Ask questions about this vulnerability in natural language
Related vulnerabilities
Semantically similar CVEs and attack patterns
REST API & MCP access
Integrate vulnerability data into your workflows