{
  "id": "CVE-2025-37849",
  "url": "https://poc.griffinguard.io/cve/CVE-2025-37849",
  "published_at": "2025-05-09T06:41:56.874Z",
  "title": "KVM: arm64: Tear down vGIC on failed vCPU creation",
  "vendor": "Linux",
  "product": "Linux",
  "cvss": {
    "score": 8.8,
    "source": "cna",
    "vector": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/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\nKVM: arm64: Tear down vGIC on failed vCPU creation\n\nIf kvm_arch_vcpu_create() fails to share the vCPU page with the\nhypervisor, we propagate the error back to the ioctl but leave the\nvGIC vCPU data initialised. Note only does this leak the corresponding\nmemory when the vCPU is destroyed but it can also lead to use-after-free\nif the redistributor device handling tries to walk into the vCPU.\n\nAdd the missing cleanup to kvm_arch_vcpu_create(), ensuring that the\nvGIC vCPU structures are destroyed on error.",
  "cwe": "CWE-416",
  "cpes": [
    "cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "cna": 8.8,
    "nvd": 7.8
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "\u003e= 6211753fdfd05af9e08f54c8d0ba3ee516034878, \u003c 07476e0d932afc53c05468076393ac35d0b4999e",
          "\u003e= 6211753fdfd05af9e08f54c8d0ba3ee516034878, \u003c 5085e02362b9948f82fceca979b8f8e12acb1cc5",
          "\u003e= 6211753fdfd05af9e08f54c8d0ba3ee516034878, \u003c c322789613407647a05ff5c451a7bf545fb34e73",
          "\u003e= 6211753fdfd05af9e08f54c8d0ba3ee516034878, \u003c 2480326eba8ae9ccc5e4c3c2dc8d407db68e3c52",
          "\u003e= 6211753fdfd05af9e08f54c8d0ba3ee516034878, \u003c f1e9087abaeedec9bf2894a282ee4f0d8383f299",
          "\u003e= 6211753fdfd05af9e08f54c8d0ba3ee516034878, \u003c 250f25367b58d8c65a1b060a2dda037eea09a672"
        ],
        "fixed_in": [
          "07476e0d932afc53c05468076393ac35d0b4999e",
          "5085e02362b9948f82fceca979b8f8e12acb1cc5",
          "c322789613407647a05ff5c451a7bf545fb34e73",
          "2480326eba8ae9ccc5e4c3c2dc8d407db68e3c52",
          "f1e9087abaeedec9bf2894a282ee4f0d8383f299",
          "250f25367b58d8c65a1b060a2dda037eea09a672"
        ]
      },
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "3.11"
        ],
        "fixed_in": [
          "0",
          "6.1.135",
          "6.6.88",
          "6.12.24",
          "6.13.12",
          "6.14.3",
          "6.15"
        ]
      }
    ],
    "upgrade": [
      "Upgrade Linux to 07476e0d932afc53c05468076393ac35d0b4999e or 5085e02362b9948f82fceca979b8f8e12acb1cc5 or c322789613407647a05ff5c451a7bf545fb34e73 or 2480326eba8ae9ccc5e4c3c2dc8d407db68e3c52 or f1e9087abaeedec9bf2894a282ee4f0d8383f299 or 250f25367b58d8c65a1b060a2dda037eea09a672 or later.",
      "Upgrade Linux to 0 or 6.1.135 or 6.6.88 or 6.12.24 or 6.13.12 or 6.14.3 or 6.15 or later."
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
