CVE-2024-41090·Kernel vulnerability
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
- high
- Software
- Kernel
- Fixed in
- 6.10.2
- Published
- 2024-07-29
Affected versions
From: 6.10
Until: 6.10.2
Fixed in: 6.10.2
How to fix this CVE
Update your Linux kernel to version 6.10.2 or later to patch the TAP device frame validation vulnerability. This update adds mandatory length checks in the tap_get_user_xdp() code path to prevent malformed network frames from corrupting the socket buffer. Systems running kernel versions 6.10 through 6.10.1 should prioritize this update, as the vulnerability could lead to memory access violations or network stack confusion during packet processing.
sudo dnf update kernel kernel-devel && sudo rebootDefensia detects this vulnerability
How to check if you are affected
- Run `uname -r` to verify your current kernel version and confirm if it falls within the vulnerable range (6.10.0 to 6.10.1)
- Check if TAP networking is in use on your system by running `ip link show | grep tun` or `cat /proc/net/dev | grep tap`
- Search system logs for TAP-related errors using `sudo journalctl -u kernel | grep -i tap` or `sudo dmesg | grep -i tap` to identify if the vulnerability was triggered
- After applying the kernel update, verify the patch with `uname -r` and confirm the new version is 6.10.2 or higher
FAQ
What is CVE-2024-41090?
CVE-2024-41090 is a kernel vulnerability in the TAP virtual network device driver that fails to validate the minimum frame length before processing XDP packets. This can result in corrupted socket buffers being sent to lower network layers, potentially causing memory corruption or network stack inconsistencies.
Is CVE-2024-41090 being actively exploited?
No, CVE-2024-41090 is not currently being actively exploited according to CISA KEV data, and no public exploits have been released.
What versions of Kernel are affected by CVE-2024-41090?
Kernel versions 6.10.0 through 6.10.1 are affected. The vulnerability was introduced in a preceding commit and fixed in kernel 6.10.2.
How do I check if my server is vulnerable to CVE-2024-41090?
Run `uname -r` to display your kernel version. If the output shows version 6.10.0 or 6.10.1, your system is vulnerable and requires an immediate kernel update.
Does Defensia detect CVE-2024-41090?
Yes — Defensia's CVE advisory scanner compares installed package versions against the NVD database. If Kernel is installed on a monitored server, CVE-2024-41090 will appear in your dashboard with remediation steps.
Related Kernel CVEs
References
- https://git.kernel.org/stable/c/73d462a38d5f782b7c872fe9ae8393d9ef5483da
- https://git.kernel.org/stable/c/7431144b406ae82807eb87d8c98e518475b0450f
- https://git.kernel.org/stable/c/8be915fc5ff9a5e296f6538be12ea75a1a93bdea
- https://git.kernel.org/stable/c/aa6a5704cab861c9b2ae9f475076e1881e87f5aa
- https://git.kernel.org/stable/c/e1a786b9bbb767fd1c922d424aaa8078cc542309
Track CVEs across your fleet automatically
Defensia scans your Linux servers and tells you exactly which ones are running vulnerable versions — including CVE-2024-41090. Free for 1 server.
Get started free