# CVE-2026-98465: RISC-V: KVM: Serialize IMSIC attributes with vCPU migration

- Severity: High 7.0 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:L/I:L/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.14%, higher than 3% of CVEs (2026-12-01)
- Published: 2026-10-18T15:15:17.498Z
- Modified: 2026-10-24T14:16:43.033Z
- Assigned by: Linux

## Description

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.

(As written by CVE List.)

## Affected

- Linux Linux: from db8b7e97d6137a28b2bfc07e591d54da268f0c36 before 6c2bcf6b173d4afed883cceea9d47f2c5194161d; from db8b7e97d6137a28b2bfc07e591d54da268f0c36 before a29c5d2dd2ef9a8617a9a6d5585696d5f149cd98; from db8b7e97d6137a28b2bfc07e591d54da268f0c36 before c525772c304c971b0d3a1f2898dedbae653efe90; from db8b7e97d6137a28b2bfc07e591d54da268f0c36 before 71acbea44e78665ea90e3c310fca6bbdcc0252db; from db8b7e97d6137a28b2bfc07e591d54da268f0c36 before 8ae12ccaec6ec74945d8c1ef39f2c1b8df779abc; 6.5 (not affected: before 6.5; from 6.6.160 up to 6.6.*; from 6.12.112 up to 6.12.*; from 6.18.55 up to 6.18.*; from 7.2.9 up to 7.2.*; from 7.3 up to *)

## References

- <https://git.kernel.org/stable/c/6c2bcf6b173d4afed883cceea9d47f2c5194161d>
- <https://git.kernel.org/stable/c/a29c5d2dd2ef9a8617a9a6d5585696d5f149cd98>
- <https://git.kernel.org/stable/c/c525772c304c971b0d3a1f2898dedbae653efe90>
- <https://git.kernel.org/stable/c/71acbea44e78665ea90e3c310fca6bbdcc0252db>
- <https://git.kernel.org/stable/c/8ae12ccaec6ec74945d8c1ef39f2c1b8df779abc>

## Sources

- CVE List: [CVE-2026-98465](https://www.cve.org/CVERecord?id=CVE-2026-98465), CVE Terms of Use, modified 2026-10-24
- NVD: [CVE-2026-98465](https://nvd.nist.gov/vuln/detail/CVE-2026-98465), Public domain, modified 2026-10-24

---

Page: https://cve.day/CVE-2026-98465 · Whole record: https://cve.day/CVE-2026-98465.json · Rebuilt by cve.day 2026-11-25T22:59:45.191Z
