CVE-2024-42284 tipc: Return non-zero value from tipc_udp_addr2str() on error
A buffer overflow in the Linux kernel TIPC module allows attackers to cause denial of service or potentially execute code via invalid UDP media addresses.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2024-42284?
CVE-2024-42284 is a critical memory corruption vulnerability in Linux kernel, published on 17 Aug 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
In the Linux kernel, the following vulnerability has been resolved:
tipc: Return non-zero value from tipc_udp_addr2str() on error
tipc_udp_addr2str() should return non-zero value if the UDP media address is invalid. Otherwise, a buffer overflow access can occur in tipc_media_addr_printf(). Fix this by returning 1 on an invalid UDP media address.
Weakness: CWE-754
Which versions are affected by CVE-2024-42284?
It affects 1 product.
Products include Linux kernel.
How do I fix CVE-2024-42284?
Apply the vendor's patch.
Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.
Is CVE-2024-42284 being exploited?
There is no known exploitation of CVE-2024-42284 in the wild and no public exploit code.
Other vulnerabilities in Linux kernel
Sources
Also known as AZL-47796, AZL-47835, BELL-CVE-2024-42284, DEBIAN-CVE-2024-42284, GHSA-qjff-gw69-2vjw, UBUNTU-CVE-2024-42284.