CVE-2024-27417: ipv6: fix potential "struct net" leak in inet6_rtm_getaddr()
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.
Security readout for executives and security teams
Plain-English summary
CVE-2024-27417 is a Linux kernel IPv6 bug where a malformed address lookup request can leave a network namespace reference unreleased. The public record describes a resource leak, not code execution. Business urgency depends on kernel exposure and whether untrusted local workloads can interact with affected networking interfaces.
Executive priority
Treat as a routine kernel maintenance item unless affected systems run untrusted local code or shared workloads. There is no source-backed active exploitation signal, but resource leaks in kernel namespace handling merit timely patching through normal Linux update channels.
Technical view
The bug is in inet6_rtm_getaddr(). If userspace provides a valid IFA_TARGET_NETNSID but omits IFA_ADDRESS and IFA_LOCAL, the function returns -EINVAL while retaining an elevated struct net refcount. The CVE lists Linux kernel versions as affected and references multiple stable kernel commits resolving the issue.
Likely exposure
Exposure is limited to Linux systems running affected kernel builds. The source indicates userspace-triggered IPv6 netlink behavior; it does not establish remote network exploitation. Kernel version, distribution backports, and namespace usage determine practical exposure.
Exploitation context
CISA KEV is false in the provided bundle, and no cited source claims active exploitation. The available evidence describes the vulnerable condition and fixes, but not observed attacks, exploit maturity, or attacker prerequisites beyond userspace interaction.
Researcher notes
Focus analysis on IPv6 rtnetlink address lookup paths and struct net reference handling. The public bundle does not provide CVSS, CWE, exploit status, or detailed impact beyond a potential refcount leak, so severity should remain conservative.
Mitigation direction
Inventory Linux kernel versions across affected fleets.
Apply vendor or distribution kernel updates containing the referenced stable fixes.
Review Debian LTS advisory DLA-3823-1 where applicable.
Check vendor guidance for backported fixes before judging by version alone.
Prioritize multi-user systems running untrusted local workloads.
Validation and detection
Confirm the running kernel version and distribution package release.
Map installed kernels against vendor advisories and referenced stable commits.
Verify updated hosts booted into the remediated kernel.
Track exceptions where kernel updates require maintenance windows.
Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.
Potential ATT&CK relevance
Conservative CVE-to-ATT&CK context
These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.
ATT&CK lookup starting points
Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.
cve · low confidence lookup
CVE-2024-27417 mapping review
Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.
These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.