{"id":"CVE-2026-98472","revision":"67d92164688a42fa9f01cd245242a0eb","records":[{"revision":"67d92164688a42fa9f01cd245242a0eb","observedAt":"2026-10-23T15:48:27.903+00:00","statement":{"source":"cve-program","id":"CVE-2026-98472","aliases":[],"title":"KVM: SEV: Free have_run_cpus during VM destruction even if VM is no longer SEV","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nKVM: SEV: Free have_run_cpus during VM destruction even if VM is no longer SEV\n\nUnconditionally free SEV's \"have run CPUs\" cpumask in the VM destroy path,\ni.e. even for what appear to be non-SEV VMs, as an SEV VM becomes a non-SEV\nVM if its state is intra-host migrated.  Alternatively, the mask could be\nfreed in sev_migrate_from() when \"converting\" the source VM, but that gets\nannoying because ideally KVM would nullify the mask to guard against UAF,\nand nullifying the mask would need be conditioned on CPUMASK_OFFSTACK=y.\n\nFreeing the mask during sev_migrate_from() is also not robust against other\nKVM bugs, though that's kind of a moot point since any such bugs would show\nup even if sev->active is never set.  I.e. KVM must get that side of things\ncorrect.  But, that's not a great reason to add more code just to make\nthings marginally less robust.","state":0,"publishedAt":"2026-10-18T15:15:24.654+00:00","modifiedAt":"2026-10-19T09:20:10.096+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/x86/kvm/svm/sev.c\"\n                    ],\n                    \"versions\": [\n                        {\n                            \"version\": \"6f38f8c574642a822f2e85f079fa29a49176c49c\",\n                            \"lessThan\": \"6aef7cf800098749ff5d660222efaf6e01e98c09\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        },\n                        {\n                            \"version\": \"6f38f8c574642a822f2e85f079fa29a49176c49c\",\n                            \"lessThan\": \"9784e5ca91b37b387f3f414af4340c54f7a63566\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        },\n                        {\n                            \"version\": \"6f38f8c574642a822f2e85f079fa29a49176c49c\",\n                            \"lessThan\": \"12c1f6e03f944e399bd2c88441dca5dc702b95a5\",\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/x86/kvm/svm/sev.c\"\n                    ],\n                    \"versions\": [\n                        {\n                            \"version\": \"6.17\",\n                            \"status\": \"affected\"\n                        },\n                        {\n                            \"version\": \"0\",\n                            \"lessThan\": \"6.17\",\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":[],"references":["https://git.kernel.org/stable/c/6aef7cf800098749ff5d660222efaf6e01e98c09","https://git.kernel.org/stable/c/9784e5ca91b37b387f3f414af4340c54f7a63566","https://git.kernel.org/stable/c/12c1f6e03f944e399bd2c88441dca5dc702b95a5"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-98472","license":"CVE Program Terms of Use","key":"cve-program:CVE-2026-98472","identifiers":["CVE-2026-98472"]},"retained":false,"historicalAffected":[]}],"coverage":[]}