CVE-2024-41090
Linux Tap Corrupted SKB Network Header Out-of-Bounds Access
Description
In the Linux kernel, the following vulnerability has been resolved: tap: add missing verification for short frame The cited commit missed to check against the validity of the frame length in the tap_get_user_xdp() path, which could cause a corrupted skb to be sent downstack. Even before the skb is transmitted, the tap_get_user_xdp()-->skb_set_network_header() may assume the size is more than ETH_HLEN. Once transmitted, this could either cause out-of-bound access beyond the actual length, or confuse the underlayer with incorrect or inconsistent header length in the skb metadata. In the alternative path, tap_get_user() already prohibits short frame which has the length less than Ethernet header size from being transmitted. This is to drop any frame shorter than the Ethernet header size just like how tap_get_user() does. CVE: CVE-2024-41090
INFO
Published Date :
July 29, 2024, 7:15 a.m.
Last Modified :
Nov. 21, 2024, 9:32 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-41090
.
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-41090
vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2024-41090
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/73d462a38d5f782b7c872fe9ae8393d9ef5483da Added Reference https://git.kernel.org/stable/c/7431144b406ae82807eb87d8c98e518475b0450f Added Reference https://git.kernel.org/stable/c/8be915fc5ff9a5e296f6538be12ea75a1a93bdea Added Reference https://git.kernel.org/stable/c/aa6a5704cab861c9b2ae9f475076e1881e87f5aa Added Reference https://git.kernel.org/stable/c/e1a786b9bbb767fd1c922d424aaa8078cc542309 Added Reference https://git.kernel.org/stable/c/e5e5e63c506b93b89b01f522b6a7343585f784e6 Added Reference https://git.kernel.org/stable/c/ed7f2afdd0e043a397677e597ced0830b83ba0b3 Added Reference https://git.kernel.org/stable/c/ee93e6da30377cf2a75e16cd32bb9fcd86a61c46 -
CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Jul. 29, 2024
Action Type Old Value New Value Added Description In the Linux kernel, the following vulnerability has been resolved: tap: add missing verification for short frame The cited commit missed to check against the validity of the frame length in the tap_get_user_xdp() path, which could cause a corrupted skb to be sent downstack. Even before the skb is transmitted, the tap_get_user_xdp()-->skb_set_network_header() may assume the size is more than ETH_HLEN. Once transmitted, this could either cause out-of-bound access beyond the actual length, or confuse the underlayer with incorrect or inconsistent header length in the skb metadata. In the alternative path, tap_get_user() already prohibits short frame which has the length less than Ethernet header size from being transmitted. This is to drop any frame shorter than the Ethernet header size just like how tap_get_user() does. CVE: CVE-2024-41090 Added Reference kernel.org https://git.kernel.org/stable/c/8be915fc5ff9a5e296f6538be12ea75a1a93bdea [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/7431144b406ae82807eb87d8c98e518475b0450f [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/e5e5e63c506b93b89b01f522b6a7343585f784e6 [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/ee93e6da30377cf2a75e16cd32bb9fcd86a61c46 [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/aa6a5704cab861c9b2ae9f475076e1881e87f5aa [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/73d462a38d5f782b7c872fe9ae8393d9ef5483da [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/e1a786b9bbb767fd1c922d424aaa8078cc542309 [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/ed7f2afdd0e043a397677e597ced0830b83ba0b3 [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-41090
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-41090
weaknesses.