CVE-2024-27417

published 17 May 2024 · updated 11 May 2026

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

5.0MediumEPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 10bfd453da64a057bcfd1a49fb6b271c48653cdb, Kernel 1b0998fdd85776775d975d0024bca227597e836a, Kernel 33a1b6bfef6def2068c8703403759024ce17053e and 4 more.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel=4.20, >=6ecf4c37eb3e89b0832c9616089a5cdca3747da7 <10bfd453da64a057bcfd1a49fb6b271c48653cdb, >=6ecf4c37eb3e89b0832c9616089a5cdca3747da7 <1b0998fdd85776775d975d0024bca227597e836a, >=6ecf4c37eb3e89b0832c9616089a5cdca3747da7 <33a1b6bfef6def2068c8703403759024ce17053e, >=6ecf4c37eb3e89b0832c9616089a5cdca3747da7 <44112bc5c74e64f28f5a9127dc34066c7a09bd0f, >=6ecf4c37eb3e89b0832c9616089a5cdca3747da7 <810fa7d5e5202fcfb22720304b755f1bdfd4c174, >=6ecf4c37eb3e89b0832c9616089a5cdca3747da7 <8a54834c03c30e549c33d5da0975f3e1454ec906, >=6ecf4c37eb3e89b0832c9616089a5cdca3747da7 <9d4ffb5b9d879a75e4f7460e8b10e756b4dfb13210bfd453da64a057bcfd1a49fb6b271c48653cdb, 1b0998fdd85776775d975d0024bca227597e836a, 33a1b6bfef6def2068c8703403759024ce17053e, 44112bc5c74e64f28f5a9127dc34066c7a09bd0f, 810fa7d5e5202fcfb22720304b755f1bdfd4c174, 8a54834c03c30e549c33d5da0975f3e1454ec906, 9d4ffb5b9d879a75e4f7460e8b10e756b4dfb132

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2024-27417 severity on Zeptric[![CVE-2024-27417](https://zeptric.io/badge/cve/CVE-2024-27417.svg)](https://zeptric.io/cve/CVE-2024-27417)