CVE-2024-27417

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

MEDIUM
5.5
CVSS Score
Published: May 17, 2024 at 11:51 AM UTC
Updated: June 17, 2026 at 07:19 AM UTC
2 products affected across 2 vendorsLinux KernelDebian Linux

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.5
Exploit prediction
EPSS 0.2%
SSVC
No known exploit

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

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

4.20 ≤ v < 5.10.2124.20 ≤ v < 5.15.1514.20 ≤ v < 5.4.2714.20 ≤ v < 6.1.814.20 ≤ v < 6.6.214.20 ≤ v < 6.7.94.20 ≤ v < 6.85.11 ≤ v < 5.15.1515.16 ≤ v < 6.1.815.5 ≤ v < 5.10.2126.2 ≤ v < 6.6.216.7 ≤ v < 6.7.94.206.8 rc16.8 rc26.8 rc36.8 rc46.8 rc56.8 rc66ecf4c37eb3e89b0832c9616089a5cdca3747da7
Vendor states this is fixed in 10bfd453da64a057bcfd1a49fb6b271c48653cdb (fixed)
Vendor states this is fixed in 1b0998fdd85776775d975d0024bca227597e836a (fixed)
Vendor states this is fixed in 33a1b6bfef6def2068c8703403759024ce17053e (fixed)
Vendor states this is fixed in 44112bc5c74e64f28f5a9127dc34066c7a09bd0f (fixed)
Vendor states this is fixed in 810fa7d5e5202fcfb22720304b755f1bdfd4c174 (fixed)
Vendor states this is fixed in 8a54834c03c30e549c33d5da0975f3e1454ec906 (fixed)
Vendor states this is fixed in 9d4ffb5b9d879a75e4f7460e8b10e756b4dfb132 (fixed)
Vendor states this is fixed in 4.20 (unaffected)
Vendor states this is fixed in 5.10.212 (unaffected)
Vendor states this is fixed in 5.15.151 (unaffected)
Vendor states this is fixed in 5.4.271 (unaffected)
Vendor states this is fixed in 6.1.81 (unaffected)
Vendor states this is fixed in 6.6.21 (unaffected)
Vendor states this is fixed in 6.7.9 (unaffected)
Vendor states this is fixed in 6.8 (unaffected)

References (8)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/10bfd453da64a057bcfd1a49fb6b271c48653cdb
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/1b0998fdd85776775d975d0024bca227597e836a
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/33a1b6bfef6def2068c8703403759024ce17053e
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/44112bc5c74e64f28f5a9127dc34066c7a09bd0f
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/810fa7d5e5202fcfb22720304b755f1bdfd4c174
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/8a54834c03c30e549c33d5da0975f3e1454ec906
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/9d4ffb5b9d879a75e4f7460e8b10e756b4dfb132
Third Party Advisory
Source: af854a3a-2127-422b-91ae-364da2661108
https://lists.debian.org/debian-lts-announce/2024/06/msg00017.html

SSVC — Action Prioritization

SSVCNo known exploitNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusANALYZED
CWE
CWE-401

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card