Bugzilla – Bug 1228328
VUL-0: CVE-2024-41090: kernel: virtio-net: tap: mlx5_core short frame denial of service
Last modified: 2024-07-25 16:37:17 UTC
A denial-of-service (DoS) attack issue was discovered in the Linux kernel. A KVM guest VM using virtio-net can crash the Linux host by sending a short packet (i.e. size < ETH_HLEN). 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 host panic happens, since mlx5_core assumes the frame size is always >= ETH_HLEN. References: http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2024-41090 https://seclists.org/oss-sec/2024/q3/110 https://bugzilla.redhat.com/show_bug.cgi?id=2299240
This vulnerability is related to code present in drivers/net/tap.c.