CVE-2024-27417
JSON

5.5medium

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

Severity
5.5medium CVSS:3.1 by NVD
Exploit likelihood
0.24% (higher than 16% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Linux

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

Product or packageVersionsReported by
Linux Linuxfrom 6ecf4c37eb3e89b0832c9616089a5cdca3747da7 before 9d4ffb5b9d879a75e4f7460e8b10e756b4dfb132, from 6ecf4c37eb3e89b0832c9616089a5cdca3747da7 before 810fa7d5e5202fcfb22720304b755f1bdfd4c174, from 6ecf4c37eb3e89b0832c9616089a5cdca3747da7 before 8a54834c03c30e549c33d5da0975f3e1454ec906, from 6ecf4c37eb3e89b0832c9616089a5cdca3747da7 before 1b0998fdd85776775d975d0024bca227597e836a, from 6ecf4c37eb3e89b0832c9616089a5cdca3747da7 before 44112bc5c74e64f28f5a9127dc34066c7a09bd0f, from 6ecf4c37eb3e89b0832c9616089a5cdca3747da7 before 33a1b6bfef6def2068c8703403759024ce17053e, from 6ecf4c37eb3e89b0832c9616089a5cdca3747da7 before 10bfd453da64a057bcfd1a49fb6b271c48653cdb, 4.20
Not affected: before 4.20, from 5.4.271 up to 5.4.*, from 5.10.212 up to 5.10.*, from 5.15.151 up to 5.15.*, from 6.1.81 up to 6.1.*, from 6.6.21 up to 6.6.*
CVE List
linux linux_kernelfrom 4.20 before 5.4.271, from 5.5 before 5.10.212, from 5.11 before 5.15.151, from 5.16 before 6.1.81, from 6.2 before 6.6.21, from 6.7 before 6.7.9, 6.8NVD
debian debian_linux10.0NVD

Classification

CWE-401

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

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.

NVD (es)

En el kernel de Linux, se resolvió la siguiente vulnerabilidad: ipv6: soluciona una posible fuga de "struct net" en inet6_rtm_getaddr() Parece que si el espacio de usuario proporciona un valor IFA_TARGET_NETNSID correcto pero no los atributos IFA_ADDRESS e IFA_LOCAL, inet6_rtm_getaddr() devuelve -EINVAL con un recuento elevado de "estructura neta".

References

Sources

SourceRecordLicence
CVE ListCVE-2024-27417 changed 2026-05-11CVE Terms of Use
NVDCVE-2024-27417 changed 2026-06-17Public domain