CVE-2024-27417 ipv6: fix potential "struct net" leak in inet6_rtm_getaddr()
A local attacker can cause a memory leak in the Linux kernel IPv6 subsystem by sending specific netlink messages, potentially leading to resource exhaustion.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2024-27417?
CVE-2024-27417 is a medium-severity denial of service vulnerability in Debian Debian Linux, published on 17 May 2024. It can only be exploited from the same machine or local network, with no action from the victim.
Official description
In the Linux kernel, the following vulnerability has been resolved:
ipv6: fix potential "struct net" leak in inet6_rtm_getaddr()
It seems that if userspace provides a correct IFA_TARGET_NETNSID value but no IFA_ADDRESS and IFA_LOCAL attributes, inet6_rtm_getaddr() returns -EINVAL with an elevated "struct net" refcount.
Weakness: CWE-401
Which versions are affected by CVE-2024-27417?
It affects 2 products.
Products include Debian Debian Linux, Linux kernel.
How do I fix CVE-2024-27417?
Apply the vendor's patch.
Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.
Is CVE-2024-27417 being exploited?
There is no known exploitation of CVE-2024-27417 in the wild and no public exploit code.
Other vulnerabilities in Debian Debian Linux
Sources
Also known as BELL-CVE-2024-27417, DEBIAN-CVE-2024-27417, GHSA-vqrc-44v8-36x8, UBUNTU-CVE-2024-27417.