{"api_version":"1","generated_at":"2026-10-27T04:28:16+00:00","cve":"CVE-2026-98465","urls":{"html":"https://cve.report/CVE-2026-98465","api":"https://cve.report/api/cve/CVE-2026-98465.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-98465","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-98465"},"summary":{"title":"RISC-V: KVM: Serialize IMSIC attributes with vCPU migration","description":"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's 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.","state":"PUBLISHED","assigner":"Linux","published_at":"2026-10-18 16:16:56","updated_at":"2026-10-24 14:16:43"},"problem_types":[],"metrics":[{"version":"3.1","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","type":"Secondary","score":"7","severity":"HIGH","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:L/I:L/A:H","data":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:L/I:L/A:H","baseScore":7,"baseSeverity":"HIGH","attackVector":"LOCAL","attackComplexity":"HIGH","privilegesRequired":"LOW","userInteraction":"NONE","scope":"CHANGED","confidentialityImpact":"LOW","integrityImpact":"LOW","availabilityImpact":"HIGH"}},{"version":"3.1","source":"CNA","type":"DECLARED","score":"7","severity":"HIGH","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:L/I:L/A:H","data":{"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"}}],"references":[{"url":"https://git.kernel.org/stable/c/8ae12ccaec6ec74945d8c1ef39f2c1b8df779abc","name":"https://git.kernel.org/stable/c/8ae12ccaec6ec74945d8c1ef39f2c1b8df779abc","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/a29c5d2dd2ef9a8617a9a6d5585696d5f149cd98","name":"https://git.kernel.org/stable/c/a29c5d2dd2ef9a8617a9a6d5585696d5f149cd98","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/71acbea44e78665ea90e3c310fca6bbdcc0252db","name":"https://git.kernel.org/stable/c/71acbea44e78665ea90e3c310fca6bbdcc0252db","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/c525772c304c971b0d3a1f2898dedbae653efe90","name":"https://git.kernel.org/stable/c/c525772c304c971b0d3a1f2898dedbae653efe90","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/6c2bcf6b173d4afed883cceea9d47f2c5194161d","name":"https://git.kernel.org/stable/c/6c2bcf6b173d4afed883cceea9d47f2c5194161d","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-98465","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-98465","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected db8b7e97d6137a28b2bfc07e591d54da268f0c36 6c2bcf6b173d4afed883cceea9d47f2c5194161d git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected db8b7e97d6137a28b2bfc07e591d54da268f0c36 a29c5d2dd2ef9a8617a9a6d5585696d5f149cd98 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected db8b7e97d6137a28b2bfc07e591d54da268f0c36 c525772c304c971b0d3a1f2898dedbae653efe90 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected db8b7e97d6137a28b2bfc07e591d54da268f0c36 71acbea44e78665ea90e3c310fca6bbdcc0252db git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected db8b7e97d6137a28b2bfc07e591d54da268f0c36 8ae12ccaec6ec74945d8c1ef39f2c1b8df779abc git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 6.5","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.5 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.6.160 6.6.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.12.112 6.12.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.18.55 6.18.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.2.9 7.2.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.3 * original_commit_for_fix","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":{"cve_year":"2026","cve_id":"98465","cve":"CVE-2026-98465","epss":"0.002000000","percentile":"0.092880000","score_date":"2026-10-21","updated_at":"2026-10-22 00:15:10"},"legacy_qids":[]},"source_records":{"cve_program":{"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's 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's 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's 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's 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"},"nvd":{"publishedDate":"2026-10-18 16:16:56","lastModifiedDate":"2026-10-24 14:16:43","problem_types":[],"metrics":{"cvssMetricV31":[{"source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","type":"Secondary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:L/I:L/A:H","baseScore":7,"baseSeverity":"HIGH","attackVector":"LOCAL","attackComplexity":"HIGH","privilegesRequired":"LOW","userInteraction":"NONE","scope":"CHANGED","confidentialityImpact":"LOW","integrityImpact":"LOW","availabilityImpact":"HIGH"},"exploitabilityScore":1.1,"impactScore":5.3}]},"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"98465","Ordinal":"1","Title":"RISC-V: KVM: Serialize IMSIC attributes with vCPU migration","CVE":"CVE-2026-98465","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"98465","Ordinal":"1","NoteData":"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's 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.","Type":"Description","Title":"RISC-V: KVM: Serialize IMSIC attributes with vCPU migration"}]}}}