What’s Vulnerable › Vulnerabilities

CVE-2024-27417: ipv6: fix potential "struct net" leak in inet6_rtm_getaddr()

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.

Affected products

How to fix

Upgrade to a fixed version: Linux kernel 5.10.212, 5.15.151, 5.4.271, 6.1.81. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2024-27417 or the next vulnerability affects your stack