RISC-V: KVM: Serialize IMSIC attributes with vCPU migration
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.
CVE-2026-98465
Primary source · Revision 1
Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.
Security context
Source reference: cve:CVE-2026-98465
Linux
Source reference: /containers/cna/affected/0/product
- Affected versions
- Not stated in this record
- Fixed versions
- Not stated in this record
- Prerequisites
- Not stated in this record
Linux
Source reference: /containers/cna/affected/1/product
- Affected versions
- Not stated in this record
- Fixed versions
- Not stated in this record
- Prerequisites
- Not stated in this record
Structured affected-version data
Original package identities and version rules from this source.
[
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"product": "Linux",
"versions": [
{
"status": "affected",
"version": "db8b7e97d6137a28b2bfc07e591d54da268f0c36",
"lessThan": "6c2bcf6b173d4afed883cceea9d47f2c5194161d",
"versionType": "git"
},
{
"status": "affected",
"version": "db8b7e97d6137a28b2bfc07e591d54da268f0c36",
"lessThan": "a29c5d2dd2ef9a8617a9a6d5585696d5f149cd98",
"versionType": "git"
},
{
"status": "affected",
"version": "db8b7e97d6137a28b2bfc07e591d54da268f0c36",
"lessThan": "c525772c304c971b0d3a1f2898dedbae653efe90",
"versionType": "git"
},
{
"status": "affected",
"version": "db8b7e97d6137a28b2bfc07e591d54da268f0c36",
"lessThan": "71acbea44e78665ea90e3c310fca6bbdcc0252db",
"versionType": "git"
},
{
"status": "affected",
"version": "db8b7e97d6137a28b2bfc07e591d54da268f0c36",
"lessThan": "8ae12ccaec6ec74945d8c1ef39f2c1b8df779abc",
"versionType": "git"
}
],
"programFiles": [
"arch/riscv/kvm/aia_imsic.c"
],
"defaultStatus": "unaffected"
},
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"product": "Linux",
"versions": [
{
"status": "affected",
"version": "6.5"
},
{
"status": "unaffected",
"version": "0",
"lessThan": "6.5",
"versionType": "semver"
},
{
"status": "unaffected",
"version": "6.6.160",
"versionType": "semver",
"lessThanOrEqual": "6.6.*"
},
{
"status": "unaffected",
"version": "6.12.112",
"versionType": "semver",
"lessThanOrEqual": "6.12.*"
},
{
"status": "unaffected",
"version": "6.18.55",
"versionType": "semver",
"lessThanOrEqual": "6.18.*"
},
{
"status": "unaffected",
"version": "7.2.9",
"versionType": "semver",
"lessThanOrEqual": "7.2.*"
},
{
"status": "unaffected",
"version": "7.3",
"versionType": "original_commit_for_fix",
"lessThanOrEqual": "*"
}
],
"programFiles": [
"arch/riscv/kvm/aia_imsic.c"
],
"defaultStatus": "affected"
}
]- Related CVEs
- CVE-2026-98465
Source reference:
/cveMetadata/cveId
Publisher severity
high
Source reference: /containers/cna/metrics
- Event
- #55675 · Revision 1
- Added to Heist Feed
- Publisher date