CVE-2026-98465 (GCVE-0-2026-98465)

Vulnerability from cvelistv5 – Published: 2026-10-18 15:15 – Updated: 2026-10-24 14:08
VLAI
Title
RISC-V: KVM: Serialize IMSIC attributes with vCPU migration
Summary
In the Linux kernel, the following vulnerability has been resolved: RISC-V: KVM: Serialize IMSIC attributes with vCPU migration KVM device ioctls are not serialized against KVM_RUN. As a result, kvm_riscv_aia_imsic_rw_attr() can snapshot the physical CPU and HGEI of an IMSIC VS-file before a concurrent vCPU migration releases it. The HGEI can then be allocated to another vCPU before imsic_vsfile_rw() uses the stale tuple. A GET or SET attribute may consequently access the new owner's interrupt file. Serialize the entire IMSIC attribute operation with the target vCPU mutex. This prevents the VS-file from being migrated and recycled until the attribute access completes. Acquire the mutex killably so that the device ioctl remains interruptible while waiting for KVM_RUN to finish.
Assigner
Linux CNA under the mitre root
CNA scorecard D 53/100 over 7018 records in the last 180 days details
Impacted products
Vendor Product Version CPE status
Linux Linux Affected: db8b7e97d6137a28b2bfc07e591d54da268f0c36 , < 6c2bcf6b173d4afed883cceea9d47f2c5194161d (git)
Affected: db8b7e97d6137a28b2bfc07e591d54da268f0c36 , < a29c5d2dd2ef9a8617a9a6d5585696d5f149cd98 (git)
Affected: db8b7e97d6137a28b2bfc07e591d54da268f0c36 , < c525772c304c971b0d3a1f2898dedbae653efe90 (git)
Affected: db8b7e97d6137a28b2bfc07e591d54da268f0c36 , < 71acbea44e78665ea90e3c310fca6bbdcc0252db (git)
Affected: db8b7e97d6137a28b2bfc07e591d54da268f0c36 , < 8ae12ccaec6ec74945d8c1ef39f2c1b8df779abc (git)
guessed Create a notification for this product.
Linux Linux Affected: 6.5
Unaffected: 0 , < 6.5 (semver)
Unaffected: 6.6.160 , ≤ 6.6.* (semver)
Unaffected: 6.12.112 , ≤ 6.12.* (semver)
Unaffected: 6.18.55 , ≤ 6.18.* (semver)
Unaffected: 7.2.9 , ≤ 7.2.* (semver)
Unaffected: 7.3 , ≤ * (original_commit_for_fix)
guessed Create a notification for this product.
Show details on NVD website

{
  "containers": {
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "arch/riscv/kvm/aia_imsic.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "6c2bcf6b173d4afed883cceea9d47f2c5194161d",
              "status": "affected",
              "version": "db8b7e97d6137a28b2bfc07e591d54da268f0c36",
              "versionType": "git"
            },
            {
              "lessThan": "a29c5d2dd2ef9a8617a9a6d5585696d5f149cd98",
              "status": "affected",
              "version": "db8b7e97d6137a28b2bfc07e591d54da268f0c36",
              "versionType": "git"
            },
            {
              "lessThan": "c525772c304c971b0d3a1f2898dedbae653efe90",
              "status": "affected",
              "version": "db8b7e97d6137a28b2bfc07e591d54da268f0c36",
              "versionType": "git"
            },
            {
              "lessThan": "71acbea44e78665ea90e3c310fca6bbdcc0252db",
              "status": "affected",
              "version": "db8b7e97d6137a28b2bfc07e591d54da268f0c36",
              "versionType": "git"
            },
            {
              "lessThan": "8ae12ccaec6ec74945d8c1ef39f2c1b8df779abc",
              "status": "affected",
              "version": "db8b7e97d6137a28b2bfc07e591d54da268f0c36",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "arch/riscv/kvm/aia_imsic.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "6.5"
            },
            {
              "lessThan": "6.5",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.6.*",
              "status": "unaffected",
              "version": "6.6.160",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.12.*",
              "status": "unaffected",
              "version": "6.12.112",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.18.*",
              "status": "unaffected",
              "version": "6.18.55",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "7.2.*",
              "status": "unaffected",
              "version": "7.2.9",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "7.3",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.6.160",
                  "versionStartIncluding": "6.5",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.12.112",
                  "versionStartIncluding": "6.5",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.18.55",
                  "versionStartIncluding": "6.5",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.2.9",
                  "versionStartIncluding": "6.5",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.3",
                  "versionStartIncluding": "6.5",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nRISC-V: KVM: Serialize IMSIC attributes with vCPU migration\n\nKVM device ioctls are not serialized against KVM_RUN. As a result,\nkvm_riscv_aia_imsic_rw_attr() can snapshot the physical CPU and HGEI of\nan IMSIC VS-file before a concurrent vCPU migration releases it.\n\nThe HGEI can then be allocated to another vCPU before imsic_vsfile_rw()\nuses the stale tuple. A GET or SET attribute may consequently access the\nnew owner\u0027s interrupt file.\n\nSerialize the entire IMSIC attribute operation with the target vCPU\nmutex. This prevents the VS-file from being migrated and recycled until\nthe attribute access completes. Acquire the mutex killably so that the\ndevice ioctl remains interruptible while waiting for KVM_RUN to finish."
        }
      ],
      "metrics": [
        {
          "cvssV3_1": {
            "baseScore": 7,
            "baseSeverity": "HIGH",
            "vectorString": "CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:L/I:L/A:H",
            "version": "3.1"
          },
          "scenarios": [
            {
              "lang": "en",
              "value": "AV:L - A local process reaches the patched kvm_riscv_aia_imsic_rw_attr() through kvm_device_ioctl() and aia_get_attr()/aia_set_attr() using KVM_GET_DEVICE_ATTR or KVM_SET_DEVICE_ATTR; no network or guest-protocol input reaches it.\nAC:H - The attacker can race its attribute ioctl against KVM_RUN, but cross-owner impact also requires kvm_riscv_aia_alloc_hgei() to reassign the freed per-CPU HGEI to a victim vCPU before imsic_vsfile_rw() runs, which the attacker cannot ensure.\nPR:L - No capable() check guards this path, but the caller must have opened /dev/kvm and created and retained the VM, vCPU, and RISC-V AIA device fds; ordinary authorized KVM-user access suffices without init-namespace administration.\nUI:N - The attacking process itself issues the concurrent KVM_RUN and KVM_GET_DEVICE_ATTR or KVM_SET_DEVICE_ATTR operations; no victim user must mount, open, or approve anything.\nS:C - kvm_riscv_aia_alloc_hgei() uses the global per-CPU aia_hgei owners array rather than a per-VM pool, so the recycled interrupt file can belong to a vCPU in a different VM security boundary.\nC:L - A stale GET makes imsic_vsfile_local_rw() disclose one selected EIDELIVERY, EITHRESHOLD, EIP*, or EIE* word from the new owner\u0027s interrupt file, exposing bounded interrupt state rather than arbitrary guest or host memory.\nI:L - A stale SET makes imsic_vsfile_local_rw() write attacker-chosen values to the new owner\u0027s delivery, threshold, pending, or enable register, but it provides no arbitrary memory write or demonstrated control-flow primitive.\nA:H - imsic_vsfile_local_rw() can write EIDELIVERY=0 or clear EIE* in the new owner\u0027s file; for a single-vCPU victim this suppresses all external-interrupt delivery and can leave guest I/O persistently hung."
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-10-24T14:08:57.467Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/6c2bcf6b173d4afed883cceea9d47f2c5194161d"
        },
        {
          "url": "https://git.kernel.org/stable/c/a29c5d2dd2ef9a8617a9a6d5585696d5f149cd98"
        },
        {
          "url": "https://git.kernel.org/stable/c/c525772c304c971b0d3a1f2898dedbae653efe90"
        },
        {
          "url": "https://git.kernel.org/stable/c/71acbea44e78665ea90e3c310fca6bbdcc0252db"
        },
        {
          "url": "https://git.kernel.org/stable/c/8ae12ccaec6ec74945d8c1ef39f2c1b8df779abc"
        }
      ],
      "title": "RISC-V: KVM: Serialize IMSIC attributes with vCPU migration",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2026-98465",
    "datePublished": "2026-10-18T15:15:17.498Z",
    "dateReserved": "2026-09-25T10:25:14.350Z",
    "dateUpdated": "2026-10-24T14:08:57.467Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "epss": {
      "cve": "CVE-2026-98465",
      "date": "2026-11-01",
      "epss": "0.00136",
      "percentile": "0.03061"
    },
    "microsoft_vex": {
      "current_release_date": "2026-10-28T01:47:54.000Z",
      "cve": "CVE-2026-98465",
      "id": "msrc_CVE-2026-98465",
      "initial_release_date": "2026-10-20T01:02:31.000Z",
      "product_status:known_not_affected": "1",
      "product_status:under_investigation": "1",
      "source": "Microsoft CSAF VEX",
      "status": "final",
      "title": "RISC-V: KVM: Serialize IMSIC attributes with vCPU migration",
      "url": "https://msrc.microsoft.com/csaf/vex/2026/msrc_cve-2026-98465.json",
      "version": "3"
    },
    "nvd": {
      "cve": {
        "affected": [
          {
            "affectedData": [
              {
                "defaultStatus": "unaffected",
                "product": "Linux",
                "programFiles": [
                  "arch/riscv/kvm/aia_imsic.c"
                ],
                "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                "vendor": "Linux",
                "versions": [
                  {
                    "lessThan": "6c2bcf6b173d4afed883cceea9d47f2c5194161d",
                    "status": "affected",
                    "version": "db8b7e97d6137a28b2bfc07e591d54da268f0c36",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "a29c5d2dd2ef9a8617a9a6d5585696d5f149cd98",
                    "status": "affected",
                    "version": "db8b7e97d6137a28b2bfc07e591d54da268f0c36",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "c525772c304c971b0d3a1f2898dedbae653efe90",
                    "status": "affected",
                    "version": "db8b7e97d6137a28b2bfc07e591d54da268f0c36",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "71acbea44e78665ea90e3c310fca6bbdcc0252db",
                    "status": "affected",
                    "version": "db8b7e97d6137a28b2bfc07e591d54da268f0c36",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "8ae12ccaec6ec74945d8c1ef39f2c1b8df779abc",
                    "status": "affected",
                    "version": "db8b7e97d6137a28b2bfc07e591d54da268f0c36",
                    "versionType": "git"
                  }
                ]
              },
              {
                "defaultStatus": "affected",
                "product": "Linux",
                "programFiles": [
                  "arch/riscv/kvm/aia_imsic.c"
                ],
                "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                "vendor": "Linux",
                "versions": [
                  {
                    "status": "affected",
                    "version": "6.5"
                  },
                  {
                    "lessThan": "6.5",
                    "status": "unaffected",
                    "version": "0",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "6.6.*",
                    "status": "unaffected",
                    "version": "6.6.160",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "6.12.*",
                    "status": "unaffected",
                    "version": "6.12.112",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "6.18.*",
                    "status": "unaffected",
                    "version": "6.18.55",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "7.2.*",
                    "status": "unaffected",
                    "version": "7.2.9",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "*",
                    "status": "unaffected",
                    "version": "7.3",
                    "versionType": "original_commit_for_fix"
                  }
                ]
              }
            ],
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
          }
        ],
        "cveTags": [],
        "descriptions": [
          {
            "lang": "en",
            "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nRISC-V: KVM: Serialize IMSIC attributes with vCPU migration\n\nKVM device ioctls are not serialized against KVM_RUN. As a result,\nkvm_riscv_aia_imsic_rw_attr() can snapshot the physical CPU and HGEI of\nan IMSIC VS-file before a concurrent vCPU migration releases it.\n\nThe HGEI can then be allocated to another vCPU before imsic_vsfile_rw()\nuses the stale tuple. A GET or SET attribute may consequently access the\nnew owner\u0027s interrupt file.\n\nSerialize the entire IMSIC attribute operation with the target vCPU\nmutex. This prevents the VS-file from being migrated and recycled until\nthe attribute access completes. Acquire the mutex killably so that the\ndevice ioctl remains interruptible while waiting for KVM_RUN to finish."
          }
        ],
        "id": "CVE-2026-98465",
        "lastModified": "2026-10-24T14:16:43.033",
        "metrics": {
          "cvssMetricV31": [
            {
              "cvssData": {
                "attackComplexity": "HIGH",
                "attackVector": "LOCAL",
                "availabilityImpact": "HIGH",
                "baseScore": 7.0,
                "baseSeverity": "HIGH",
                "confidentialityImpact": "LOW",
                "integrityImpact": "LOW",
                "privilegesRequired": "LOW",
                "scope": "CHANGED",
                "userInteraction": "NONE",
                "vectorString": "CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:L/I:L/A:H",
                "version": "3.1"
              },
              "exploitabilityScore": 1.1,
              "impactScore": 5.3,
              "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
              "type": "Secondary"
            }
          ]
        },
        "published": "2026-10-18T16:16:56.993",
        "references": [
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/6c2bcf6b173d4afed883cceea9d47f2c5194161d"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/71acbea44e78665ea90e3c310fca6bbdcc0252db"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/8ae12ccaec6ec74945d8c1ef39f2c1b8df779abc"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/a29c5d2dd2ef9a8617a9a6d5585696d5f149cd98"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/c525772c304c971b0d3a1f2898dedbae653efe90"
          }
        ],
        "sourceIdentifier": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "vulnStatus": "Received"
      }
    },
    "redhat_vex": {
      "aggregate_severity": "Moderate",
      "current_release_date": "2026-10-24T14:23:12+00:00",
      "cve": "CVE-2026-98465",
      "id": "CVE-2026-98465",
      "initial_release_date": "2026-10-18T00:00:00+00:00",
      "product_status:known_not_affected": "278",
      "source": "Red Hat CSAF VEX",
      "status": "final",
      "title": "kernel: RISC-V: KVM: Serialize IMSIC attributes with vCPU migration",
      "url": "https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-98465.json",
      "version": "3"
    }
  }
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Drag nodes to arrange them. Double-click a related vulnerability to open it, or a source to visit its link. The Physics button on the left tunes the layout and the simulation; the legend at the bottom left hides or shows nodes by kind and by sighting type.

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Vulnerability timeline

Sightings and recorded dates, grouped by day · UTC

JSON
Events included in the timeline

Loading timeline…


    Loading…

    Loading…

    Loading…

    Related by attack behaviour

    Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.