CVE-2024-41090: tap: add missing verification for short frame

Published Jul 22, 2024
·
Updated

A denial-of-service (DoS) attack was found in the mlx5 driver in the Linux kernel. A KVM guest VM using virtio-net can crash the host by sending a short packet (i.e. size < ETHHLEN). The packet may traverse through vhost-net, macvtap and vlan without any validation/drop. When this packet is presented to mlx5 driver on the host side, the kernel panic happens, since mlx5core assumes the frame size is always >= ETHHLEN.

This vulnerability affects both drivers/net/tun.c and drivers/net/tap.c. CVE-2024-41090 has been assigned to the TAP side of the issue.

Reference: https://www.openwall.com/lists/oss-security/2024/07/24/4

Other sources

CVE-2024-41090 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 CVE-2024-41091 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 tunxdpone() path, which could cause a corrupted skb to be sent downstack. Even before the skb is transmitted, the tunxdpone-->ethtypetrans() may access the Ethernet header although it can be less 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, tungetuser() already prohibits short frame which has the length less than Ethernet header size from being transmitted for IFFTAP. This is to drop any frame shorter than the Ethernet header size just like how tungetuser() does. CVE: CVE-2024-41091

F5

Linux Kernel is vulnerable to a denial of service, caused by missing check against the validity of the frame length in the tapgetuserxdp() path. By sending a specially crafted request, a local attacker could exploit this vulnerability to cause a denial of service condition.

IBM

Affected Software

16 affected componentsFixes available
F5 BIG-IP Next=20.2.1
20.3.0
F5 BIG-IP Next Central Manager=20.2.1
20.3.0
F5 Traffix SDC=5.2.0
IBM Security Verify Governance<=ISVG 10.0.2
IBM Security Verify Governance, Identity Manager Software Stack<=ISVG 10.0.2
IBM Security Verify Governance, Identity Manager Virtual Appliance<=ISVG 10.0.2
IBM Security Verify Governance Identity Manager Container<=ISVG 10.0.2
debian/linux
5.10.223-15.10.234-16.1.129-16.1.135-16.12.25-16.12.27-1
debian/linux-6.1
6.1.129-1~deb11u1
Linux Linux kernel>=4.20<5.4.281
Linux Linux kernel>=5.5<5.10.223
Linux Linux kernel>=5.11<5.15.164
Linux Linux kernel>=5.16<6.1.102
Linux Linux kernel>=6.2<6.6.43
Linux Linux kernel>=6.7<6.9.12
Linux Linux kernel>=6.10<6.10.2

Event History

Jul 22, 2024
Data Sourced
via Red Hat·10:29 AM
DescriptionSeverityAffected Software
Jul 29, 2024
CVE Published
via MITRE·06:18 AM
Data Sourced
via MITRE·06:18 AM
Description
Data Sourced
via NVD·07:15 AM
Description
Data Sourced
via NVD·07:15 AM
RemedySeverityWeaknessAffected Software
Dec 3, 2024
Advisory Published
via F5·08:19 PM
Apr 27, 2025
Data Sourced
via Ubuntu·12:32 AM
RemedyDescriptionSeverityAffected Software

Parent advisories

This vulnerability appears in the following advisories.

Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2024-41090?

CVE-2024-41090 has a high severity due to its potential to cause a denial-of-service (DoS) attack.

2

How do I fix CVE-2024-41090?

To fix CVE-2024-41090, update to the recommended versions of the affected Linux kernel packages or F5 products as specified in the advisory.

3

Which systems are affected by CVE-2024-41090?

CVE-2024-41090 affects Linux kernel versions prior to the specified updates and certain F5 BIG-IP and Traffix products.

4

What types of attacks can CVE-2024-41090 facilitate?

CVE-2024-41090 facilitates denial-of-service (DoS) attacks that can crash the host operating system.

5

Is there a workaround for CVE-2024-41090?

Currently, no specific workaround is documented for CVE-2024-41090 aside from applying the necessary updates.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203