In the Linux kernel, the following vulnerability has been resolved: RISC-V: KVM: Serialize IMSIC attributes with vCPU migration KVM device ioctls… (CVE-2026-98465)
Description
A vulnerability in the Linux kernel's RISC-V KVM implementation involving improper serialization of IMSIC attributes during vCPU migration has been resolved. The issue allowed KVM device ioctls to access stale IMSIC VS-file attributes due to concurrent vCPU migration, potentially causing attribute operations to interact with the wrong interrupt file. The fix serializes IMSIC attribute operations with the target vCPU mutex to prevent migration and recycling of the VS-file during access.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The Linux kernel's RISC-V KVM subsystem had a vulnerability where KVM device ioctls were not properly serialized against KVM_RUN. This allowed the function kvm_riscv_aia_imsic_rw_attr() to snapshot IMSIC VS-file attributes (physical CPU and HGEI) before a concurrent vCPU migration released them. Consequently, the HGEI could be allocated to another vCPU before imsic_vsfile_rw() used the stale tuple, causing GET or SET attribute operations to access the new owner's interrupt file incorrectly. The vulnerability was addressed by serializing the entire IMSIC attribute operation with the target vCPU mutex, ensuring the VS-file cannot be migrated or recycled until the attribute access completes. The mutex is acquired in a killable manner to keep device ioctls interruptible while waiting for KVM_RUN to finish.
Potential Impact
This vulnerability could cause KVM device ioctl operations to access or modify IMSIC VS-file attributes belonging to a different vCPU due to race conditions during vCPU migration. This could lead to inconsistent or incorrect interrupt handling within the virtualized environment on RISC-V platforms. No information about exploitation in the wild is available.
Mitigation Recommendations
A fix has been implemented in the Linux kernel that serializes IMSIC attribute operations with the target vCPU mutex to prevent concurrent migration and attribute access conflicts. Users should update to the Linux kernel version that includes this fix. Since no patch links or specific versions are provided, check the official Linux kernel advisories or vendor updates for the fixed version and apply the update accordingly.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-95qg-qjx7-9h4r
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2026-98465"]
Threat ID: 6ad520b12cdf04f656993b15
Added to database: 10/18/2026, 19:40:33 UTC
Last enriched: 10/18/2026, 20:03:26 UTC
Last updated: 10/18/2026, 22:02:57 UTC
Views: 7
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.