CVE-2024-41090

Source
https://cve.org/CVERecord?id=CVE-2024-41090
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-41090.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2024-41090
Downstream
Related
Published
2024-07-29T06:18:10.896Z
Modified
2026-03-20T12:37:31.094210Z
Summary
tap: add missing verification for short frame
Details

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 tapgetuserxdp() path, which could cause a corrupted skb to be sent downstack. Even before the skb is transmitted, the tapgetuserxdp()-->skbsetnetworkheader() may assume the size is more than ETHHLEN. 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, tapgetuser() 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 tapgetuser() does.

CVE: CVE-2024-41090

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/41xxx/CVE-2024-41090.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
0efac27791ee068075d80f07c55a229b1335ce12
Fixed
8be915fc5ff9a5e296f6538be12ea75a1a93bdea
Fixed
7431144b406ae82807eb87d8c98e518475b0450f
Fixed
e5e5e63c506b93b89b01f522b6a7343585f784e6
Fixed
ee93e6da30377cf2a75e16cd32bb9fcd86a61c46
Fixed
aa6a5704cab861c9b2ae9f475076e1881e87f5aa
Fixed
73d462a38d5f782b7c872fe9ae8393d9ef5483da
Fixed
e1a786b9bbb767fd1c922d424aaa8078cc542309
Fixed
ed7f2afdd0e043a397677e597ced0830b83ba0b3

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-41090.json"