cve-2024-27417
Vulnerability from cvelistv5
Published
2024-05-17 11:51
Modified
2024-12-19 08:54
Severity ?
Summary
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.
References
416baaa9-dc9f-4396-8d5f-8c081fb06d67https://git.kernel.org/stable/c/10bfd453da64a057bcfd1a49fb6b271c48653cdb
416baaa9-dc9f-4396-8d5f-8c081fb06d67https://git.kernel.org/stable/c/1b0998fdd85776775d975d0024bca227597e836a
416baaa9-dc9f-4396-8d5f-8c081fb06d67https://git.kernel.org/stable/c/33a1b6bfef6def2068c8703403759024ce17053e
416baaa9-dc9f-4396-8d5f-8c081fb06d67https://git.kernel.org/stable/c/44112bc5c74e64f28f5a9127dc34066c7a09bd0f
416baaa9-dc9f-4396-8d5f-8c081fb06d67https://git.kernel.org/stable/c/810fa7d5e5202fcfb22720304b755f1bdfd4c174
416baaa9-dc9f-4396-8d5f-8c081fb06d67https://git.kernel.org/stable/c/8a54834c03c30e549c33d5da0975f3e1454ec906
416baaa9-dc9f-4396-8d5f-8c081fb06d67https://git.kernel.org/stable/c/9d4ffb5b9d879a75e4f7460e8b10e756b4dfb132
af854a3a-2127-422b-91ae-364da2661108https://git.kernel.org/stable/c/10bfd453da64a057bcfd1a49fb6b271c48653cdb
af854a3a-2127-422b-91ae-364da2661108https://git.kernel.org/stable/c/1b0998fdd85776775d975d0024bca227597e836a
af854a3a-2127-422b-91ae-364da2661108https://git.kernel.org/stable/c/33a1b6bfef6def2068c8703403759024ce17053e
af854a3a-2127-422b-91ae-364da2661108https://git.kernel.org/stable/c/44112bc5c74e64f28f5a9127dc34066c7a09bd0f
af854a3a-2127-422b-91ae-364da2661108https://git.kernel.org/stable/c/810fa7d5e5202fcfb22720304b755f1bdfd4c174
af854a3a-2127-422b-91ae-364da2661108https://git.kernel.org/stable/c/8a54834c03c30e549c33d5da0975f3e1454ec906
af854a3a-2127-422b-91ae-364da2661108https://git.kernel.org/stable/c/9d4ffb5b9d879a75e4f7460e8b10e756b4dfb132
af854a3a-2127-422b-91ae-364da2661108https://lists.debian.org/debian-lts-announce/2024/06/msg00017.html
Impacted products
Vendor Product Version
Linux Linux Version: 4.20
Show details on NVD website


{
  "containers": {
    "adp": [
      {
        "metrics": [
          {
            "other": {
              "content": {
                "id": "CVE-2024-27417",
                "options": [
                  {
                    "Exploitation": "none"
                  },
                  {
                    "Automatable": "no"
                  },
                  {
                    "Technical Impact": "partial"
                  }
                ],
                "role": "CISA Coordinator",
                "timestamp": "2024-05-24T14:19:39.323921Z",
                "version": "2.0.3"
              },
              "type": "ssvc"
            }
          }
        ],
        "providerMetadata": {
          "dateUpdated": "2024-06-04T17:47:02.660Z",
          "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
          "shortName": "CISA-ADP"
        },
        "title": "CISA ADP Vulnrichment"
      },
      {
        "providerMetadata": {
          "dateUpdated": "2024-08-02T00:34:52.216Z",
          "orgId": "af854a3a-2127-422b-91ae-364da2661108",
          "shortName": "CVE"
        },
        "references": [
          {
            "tags": [
              "x_transferred"
            ],
            "url": "https://git.kernel.org/stable/c/9d4ffb5b9d879a75e4f7460e8b10e756b4dfb132"
          },
          {
            "tags": [
              "x_transferred"
            ],
            "url": "https://git.kernel.org/stable/c/810fa7d5e5202fcfb22720304b755f1bdfd4c174"
          },
          {
            "tags": [
              "x_transferred"
            ],
            "url": "https://git.kernel.org/stable/c/8a54834c03c30e549c33d5da0975f3e1454ec906"
          },
          {
            "tags": [
              "x_transferred"
            ],
            "url": "https://git.kernel.org/stable/c/1b0998fdd85776775d975d0024bca227597e836a"
          },
          {
            "tags": [
              "x_transferred"
            ],
            "url": "https://git.kernel.org/stable/c/44112bc5c74e64f28f5a9127dc34066c7a09bd0f"
          },
          {
            "tags": [
              "x_transferred"
            ],
            "url": "https://git.kernel.org/stable/c/33a1b6bfef6def2068c8703403759024ce17053e"
          },
          {
            "tags": [
              "x_transferred"
            ],
            "url": "https://git.kernel.org/stable/c/10bfd453da64a057bcfd1a49fb6b271c48653cdb"
          },
          {
            "tags": [
              "x_transferred"
            ],
            "url": "https://lists.debian.org/debian-lts-announce/2024/06/msg00017.html"
          }
        ],
        "title": "CVE Program Container"
      }
    ],
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "net/ipv6/addrconf.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "9d4ffb5b9d879a75e4f7460e8b10e756b4dfb132",
              "status": "affected",
              "version": "6ecf4c37eb3e89b0832c9616089a5cdca3747da7",
              "versionType": "git"
            },
            {
              "lessThan": "810fa7d5e5202fcfb22720304b755f1bdfd4c174",
              "status": "affected",
              "version": "6ecf4c37eb3e89b0832c9616089a5cdca3747da7",
              "versionType": "git"
            },
            {
              "lessThan": "8a54834c03c30e549c33d5da0975f3e1454ec906",
              "status": "affected",
              "version": "6ecf4c37eb3e89b0832c9616089a5cdca3747da7",
              "versionType": "git"
            },
            {
              "lessThan": "1b0998fdd85776775d975d0024bca227597e836a",
              "status": "affected",
              "version": "6ecf4c37eb3e89b0832c9616089a5cdca3747da7",
              "versionType": "git"
            },
            {
              "lessThan": "44112bc5c74e64f28f5a9127dc34066c7a09bd0f",
              "status": "affected",
              "version": "6ecf4c37eb3e89b0832c9616089a5cdca3747da7",
              "versionType": "git"
            },
            {
              "lessThan": "33a1b6bfef6def2068c8703403759024ce17053e",
              "status": "affected",
              "version": "6ecf4c37eb3e89b0832c9616089a5cdca3747da7",
              "versionType": "git"
            },
            {
              "lessThan": "10bfd453da64a057bcfd1a49fb6b271c48653cdb",
              "status": "affected",
              "version": "6ecf4c37eb3e89b0832c9616089a5cdca3747da7",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "net/ipv6/addrconf.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "4.20"
            },
            {
              "lessThan": "4.20",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.4.*",
              "status": "unaffected",
              "version": "5.4.271",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.10.*",
              "status": "unaffected",
              "version": "5.10.212",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.15.*",
              "status": "unaffected",
              "version": "5.15.151",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.1.*",
              "status": "unaffected",
              "version": "6.1.81",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.6.*",
              "status": "unaffected",
              "version": "6.6.21",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.7.*",
              "status": "unaffected",
              "version": "6.7.9",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "6.8",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "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."
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2024-12-19T08:54:43.748Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/9d4ffb5b9d879a75e4f7460e8b10e756b4dfb132"
        },
        {
          "url": "https://git.kernel.org/stable/c/810fa7d5e5202fcfb22720304b755f1bdfd4c174"
        },
        {
          "url": "https://git.kernel.org/stable/c/8a54834c03c30e549c33d5da0975f3e1454ec906"
        },
        {
          "url": "https://git.kernel.org/stable/c/1b0998fdd85776775d975d0024bca227597e836a"
        },
        {
          "url": "https://git.kernel.org/stable/c/44112bc5c74e64f28f5a9127dc34066c7a09bd0f"
        },
        {
          "url": "https://git.kernel.org/stable/c/33a1b6bfef6def2068c8703403759024ce17053e"
        },
        {
          "url": "https://git.kernel.org/stable/c/10bfd453da64a057bcfd1a49fb6b271c48653cdb"
        }
      ],
      "title": "ipv6: fix potential \"struct net\" leak in inet6_rtm_getaddr()",
      "x_generator": {
        "engine": "bippy-5f407fcff5a0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2024-27417",
    "datePublished": "2024-05-17T11:51:07.803Z",
    "dateReserved": "2024-02-25T13:47:42.683Z",
    "dateUpdated": "2024-12-19T08:54:43.748Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.1",
  "vulnerability-lookup:meta": {
    "nvd": "{\"cve\":{\"id\":\"CVE-2024-27417\",\"sourceIdentifier\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"published\":\"2024-05-17T12:15:13.283\",\"lastModified\":\"2024-11-21T09:04:34.923\",\"vulnStatus\":\"Awaiting Analysis\",\"cveTags\":[],\"descriptions\":[{\"lang\":\"en\",\"value\":\"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.\"},{\"lang\":\"es\",\"value\":\"En el kernel de Linux, se resolvi\u00f3 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\\\".\"}],\"metrics\":{},\"references\":[{\"url\":\"https://git.kernel.org/stable/c/10bfd453da64a057bcfd1a49fb6b271c48653cdb\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/1b0998fdd85776775d975d0024bca227597e836a\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/33a1b6bfef6def2068c8703403759024ce17053e\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/44112bc5c74e64f28f5a9127dc34066c7a09bd0f\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/810fa7d5e5202fcfb22720304b755f1bdfd4c174\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/8a54834c03c30e549c33d5da0975f3e1454ec906\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/9d4ffb5b9d879a75e4f7460e8b10e756b4dfb132\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/10bfd453da64a057bcfd1a49fb6b271c48653cdb\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\"},{\"url\":\"https://git.kernel.org/stable/c/1b0998fdd85776775d975d0024bca227597e836a\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\"},{\"url\":\"https://git.kernel.org/stable/c/33a1b6bfef6def2068c8703403759024ce17053e\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\"},{\"url\":\"https://git.kernel.org/stable/c/44112bc5c74e64f28f5a9127dc34066c7a09bd0f\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\"},{\"url\":\"https://git.kernel.org/stable/c/810fa7d5e5202fcfb22720304b755f1bdfd4c174\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\"},{\"url\":\"https://git.kernel.org/stable/c/8a54834c03c30e549c33d5da0975f3e1454ec906\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\"},{\"url\":\"https://git.kernel.org/stable/c/9d4ffb5b9d879a75e4f7460e8b10e756b4dfb132\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\"},{\"url\":\"https://lists.debian.org/debian-lts-announce/2024/06/msg00017.html\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\"}]}}"
  }
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Sightings

Author Source Type Date

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
  • Confirmed: The vulnerability is confirmed from an analyst perspective.
  • Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
  • Patched: This vulnerability was successfully patched by the user reporting the sighting.
  • Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
  • Not confirmed: The user expresses doubt about the veracity of the vulnerability.
  • Not patched: This vulnerability was not successfully patched by the user reporting the sighting.