CVE-2024-41091

tun: add missing verification for short frame

HIGH
7.1
CVSS Score
Published: July 29, 2024 at 06:18 AM UTC
Updated: August 5, 2026 at 12:04 PM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
HIGH7.1
Exploit prediction
EPSS 0.3%
SSVC
No known exploit

Description

In the Linux kernel, the following vulnerability has been resolved: tun: add missing verification for short frame The cited commit missed to check against the validity of the frame length in the tun_xdp_one() path, which could cause a corrupted skb to be sent downstack. Even before the skb is transmitted, the tun_xdp_one-->eth_type_trans() may access the Ethernet header although it can be less 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, tun_get_user() already prohibits short frame which has the length less than Ethernet header size from being transmitted for IFF_TAP. This is to drop any frame shorter than the Ethernet header size just like how tun_get_user() does. CVE: CVE-2024-41091

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

4.20 ≤ v < 5.10.2234.20 ≤ v < 5.15.1644.20 ≤ v < 5.4.2814.20 ≤ v < 6.1.1024.20 ≤ v < 6.10.24.20 ≤ v < 6.114.20 ≤ v < 6.6.434.20 ≤ v < 6.9.125.11 ≤ v < 5.15.1645.16 ≤ v < 6.1.1025.5 ≤ v < 5.10.2236.10 ≤ v < 6.10.26.2 ≤ v < 6.6.436.7 ≤ v < 6.9.124.2043d222f93ab8c76b56a3b315cd8692e35affb6c
Vendor states this is fixed in 32b0aaba5dbc85816898167d9b5d45a22eae82e9 (fixed)
Vendor states this is fixed in 49584807f1d797fc3078b68035450a9769eb5c3 (fixed)
Vendor states this is fixed in 589382f50b4a5d90d16d8bc9dcbc0e927a3e39b2 (fixed)
Vendor states this is fixed in 6100e0237204890269e3f934acfc50d35fd6f319 (fixed)
Vendor states this is fixed in 8418f55302fa1d2eeb73e16e345167e545c598a5 (fixed)
Vendor states this is fixed in a9d1c27e2ee3b0ea5d40c105d6e728fc114470bb (fixed)
Vendor states this is fixed in ad6b3f622ccfb4bfedfa53b6ebd91c3d1d04f146 (fixed)
Vendor states this is fixed in d5ad89b7d01ed4e66fd04734fc63d6e78536692a (fixed)
Vendor states this is fixed in 4.20 (unaffected)
Vendor states this is fixed in 5.10.223 (unaffected)
Vendor states this is fixed in 5.15.164 (unaffected)
Vendor states this is fixed in 5.4.281 (unaffected)
Vendor states this is fixed in 6.1.102 (unaffected)
Vendor states this is fixed in 6.10.2 (unaffected)
Vendor states this is fixed in 6.11 (unaffected)
Vendor states this is fixed in 6.6.43 (unaffected)
Vendor states this is fixed in 6.9.12 (unaffected)

References (9)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/049584807f1d797fc3078b68035450a9769eb5c3
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/32b0aaba5dbc85816898167d9b5d45a22eae82e9
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/589382f50b4a5d90d16d8bc9dcbc0e927a3e39b2
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/6100e0237204890269e3f934acfc50d35fd6f319
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/8418f55302fa1d2eeb73e16e345167e545c598a5
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/a9d1c27e2ee3b0ea5d40c105d6e728fc114470bb
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/ad6b3f622ccfb4bfedfa53b6ebd91c3d1d04f146
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/d5ad89b7d01ed4e66fd04734fc63d6e78536692a

SSVC — Action Prioritization

SSVCNo known exploitNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-125

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card