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.
Published: 2026-10-18
Score: 7 High
EPSS: < 1% Very Low
KEV: No
Impact: Race condition causing incorrect IMSIC attribute access
Action: Patch
AI Analysis

Impact

KVM device ioctls that read or write IMSIC attributes are not serialized against the KVM_RUN operation. During a virtual CPU migration, the ioctl can capture the physical CPU and IMSIC virtual interrupt file address before the migration releases it. The address may then be reallocated to another vCPU before the attribute operation completes. When the ioctl subsequently accesses the stale address, it may read from or write to the new owner’s interrupt file, potentially causing incorrect interrupt handling or accidental data leakage.

Affected Systems

This flaw exists in the Linux kernel on RISC‑V platforms that implement the KVM hypervisor with IMSIC support. All kernel releases prior to the inclusion of the serialization patch are affected; explicit version numbers are not listed in the advisory.

Risk and Exploitability

The CVSS score of 7 indicates medium severity, and the EPSS score of <1% indicates a very low probability of exploitation. Based on the description, it is inferred that an attacker would need local privileged access to the KVM host to invoke the affected ioctl and coordinate it with a concurrent vCPU migration. No remote exploitation path is described, and the flaw is not listed in the CISA KEV catalog. Consequently, reliable exploitation is difficult and the overall risk to most systems is low.

Generated by OpenCVE AI on October 24, 2026 at 15:23 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade the kernel to a version that includes the serialization patch for IMSIC attribute operations.
  • Prevent concurrent vCPU migrations during IMSIC attribute ioctls, for example by disabling migration or configuring the host to serialize migrations and IMSIC operations.
  • If an immediate kernel upgrade is not feasible, disable IMSIC attribute operations on vCPUs that could be migrated, or apply a temporary lock on the IMSIC attribute group to prevent stale access.

Generated by OpenCVE AI on October 24, 2026 at 15:23 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Debian DLA Debian DLA DLA-4850-1 linux-6.12 security update
History

Sat, 24 Oct 2026 14:15:00 +0000

Type Values Removed Values Added
Metrics cvssV3_1

{'score': 5.3, 'vector': 'CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:L/I:L/A:L'}

cvssV3_1

{'score': 7, 'vector': 'CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:L/I:L/A:H'}


Wed, 21 Oct 2026 13:15:00 +0000


Tue, 20 Oct 2026 14:00:00 +0000

Type Values Removed Values Added
Weaknesses CWE-754

Tue, 20 Oct 2026 00:30:00 +0000

Type Values Removed Values Added
Weaknesses CWE-366
References
Metrics threat_severity

None

cvssV3_1

{'score': 5.3, 'vector': 'CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:L/I:L/A:L'}

threat_severity

Moderate


Sun, 18 Oct 2026 17:00:00 +0000

Type Values Removed Values Added
Weaknesses CWE-754

Sun, 18 Oct 2026 15:30:00 +0000

Type Values Removed Values Added
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.
Title RISC-V: KVM: Serialize IMSIC attributes with vCPU migration
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References

Subscriptions

Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-10-24T14:08:57.467Z

Reserved: 2026-09-25T10:25:14.350Z

Link: CVE-2026-98465

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-10-18T16:16:56.993

Modified: 2026-10-24T14:16:43.033

Link: CVE-2026-98465

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-10-18T00:00:00Z

Links: CVE-2026-98465 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-10-24T15:30:14Z

Weaknesses
  • CWE-366

    Race Condition within a Thread