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

Published May 17, 2024
·
Updated

In the Linux kernel, the following vulnerability has been resolved:

ipv6: fix potential "struct net" leak in inet6rtmgetaddr()

It seems that if userspace provides a correct IFATARGETNETNSID value but no IFAADDRESS and IFALOCAL attributes, inet6rtmgetaddr() returns -EINVAL with an elevated "struct net" refcount.

Other sources

In the Linux kernel, the following vulnerability has been resolved:

ipv6: fix potential "struct net" leak in inet6rtmgetaddr()

The Linux kernel CVE team has assigned CVE-2024-27417 to this issue.

Upstream advisory: https://lore.kernel.org/linux-cve-announce/2024051703-CVE-2024-27417-3841@gregkh/T

Red Hat

Affected Software

21 affected componentsFixes available
debian/linux
5.10.223-15.10.234-16.1.129-16.1.135-16.12.25-16.12.27-1
redhat/kernel<5.4.271
5.4.271
redhat/kernel<5.10.212
5.10.212
redhat/kernel<5.15.151
5.15.151
redhat/kernel<6.1.81
6.1.81
redhat/kernel<6.6.21
6.6.21
redhat/kernel<6.7.9
6.7.9
redhat/kernel<6.8
6.8
Linux Linux kernel>=4.20<5.4.271
Linux Linux kernel>=5.5<5.10.212
Linux Linux kernel>=5.11<5.15.151
Linux Linux kernel>=5.16<6.1.81
Linux Linux kernel>=6.2<6.6.21
Linux Linux kernel>=6.7<6.7.9
Linux Linux kernel=6.8-rc1
Linux Linux kernel=6.8-rc2
Linux Linux kernel=6.8-rc3
Linux Linux kernel=6.8-rc4
Linux Linux kernel=6.8-rc5
Linux Linux kernel=6.8-rc6
Debian Debian Linux=10.0

Event History

May 17, 2024
CVE Published
via MITRE·11:51 AM
Data Sourced
via MITRE·11:51 AM
Description
Data Sourced
via NVD·12:15 PM
Description
Data Sourced
via NVD·12:15 PM
RemedySeverityWeaknessAffected Software
Data Sourced
via Red Hat·09:53 PM
DescriptionSeverityAffected Software
Jun 8, 2024
Data Sourced
via Launchpad·01:14 AM
Description
Apr 29, 2025
Data Sourced
via Ubuntu·06:17 AM
RemedyDescriptionSeverityAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2024-27417?

CVE-2024-27417 is classified as a moderate severity vulnerability in the Linux kernel.

2

How do I fix CVE-2024-27417?

To fix CVE-2024-27417, users should update to the patched kernel versions provided by their Linux distribution.

3

Which Linux kernel versions are affected by CVE-2024-27417?

CVE-2024-27417 affects various versions including those below 5.4.271, 5.10.212, 5.15.151, 6.1.81, 6.6.21, 6.7.9, and 6.8.

4

What does CVE-2024-27417 specifically address?

CVE-2024-27417 addresses a potential 'struct net' leak in the ipv6 function inet6_rtm_getaddr() in the Linux kernel.

5

Is CVE-2024-27417 present in Red Hat or Debian kernels?

Yes, CVE-2024-27417 is present in specific versions of the kernel packages for both Red Hat and Debian.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203