Rapid7

vulnerability

Amazon Linux AMI 2: CVE-2024-41091: Security patch for kernel, kernel-livepatch-5.10.217-205.860, kernel-livepatch-5.10.218-206.860, kernel-livepatch-5.10.218-208.862, kernel-livepatch-5.10.219-208.866, kernel-livepatch-5.10.220-209.867, kernel-livepatch-5.10.220-209.869 (Multiple Advisories)

Severity
6
CVSS
(AV:L/AC:L/Au:S/C:C/I:N/A:C)
Published
Jul 29, 2024
Added
Aug 14, 2024
Modified
May 20, 2026

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

Solutions

amazon-linux-ami-2-upgrade-bpftoolamazon-linux-ami-2-upgrade-bpftool-debuginfoamazon-linux-ami-2-upgrade-kernelamazon-linux-ami-2-upgrade-kernel-debuginfoamazon-linux-ami-2-upgrade-kernel-debuginfo-common-aarch64amazon-linux-ami-2-upgrade-kernel-debuginfo-common-x86_64amazon-linux-ami-2-upgrade-kernel-develamazon-linux-ami-2-upgrade-kernel-headersamazon-linux-ami-2-upgrade-kernel-livepatch-5-10-217-205-860amazon-linux-ami-2-upgrade-kernel-livepatch-5-10-217-205-860-debuginfoamazon-linux-ami-2-upgrade-kernel-livepatch-5-10-218-206-860amazon-linux-ami-2-upgrade-kernel-livepatch-5-10-218-206-860-debuginfoamazon-linux-ami-2-upgrade-kernel-livepatch-5-10-218-208-862amazon-linux-ami-2-upgrade-kernel-livepatch-5-10-218-208-862-debuginfoamazon-linux-ami-2-upgrade-kernel-livepatch-5-10-219-208-866amazon-linux-ami-2-upgrade-kernel-livepatch-5-10-220-209-867amazon-linux-ami-2-upgrade-kernel-livepatch-5-10-220-209-869amazon-linux-ami-2-upgrade-kernel-livepatch-5-10-223-211-872amazon-linux-ami-2-upgrade-kernel-livepatch-5-15-164-108-161amazon-linux-ami-2-upgrade-kernel-toolsamazon-linux-ami-2-upgrade-kernel-tools-debuginfoamazon-linux-ami-2-upgrade-kernel-tools-develamazon-linux-ami-2-upgrade-perfamazon-linux-ami-2-upgrade-perf-debuginfoamazon-linux-ami-2-upgrade-python-perfamazon-linux-ami-2-upgrade-python-perf-debuginfo

References

    Title
    Rapid7 Labs

    2026 Global Threat Landscape Report

    The predictive window has collapsed. Exploitation follows disclosure in days. See how attackers are accelerating and how to stay ahead.