CVE-2025-21659
Vulnerability from cvelistv5
Published
2025-01-21 12:18
Modified
2025-01-21 12:18
Severity ?
Summary
In the Linux kernel, the following vulnerability has been resolved: netdev: prevent accessing NAPI instances from another namespace The NAPI IDs were not fully exposed to user space prior to the netlink API, so they were never namespaced. The netlink API must ensure that at the very least NAPI instance belongs to the same netns as the owner of the genl sock. napi_by_id() can become static now, but it needs to move because of dev_get_by_napi_id().
Impacted products
Vendor Product Version
Linux Linux Version: 27f91aaf49b3a50e5a02ad5fa27b7c453d029a72
Version: 27f91aaf49b3a50e5a02ad5fa27b7c453d029a72
Create a notification for this product.
   Linux Linux Version: 6.8
Create a notification for this product.
Show details on NVD website


{
   containers: {
      cna: {
         affected: [
            {
               defaultStatus: "unaffected",
               product: "Linux",
               programFiles: [
                  "net/core/dev.c",
                  "net/core/dev.h",
                  "net/core/netdev-genl.c",
               ],
               repo: "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
               vendor: "Linux",
               versions: [
                  {
                     lessThan: "b683ba0df11ff563cc237eb1b74d6adfa77226bf",
                     status: "affected",
                     version: "27f91aaf49b3a50e5a02ad5fa27b7c453d029a72",
                     versionType: "git",
                  },
                  {
                     lessThan: "d1cacd74776895f6435941f86a1130e58f6dd226",
                     status: "affected",
                     version: "27f91aaf49b3a50e5a02ad5fa27b7c453d029a72",
                     versionType: "git",
                  },
               ],
            },
            {
               defaultStatus: "affected",
               product: "Linux",
               programFiles: [
                  "net/core/dev.c",
                  "net/core/dev.h",
                  "net/core/netdev-genl.c",
               ],
               repo: "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
               vendor: "Linux",
               versions: [
                  {
                     status: "affected",
                     version: "6.8",
                  },
                  {
                     lessThan: "6.8",
                     status: "unaffected",
                     version: "0",
                     versionType: "semver",
                  },
                  {
                     lessThanOrEqual: "6.12.*",
                     status: "unaffected",
                     version: "6.12.10",
                     versionType: "semver",
                  },
                  {
                     lessThanOrEqual: "*",
                     status: "unaffected",
                     version: "6.13",
                     versionType: "original_commit_for_fix",
                  },
               ],
            },
         ],
         descriptions: [
            {
               lang: "en",
               value: "In the Linux kernel, the following vulnerability has been resolved:\n\nnetdev: prevent accessing NAPI instances from another namespace\n\nThe NAPI IDs were not fully exposed to user space prior to the netlink\nAPI, so they were never namespaced. The netlink API must ensure that\nat the very least NAPI instance belongs to the same netns as the owner\nof the genl sock.\n\nnapi_by_id() can become static now, but it needs to move because of\ndev_get_by_napi_id().",
            },
         ],
         providerMetadata: {
            dateUpdated: "2025-01-21T12:18:15.407Z",
            orgId: "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            shortName: "Linux",
         },
         references: [
            {
               url: "https://git.kernel.org/stable/c/b683ba0df11ff563cc237eb1b74d6adfa77226bf",
            },
            {
               url: "https://git.kernel.org/stable/c/d1cacd74776895f6435941f86a1130e58f6dd226",
            },
         ],
         title: "netdev: prevent accessing NAPI instances from another namespace",
         x_generator: {
            engine: "bippy-5f407fcff5a0",
         },
      },
   },
   cveMetadata: {
      assignerOrgId: "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
      assignerShortName: "Linux",
      cveId: "CVE-2025-21659",
      datePublished: "2025-01-21T12:18:15.407Z",
      dateReserved: "2024-12-29T08:45:45.732Z",
      dateUpdated: "2025-01-21T12:18:15.407Z",
      state: "PUBLISHED",
   },
   dataType: "CVE_RECORD",
   dataVersion: "5.1",
   "vulnerability-lookup:meta": {
      nvd: "{\"cve\":{\"id\":\"CVE-2025-21659\",\"sourceIdentifier\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"published\":\"2025-01-21T13:15:09.540\",\"lastModified\":\"2025-01-21T13:15:09.540\",\"vulnStatus\":\"Received\",\"cveTags\":[],\"descriptions\":[{\"lang\":\"en\",\"value\":\"In the Linux kernel, the following vulnerability has been resolved:\\n\\nnetdev: prevent accessing NAPI instances from another namespace\\n\\nThe NAPI IDs were not fully exposed to user space prior to the netlink\\nAPI, so they were never namespaced. The netlink API must ensure that\\nat the very least NAPI instance belongs to the same netns as the owner\\nof the genl sock.\\n\\nnapi_by_id() can become static now, but it needs to move because of\\ndev_get_by_napi_id().\"}],\"metrics\":{},\"references\":[{\"url\":\"https://git.kernel.org/stable/c/b683ba0df11ff563cc237eb1b74d6adfa77226bf\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/d1cacd74776895f6435941f86a1130e58f6dd226\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"}]}}",
   },
}


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.