CVE-2023-52581
Linux Kernel Netfilter nf_tables Memory Leak
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.
INFO
Published Date :
March 2, 2024, 10:15 p.m.
Last Modified :
June 16, 2024, 1:15 p.m.
Source :
416baaa9-dc9f-4396-8d5f-8c081fb06d67
Remotely Exploitable :
No
Impact Score :
Exploitability Score :
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2023-52581
.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2023-52581
vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2023-52581
vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Jun. 16, 2024
Action Type Old Value New Value Added Reference kernel.org https://git.kernel.org/stable/c/7cf055b43756b10aa2b851c927c940f5ed652125 [No types assigned] -
CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
May. 28, 2024
Action Type Old Value New Value -
CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
May. 14, 2024
Action Type Old Value New Value -
CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Apr. 04, 2024
Action Type Old Value New Value Added Reference kernel.org https://git.kernel.org/stable/c/a995a68e8a3b48533e47c856865d109a1f1a9d01 [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/09c85f2d21ab6b5acba31a037985b13e8e6565b8 [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/ef99506eaf1dc31feff1adfcfd68bc5535a22171 [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/7e5d732e6902eb6a37b35480796838a145ae5f07 [No types assigned] -
CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Mar. 02, 2024
Action Type Old Value New Value Added 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. Added Reference Linux https://git.kernel.org/stable/c/4aea243b6853d06c1d160a9955b759189aa02b14 [No types assigned] Added Reference Linux https://git.kernel.org/stable/c/cf5000a7787cbc10341091d37245a42c119d26c5 [No types assigned]
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2023-52581
is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2023-52581
weaknesses.