{"api_version":"1","generated_at":"2026-10-23T01:16:45+00:00","cve":"CVE-2026-98472","urls":{"html":"https://cve.report/CVE-2026-98472","api":"https://cve.report/api/cve/CVE-2026-98472.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-98472","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-98472"},"summary":{"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":"PUBLISHED","assigner":"Linux","published_at":"2026-10-18 16:16:57","updated_at":"2026-10-19 10:18:57"},"problem_types":[],"metrics":[],"references":[{"url":"https://git.kernel.org/stable/c/9784e5ca91b37b387f3f414af4340c54f7a63566","name":"https://git.kernel.org/stable/c/9784e5ca91b37b387f3f414af4340c54f7a63566","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/6aef7cf800098749ff5d660222efaf6e01e98c09","name":"https://git.kernel.org/stable/c/6aef7cf800098749ff5d660222efaf6e01e98c09","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/12c1f6e03f944e399bd2c88441dca5dc702b95a5","name":"https://git.kernel.org/stable/c/12c1f6e03f944e399bd2c88441dca5dc702b95a5","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-98472","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-98472","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 6f38f8c574642a822f2e85f079fa29a49176c49c 6aef7cf800098749ff5d660222efaf6e01e98c09 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 6f38f8c574642a822f2e85f079fa29a49176c49c 9784e5ca91b37b387f3f414af4340c54f7a63566 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 6f38f8c574642a822f2e85f079fa29a49176c49c 12c1f6e03f944e399bd2c88441dca5dc702b95a5 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 6.17","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.17 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.18.55 6.18.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.2.9 7.2.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.3 * original_commit_for_fix","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"cna":{"affected":[{"defaultStatus":"unaffected","product":"Linux","programFiles":["arch/x86/kvm/svm/sev.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"lessThan":"6aef7cf800098749ff5d660222efaf6e01e98c09","status":"affected","version":"6f38f8c574642a822f2e85f079fa29a49176c49c","versionType":"git"},{"lessThan":"9784e5ca91b37b387f3f414af4340c54f7a63566","status":"affected","version":"6f38f8c574642a822f2e85f079fa29a49176c49c","versionType":"git"},{"lessThan":"12c1f6e03f944e399bd2c88441dca5dc702b95a5","status":"affected","version":"6f38f8c574642a822f2e85f079fa29a49176c49c","versionType":"git"}]},{"defaultStatus":"affected","product":"Linux","programFiles":["arch/x86/kvm/svm/sev.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"status":"affected","version":"6.17"},{"lessThan":"6.17","status":"unaffected","version":"0","versionType":"semver"},{"lessThanOrEqual":"6.18.*","status":"unaffected","version":"6.18.55","versionType":"semver"},{"lessThanOrEqual":"7.2.*","status":"unaffected","version":"7.2.9","versionType":"semver"},{"lessThanOrEqual":"*","status":"unaffected","version":"7.3","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"cpeMatch":[{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.18.55","versionStartIncluding":"6.17","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.2.9","versionStartIncluding":"6.17","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.3","versionStartIncluding":"6.17","vulnerable":true}],"negate":false,"operator":"OR"}]}],"descriptions":[{"lang":"en","value":"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."}],"providerMetadata":{"dateUpdated":"2026-10-19T09:20:10.096Z","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux"},"references":[{"url":"https://git.kernel.org/stable/c/6aef7cf800098749ff5d660222efaf6e01e98c09"},{"url":"https://git.kernel.org/stable/c/9784e5ca91b37b387f3f414af4340c54f7a63566"},{"url":"https://git.kernel.org/stable/c/12c1f6e03f944e399bd2c88441dca5dc702b95a5"}],"title":"KVM: SEV: Free have_run_cpus during VM destruction even if VM is no longer SEV","x_generator":{"engine":"bippy-1.2.0"}}},"cveMetadata":{"assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","assignerShortName":"Linux","cveId":"CVE-2026-98472","datePublished":"2026-10-18T15:15:24.654Z","dateReserved":"2026-09-25T10:25:14.351Z","dateUpdated":"2026-10-19T09:20:10.096Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-10-18 16:16:57","lastModifiedDate":"2026-10-19 10:18:57","problem_types":[],"metrics":[],"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"98472","Ordinal":"1","Title":"KVM: SEV: Free have_run_cpus during VM destruction even if VM is","CVE":"CVE-2026-98472","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"98472","Ordinal":"1","NoteData":"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.","Type":"Description","Title":"KVM: SEV: Free have_run_cpus during VM destruction even if VM is"}]}}}