CVE-2024-41090
tap: add missing verification for short frame
Check your servers for CVE-2024-41090
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2024-41090 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
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
Severity (CVSS)
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
- Attack vector
- local: the attacker needs local access, or a user has to open a prepared file
- Attack complexity
- low: an attack works without special conditions
- Privileges required
- low: the attacker needs an ordinary user account
- User interaction
- none: nobody has to click or open anything
- Scope
- changed: the damage reaches other components, such as the host of a container or other users
- Impact
- confidentiality high, integrity high, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)
Exploitation
EPSS 0.26%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 18.4% of all scored CVEs. Scores of 1 Dec 2026.
The assessment of CISA (SSVC, 10 Sep 2024):
- Exploitation
- none: CISA did not find evidence of exploitation or a public proof of concept
- Automatable
- no: each attack takes manual steps
- Technical impact
- partial: limited control or limited data
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from 0efac27791ee068075d80f07c55a229b1335ce12, before 8be915fc5ff9a5e296f6538be12ea75a1a93bdea affected from 0efac27791ee068075d80f07c55a229b1335ce12, before 7431144b406ae82807eb87d8c98e518475b0450f affected from 0efac27791ee068075d80f07c55a229b1335ce12, before e5e5e63c506b93b89b01f522b6a7343585f784e6 affected from 0efac27791ee068075d80f07c55a229b1335ce12, before ee93e6da30377cf2a75e16cd32bb9fcd86a61c46 affected from 0efac27791ee068075d80f07c55a229b1335ce12, before aa6a5704cab861c9b2ae9f475076e1881e87f5aa affected from 0efac27791ee068075d80f07c55a229b1335ce12, before 73d462a38d5f782b7c872fe9ae8393d9ef5483da affected from 0efac27791ee068075d80f07c55a229b1335ce12, before e1a786b9bbb767fd1c922d424aaa8078cc542309 affected from 0efac27791ee068075d80f07c55a229b1335ce12, before ed7f2afdd0e043a397677e597ced0830b83ba0b3
Other versions: unaffected
|
| Linux |
affected 4.20 unaffected before 4.20 unaffected from 5.4.281 up to and including 5.4.* unaffected from 5.10.223 up to and including 5.10.* unaffected from 5.15.164 up to and including 5.15.* unaffected from 6.1.102 up to and including 6.1.* unaffected from 6.6.43 up to and including 6.6.* unaffected from 6.9.12 up to and including 6.9.* unaffected from 6.10.2 up to and including 6.10.* unaffected 6.11 and later
Other versions: affected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2024-41090 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2024-41090
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2024-41090
trivy image --scanners vuln IMAGE | grep CVE-2024-41090
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://git.kernel.org/stable/c/8be915fc5ff9a5e296f6538be12ea75a1a93bdea git.kernel.org
- https://git.kernel.org/stable/c/7431144b406ae82807eb87d8c98e518475b0450f git.kernel.org
- https://git.kernel.org/stable/c/e5e5e63c506b93b89b01f522b6a7343585f784e6 git.kernel.org
- https://git.kernel.org/stable/c/ee93e6da30377cf2a75e16cd32bb9fcd86a61c46 git.kernel.org
- https://git.kernel.org/stable/c/aa6a5704cab861c9b2ae9f475076e1881e87f5aa git.kernel.org
- https://git.kernel.org/stable/c/73d462a38d5f782b7c872fe9ae8393d9ef5483da git.kernel.org
- https://git.kernel.org/stable/c/e1a786b9bbb767fd1c922d424aaa8078cc542309 git.kernel.org
- https://git.kernel.org/stable/c/ed7f2afdd0e043a397677e597ced0830b83ba0b3 git.kernel.org
- https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html lists.debian.org
Source: the record CVE-2024-41090 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse