CVE-2024-40937
Linux GVE Dangling Pointer Vulnerability
Description
In the Linux kernel, the following vulnerability has been resolved: gve: Clear napi->skb before dev_kfree_skb_any() gve_rx_free_skb incorrectly leaves napi->skb referencing an skb after it is freed with dev_kfree_skb_any(). This can result in a subsequent call to napi_get_frags returning a dangling pointer. Fix this by clearing napi->skb before the skb is freed.
INFO
Published Date :
July 12, 2024, 1:15 p.m.
Last Modified :
Nov. 21, 2024, 9:31 a.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-2024-40937
.
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-2024-40937
vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2024-40937
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 af854a3a-2127-422b-91ae-364da2661108
Nov. 21, 2024
Action Type Old Value New Value Added Reference https://git.kernel.org/stable/c/2ce5341c36993b776012601921d7688693f8c037 Added Reference https://git.kernel.org/stable/c/6f4d93b78ade0a4c2cafd587f7b429ce95abb02e Added Reference https://git.kernel.org/stable/c/75afd8724739ee5ed8165acde5f6ac3988b485cc Added Reference https://git.kernel.org/stable/c/a68184d5b420ea4fc7e6b7ceb52bbc66f90d3c50 Added Reference https://git.kernel.org/stable/c/d221284991118c0ab16480b53baecd857c0bc442 -
CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Jul. 12, 2024
Action Type Old Value New Value Added Description In the Linux kernel, the following vulnerability has been resolved: gve: Clear napi->skb before dev_kfree_skb_any() gve_rx_free_skb incorrectly leaves napi->skb referencing an skb after it is freed with dev_kfree_skb_any(). This can result in a subsequent call to napi_get_frags returning a dangling pointer. Fix this by clearing napi->skb before the skb is freed. Added Reference kernel.org https://git.kernel.org/stable/c/75afd8724739ee5ed8165acde5f6ac3988b485cc [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/d221284991118c0ab16480b53baecd857c0bc442 [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/2ce5341c36993b776012601921d7688693f8c037 [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/a68184d5b420ea4fc7e6b7ceb52bbc66f90d3c50 [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/6f4d93b78ade0a4c2cafd587f7b429ce95abb02e [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-2024-40937
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-2024-40937
weaknesses.