{"id":"CVE-2024-27417","summary":"ipv6: fix potential \"struct net\" leak in inet6_rtm_getaddr()","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nipv6: fix potential \"struct net\" leak in inet6_rtm_getaddr()\n\nIt seems that if userspace provides a correct IFA_TARGET_NETNSID value\nbut no IFA_ADDRESS and IFA_LOCAL attributes, inet6_rtm_getaddr()\nreturns -EINVAL with an elevated \"struct net\" refcount.","modified":"2026-04-02T10:07:57.712130Z","published":"2024-05-17T11:51:07.803Z","related":["ALSA-2024:5363","SUSE-SU-2024:2008-1","SUSE-SU-2024:2019-1","SUSE-SU-2024:2135-1","SUSE-SU-2024:2190-1","SUSE-SU-2024:2203-1","SUSE-SU-2024:2973-1","SUSE-SU-2025:20008-1","SUSE-SU-2025:20028-1"],"database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/27xxx/CVE-2024-27417.json","cna_assigner":"Linux"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/10bfd453da64a057bcfd1a49fb6b271c48653cdb"},{"type":"WEB","url":"https://git.kernel.org/stable/c/1b0998fdd85776775d975d0024bca227597e836a"},{"type":"WEB","url":"https://git.kernel.org/stable/c/33a1b6bfef6def2068c8703403759024ce17053e"},{"type":"WEB","url":"https://git.kernel.org/stable/c/44112bc5c74e64f28f5a9127dc34066c7a09bd0f"},{"type":"WEB","url":"https://git.kernel.org/stable/c/810fa7d5e5202fcfb22720304b755f1bdfd4c174"},{"type":"WEB","url":"https://git.kernel.org/stable/c/8a54834c03c30e549c33d5da0975f3e1454ec906"},{"type":"WEB","url":"https://git.kernel.org/stable/c/9d4ffb5b9d879a75e4f7460e8b10e756b4dfb132"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2024/06/msg00017.html"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/27xxx/CVE-2024-27417.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-27417"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"6ecf4c37eb3e89b0832c9616089a5cdca3747da7"},{"fixed":"9d4ffb5b9d879a75e4f7460e8b10e756b4dfb132"},{"fixed":"810fa7d5e5202fcfb22720304b755f1bdfd4c174"},{"fixed":"8a54834c03c30e549c33d5da0975f3e1454ec906"},{"fixed":"1b0998fdd85776775d975d0024bca227597e836a"},{"fixed":"44112bc5c74e64f28f5a9127dc34066c7a09bd0f"},{"fixed":"33a1b6bfef6def2068c8703403759024ce17053e"},{"fixed":"10bfd453da64a057bcfd1a49fb6b271c48653cdb"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-27417.json"}}],"schema_version":"1.7.5"}