{
  "id": "CVE-2025-38366",
  "url": "https://poc.griffinguard.io/cve/CVE-2025-38366",
  "published_at": "2025-07-25T12:47:36.104Z",
  "title": "LoongArch: KVM: Check validity of \"num_cpu\" from user space",
  "vendor": "Linux",
  "product": "Linux",
  "cvss": {
    "score": 7.8,
    "source": "cna",
    "vector": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/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\nLoongArch: KVM: Check validity of \"num_cpu\" from user space\n\nThe maximum supported cpu number is EIOINTC_ROUTE_MAX_VCPUS about\nirqchip EIOINTC, here add validation about cpu number to avoid array\npointer overflow.",
  "cpes": [
    "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:6.16:rc1:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:6.16:rc2:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:6.16:rc3:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "cna": 7.8,
    "nvd": 7.8
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "\u003e= 1ad7efa552fd5cf4e8c49fea863c5c6a5dcf9f00, \u003c a3293b4078ee93174f70f36d3ab7618554ce6ab6",
          "\u003e= 1ad7efa552fd5cf4e8c49fea863c5c6a5dcf9f00, \u003c cc8d5b209e09d3b52bca1ffe00045876842d96ae"
        ],
        "fixed_in": [
          "a3293b4078ee93174f70f36d3ab7618554ce6ab6",
          "cc8d5b209e09d3b52bca1ffe00045876842d96ae"
        ]
      },
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "6.13"
        ],
        "fixed_in": [
          "0",
          "6.15.5",
          "6.16"
        ]
      }
    ],
    "upgrade": [
      "Upgrade Linux to a3293b4078ee93174f70f36d3ab7618554ce6ab6 or cc8d5b209e09d3b52bca1ffe00045876842d96ae or later.",
      "Upgrade Linux to 0 or 6.15.5 or 6.16 or later."
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
