CVE-2024-41090

Source
https://nvd.nist.gov/vuln/detail/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
2025-11-27T02:32:23.613676Z
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/blob/cc431b3424123d84bcd7afd4de150b33f117a8ef/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
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
0efac27791ee068075d80f07c55a229b1335ce12
Fixed
7431144b406ae82807eb87d8c98e518475b0450f
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
0efac27791ee068075d80f07c55a229b1335ce12
Fixed
e5e5e63c506b93b89b01f522b6a7343585f784e6
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
0efac27791ee068075d80f07c55a229b1335ce12
Fixed
ee93e6da30377cf2a75e16cd32bb9fcd86a61c46
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
0efac27791ee068075d80f07c55a229b1335ce12
Fixed
aa6a5704cab861c9b2ae9f475076e1881e87f5aa
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
0efac27791ee068075d80f07c55a229b1335ce12
Fixed
73d462a38d5f782b7c872fe9ae8393d9ef5483da
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
0efac27791ee068075d80f07c55a229b1335ce12
Fixed
e1a786b9bbb767fd1c922d424aaa8078cc542309
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
0efac27791ee068075d80f07c55a229b1335ce12
Fixed
ed7f2afdd0e043a397677e597ced0830b83ba0b3

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
4.20.0
Fixed
5.4.281
Type
ECOSYSTEM
Events
Introduced
5.5.0
Fixed
5.10.223
Type
ECOSYSTEM
Events
Introduced
5.11.0
Fixed
5.15.164
Type
ECOSYSTEM
Events
Introduced
5.16.0
Fixed
6.1.102
Type
ECOSYSTEM
Events
Introduced
6.2.0
Fixed
6.6.43
Type
ECOSYSTEM
Events
Introduced
6.7.0
Fixed
6.9.12
Type
ECOSYSTEM
Events
Introduced
6.10.0
Fixed
6.10.2