{
  "id": "CVE-2025-21659",
  "url": "https://poc.griffinguard.io/cve/CVE-2025-21659",
  "published_at": "2025-01-21T12:18:15.407Z",
  "title": "netdev: prevent accessing NAPI instances from another namespace",
  "vendor": "Linux",
  "product": "Linux",
  "cvss": {
    "score": 8.1,
    "source": "cna",
    "vector": "CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:C/C:L/I:H/A:H"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "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().",
  "cpes": [
    "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:6.13:rc1:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:6.13:rc2:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:6.13:rc3:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:6.13:rc4:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:6.13:rc5:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:6.13:rc6:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "cna": 8.1,
    "nvd": 5.5
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "\u003e= 27f91aaf49b3a50e5a02ad5fa27b7c453d029a72, \u003c b683ba0df11ff563cc237eb1b74d6adfa77226bf",
          "\u003e= 27f91aaf49b3a50e5a02ad5fa27b7c453d029a72, \u003c d1cacd74776895f6435941f86a1130e58f6dd226"
        ],
        "fixed_in": [
          "b683ba0df11ff563cc237eb1b74d6adfa77226bf",
          "d1cacd74776895f6435941f86a1130e58f6dd226"
        ]
      },
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "6.8"
        ],
        "fixed_in": [
          "0",
          "6.12.10",
          "6.13"
        ]
      }
    ],
    "upgrade": [
      "Upgrade Linux to b683ba0df11ff563cc237eb1b74d6adfa77226bf or d1cacd74776895f6435941f86a1130e58f6dd226 or later.",
      "Upgrade Linux to 0 or 6.12.10 or 6.13 or later."
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
