{"id":"CVE-2026-98465","revision":"af4b2b4a87564242b384ca5e2477f551","records":[{"revision":"af4b2b4a87564242b384ca5e2477f551","observedAt":"2026-10-24T16:17:04.479+00:00","statement":{"source":"cve-program","id":"CVE-2026-98465","aliases":[],"title":"RISC-V: KVM: Serialize IMSIC attributes with vCPU migration","description":"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.","state":0,"publishedAt":"2026-10-18T15:15:17.498+00:00","modifiedAt":"2026-10-24T14:08:57.467+00:00","affected":[{"ecosystem":"Vendor product","name":"Linux","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"product\": \"Linux\",\n                    \"vendor\": \"Linux\",\n                    \"defaultStatus\": \"unaffected\",\n                    \"repo\": \"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\n                    \"programFiles\": [\n                        \"arch/riscv/kvm/aia_imsic.c\"\n                    ],\n                    \"versions\": [\n                        {\n                            \"version\": \"db8b7e97d6137a28b2bfc07e591d54da268f0c36\",\n                            \"lessThan\": \"6c2bcf6b173d4afed883cceea9d47f2c5194161d\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        },\n                        {\n                            \"version\": \"db8b7e97d6137a28b2bfc07e591d54da268f0c36\",\n                            \"lessThan\": \"a29c5d2dd2ef9a8617a9a6d5585696d5f149cd98\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        },\n                        {\n                            \"version\": \"db8b7e97d6137a28b2bfc07e591d54da268f0c36\",\n                            \"lessThan\": \"c525772c304c971b0d3a1f2898dedbae653efe90\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        },\n                        {\n                            \"version\": \"db8b7e97d6137a28b2bfc07e591d54da268f0c36\",\n                            \"lessThan\": \"71acbea44e78665ea90e3c310fca6bbdcc0252db\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        },\n                        {\n                            \"version\": \"db8b7e97d6137a28b2bfc07e591d54da268f0c36\",\n                            \"lessThan\": \"8ae12ccaec6ec74945d8c1ef39f2c1b8df779abc\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        }\n                    ]\n                }"},{"ecosystem":"Vendor product","name":"Linux","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"product\": \"Linux\",\n                    \"vendor\": \"Linux\",\n                    \"defaultStatus\": \"affected\",\n                    \"repo\": \"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\n                    \"programFiles\": [\n                        \"arch/riscv/kvm/aia_imsic.c\"\n                    ],\n                    \"versions\": [\n                        {\n                            \"version\": \"6.5\",\n                            \"status\": \"affected\"\n                        },\n                        {\n                            \"version\": \"0\",\n                            \"lessThan\": \"6.5\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"6.6.160\",\n                            \"lessThanOrEqual\": \"6.6.*\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"6.12.112\",\n                            \"lessThanOrEqual\": \"6.12.*\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"6.18.55\",\n                            \"lessThanOrEqual\": \"6.18.*\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"7.2.9\",\n                            \"lessThanOrEqual\": \"7.2.*\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"7.3\",\n                            \"lessThanOrEqual\": \"*\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"original_commit_for_fix\"\n                        }\n                    ]\n                }"}],"metrics":[{"system":"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,"severity":"HIGH"}],"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"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-98465","license":"CVE Program Terms of Use","key":"cve-program:CVE-2026-98465","identifiers":["CVE-2026-98465"]},"retained":false,"historicalAffected":[]}],"coverage":[]}