# CVE-2024-27417: ipv6: fix potential "struct net" leak in inet6\_rtm\_getaddr()

- Priority: **Routine**
- Reason: Not severe (CVSS 5.5, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2024-05-17 · Modified: 2026-05-11
- Aliases: UBUNTU-CVE-2024-27417, DEBIAN-CVE-2024-27417
- Record: https://cvemate.com/vulnerability/CVE-2024-27417 · JSON: https://cvemate.com/vulnerability/CVE-2024-27417/json

## Description

```text
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.
```

## Signals

- CVSS: 5.5 medium (v3.1, NVD) CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- EPSS: 0.239%, percentile 16.093%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected (first 20 of 117)

- debian linux (Debian): \< 6.1.82-1 \| \< 6.7.9-1
- ubuntu linux (Ubuntu): \< 5.4.0-186.206 \| \< 5.15.0-112.122
- ubuntu linux-allwinner-5.19 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws (Ubuntu): \< 5.4.0-1126.136 \| \< 5.15.0-1063.69
- ubuntu linux-aws-5.0 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.11 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.13 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.15 (Ubuntu): \< 5.15.0-1063.69~20.04.1
- ubuntu linux-aws-5.19 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.3 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.4 (Ubuntu): \< 5.4.0-1126.136~18.04.1
- ubuntu linux-aws-5.8 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.2 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.5 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-fips (Ubuntu): \< 5.4.0-1126.136+fips2 \| All versions (No fix recorded) \| \< 5.15.0-1063.69+fips1
- ubuntu linux-azure (Ubuntu): All versions (No fix recorded) \| \< 5.4.0-1131.138 \| \< 5.15.0-1066.75
- ubuntu linux-azure-5.11 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-azure-5.13 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-azure-5.15 (Ubuntu): \< 5.15.0-1065.74~20.04.1
- ubuntu linux-azure-5.19 (Ubuntu): All versions (No fix recorded)

## References (first 20 of 24)

- <https://git.kernel.org/stable/c/9d4ffb5b9d879a75e4f7460e8b10e756b4dfb132>
- <https://git.kernel.org/stable/c/810fa7d5e5202fcfb22720304b755f1bdfd4c174>
- <https://git.kernel.org/stable/c/8a54834c03c30e549c33d5da0975f3e1454ec906>
- <https://git.kernel.org/stable/c/1b0998fdd85776775d975d0024bca227597e836a>
- <https://git.kernel.org/stable/c/44112bc5c74e64f28f5a9127dc34066c7a09bd0f>
- <https://git.kernel.org/stable/c/33a1b6bfef6def2068c8703403759024ce17053e>
- <https://git.kernel.org/stable/c/10bfd453da64a057bcfd1a49fb6b271c48653cdb>
- <https://lists.debian.org/debian-lts-announce/2024/06/msg00017.html>
- <https://ubuntu.com/security/CVE-2024-27417>
- <https://www.cve.org/CVERecord?id=CVE-2024-27417>
- <https://git.kernel.org/linus/10bfd453da64a057bcfd1a49fb6b271c48653cdb>
- <https://ubuntu.com/security/notices/USN-6820-1>
- <https://ubuntu.com/security/notices/USN-6821-1>
- <https://ubuntu.com/security/notices/USN-6821-2>
- <https://ubuntu.com/security/notices/USN-6828-1>
- <https://ubuntu.com/security/notices/USN-6820-2>
- <https://ubuntu.com/security/notices/USN-6821-3>
- <https://ubuntu.com/security/notices/USN-6831-1>
- <https://ubuntu.com/security/notices/USN-6821-4>
- <https://ubuntu.com/security/notices/USN-6867-1>

---

Data as of 2026-12-05T04:44:25.288Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
