{"id":"CVE-2026-98465","aliases":["CVE-2026-98465"],"related":[],"kind":"vulnerability","state":"published","title":"RISC-V: KVM: Serialize IMSIC attributes with vCPU migration","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"}],"published":"2026-10-18T15:15:17.498Z","modified":"2026-10-24T14:16:43.033Z","severity":{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:L/I:L/A:H","score":7,"rating":"HIGH"},"severities":[{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:L/I:L/A:H","score":7,"rating":"HIGH"}],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"db8b7e97d6137a28b2bfc07e591d54da268f0c36","fixed":"6c2bcf6b173d4afed883cceea9d47f2c5194161d","status":"affected"},{"type":"git","introduced":"db8b7e97d6137a28b2bfc07e591d54da268f0c36","fixed":"a29c5d2dd2ef9a8617a9a6d5585696d5f149cd98","status":"affected"},{"type":"git","introduced":"db8b7e97d6137a28b2bfc07e591d54da268f0c36","fixed":"c525772c304c971b0d3a1f2898dedbae653efe90","status":"affected"},{"type":"git","introduced":"db8b7e97d6137a28b2bfc07e591d54da268f0c36","fixed":"71acbea44e78665ea90e3c310fca6bbdcc0252db","status":"affected"},{"type":"git","introduced":"db8b7e97d6137a28b2bfc07e591d54da268f0c36","fixed":"8ae12ccaec6ec74945d8c1ef39f2c1b8df779abc","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"6.5","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.5","status":"unaffected"},{"type":"semver","introduced":"6.6.160","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.112","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.55","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.2.9","lastAffected":"7.2.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.3","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/6c2bcf6b173d4afed883cceea9d47f2c5194161d","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/a29c5d2dd2ef9a8617a9a6d5585696d5f149cd98","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/c525772c304c971b0d3a1f2898dedbae653efe90","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/71acbea44e78665ea90e3c310fca6bbdcc0252db","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/8ae12ccaec6ec74945d8c1ef39f2c1b8df779abc","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-98465","url":"https://www.cve.org/CVERecord?id=CVE-2026-98465","licence":"CVE Terms of Use","modified":"2026-10-24T14:08:57.467Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-98465","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-98465","licence":"Public domain","modified":"2026-10-24T14:16:43.033Z"}],"updatedAt":"2026-11-25T22:59:45.191Z","epss":{"score":0.00136,"percentile":0.03287,"date":"2026-12-01T12:00:22.000Z"}}