{"id":"CVE-2026-98719","revision":null,"records":[{"revision":"2ee995c9e4b043b18358b97f94458fa0","observedAt":"2026-10-23T15:48:27.903+00:00","statement":{"source":"cve-program","id":"CVE-2026-98719","aliases":[],"title":"KVM: SEV: Nullify \"have run CPUs\" mask pointer when freeing it","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nKVM: SEV: Nullify \"have run CPUs\" mask pointer when freeing it\n\nNullify have_run_cpus when freeing the mask, particularly in the error path\nof __sev_guest_init(), so that KVM doesn't have to subtly use sev->active\nto track whether or not the mask has been freed.  As pointed out by Sashiko,\nblindly freeing the mask in sev_vm_destroy() results in a double-free if\nthe mask is freed if __sev_guest_init() fails.\n\nThrow the logic in a helper as nullifying the pointer is frustratingly\ndifficult and weird due to have_run_cpus being a single-entry array when\nCPUMASK_OFFSTACK=n.  Deliberately don't use CPUMASK_VAR_NULL, as it's not\ndirectly assignable when the cpumask is on-stack, e.g. requires using a\nlocal variable and a memcpy(), which is beyond ridiculous.  Furthermore,\nwhile clearing the on-stack bitmask is an unnecessary and arguably unwanted\nside effect, KVM absolutely relies on '0' being the \"null\" value given that\nthe struct is zero-allocated.\n\nOpportunistically add an alloc() helper to pair with free(); there are just\nenough call sites to make doing so worthwhile.","state":0,"publishedAt":"2026-10-18T15:46:54.631+00:00","modifiedAt":"2026-10-19T09:24:30.132+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\": \"6aef7cf800098749ff5d660222efaf6e01e98c09\",\n                            \"lessThan\": \"b1de3ebf59507e0edacaa5cfa2225bc1869e1b63\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        },\n                        {\n                            \"version\": \"9784e5ca91b37b387f3f414af4340c54f7a63566\",\n                            \"lessThan\": \"0fbc7fec2242de6c3dcea6de55573c428e820173\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        },\n                        {\n                            \"version\": \"12c1f6e03f944e399bd2c88441dca5dc702b95a5\",\n                            \"lessThan\": \"8abbc76120a74bfba1851bd97528099d715e45c6\",\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\": \"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\": \"6.18.55\",\n                            \"lessThan\": \"6.18.56\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"7.2.9\",\n                            \"lessThan\": \"7.2.10\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"semver\"\n                        }\n                    ]\n                }"}],"metrics":[],"references":["https://git.kernel.org/stable/c/b1de3ebf59507e0edacaa5cfa2225bc1869e1b63","https://git.kernel.org/stable/c/0fbc7fec2242de6c3dcea6de55573c428e820173","https://git.kernel.org/stable/c/8abbc76120a74bfba1851bd97528099d715e45c6"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-98719","license":"CVE Program Terms of Use","key":"cve-program:CVE-2026-98719","identifiers":["CVE-2026-98719"]},"retained":false,"historicalAffected":[]}],"coverage":[{"source":"cisa-kev:global","scope":"Complete CISA KEV catalog; all vendors. Missing entries do not establish absence of exploitation.","generation":"2026-11-09T00:02:23.6066046+00:00","complete":true,"records":1769,"lastAttemptAt":"2026-11-09T00:02:23.6066046+00:00","lastSuccessAt":"2026-11-09T00:02:23.7657636+00:00","error":null,"lastVerifiedAt":"2026-11-09T00:02:23.7657682+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"cve-program","scope":"Official CVE Program baseline and cumulative hourly delta; all vendors, published and rejected records","generation":"cve-eaa64dac63caa79c8d4905619258c41c51b39e461b996124e1a21b5e85e7e738-06f887e3cff12cdbfc1e6b879a816e143efd9863ce6bea9ec9f7392bb9208c22","complete":true,"records":421267,"lastAttemptAt":"2026-11-09T00:02:15.6996628+00:00","lastSuccessAt":"2026-11-09T00:02:15.5944139+00:00","error":null,"lastVerifiedAt":"2026-11-09T00:02:15.6996628+00:00","snapshotPublishedAt":"2026-11-08T23:22:42+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"euvd","scope":"Rolling EUVD lookups of CVE aliases in current public OSV archives; 500 identifiers per refresh, rechecked after 48 hours. Not a global EUVD catalog. Successful not-found lookups count as checked; they do not imply withdrawal or safety. No reader inventory is sent.","generation":"enrichment-9cbb2902d8d54502a589709a206ae3bb","complete":false,"records":13654,"lastAttemptAt":"2026-11-09T00:08:01.2146191+00:00","lastSuccessAt":"2026-11-09T00:08:01.2703954+00:00","error":null,"lastVerifiedAt":"2026-11-09T00:08:01.2703954+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"first-epss:nuget","scope":"FIRST EPSS for explicit CVE aliases in the collected public NuGet archive. Not a global EPSS backfill.","generation":"2026-11-09T00:02:23.6066046+00:00","complete":true,"records":1096,"lastAttemptAt":"2026-11-09T00:02:23.6066046+00:00","lastSuccessAt":"2026-11-09T00:02:23.7665616+00:00","error":null,"lastVerifiedAt":"2026-11-09T00:02:23.7665617+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"nvd","scope":"Rolling NVD lookups of CVE aliases in current public OSV archives; 500 identifiers per refresh, rechecked after 48 hours. Not a global NVD catalog. Successful not-found lookups count as checked; they do not imply withdrawal or safety. No reader inventory is sent.","generation":"enrichment-47b506589c26469684507bfb31b90a8d","complete":true,"records":13666,"lastAttemptAt":"2026-11-09T00:02:25.3547919+00:00","lastSuccessAt":"2026-11-09T00:02:25.351+00:00","error":null,"lastVerifiedAt":"2026-11-09T00:02:25.351+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":13706,"expectedIdentifiers":13706,"failedIdentifiers":0},{"source":"osv:Go","scope":"Complete OSV Go ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"go-980593e6977a6d1b4fb1eed5a1ffe88a468736f89f0a06f710924ad59132c023","complete":true,"records":9914,"lastAttemptAt":"2026-11-09T00:02:16.0496746+00:00","lastSuccessAt":"2026-11-08T11:07:07.068788+00:00","error":null,"lastVerifiedAt":"2026-11-09T00:02:16.0496746+00:00","snapshotPublishedAt":"2026-11-08T11:02:46+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:NuGet","scope":"Complete OSV NuGet ecosystem archive, including GitHub Advisory Database records; NuGet version matching only","generation":"nuget-fde804134ecdda0ddd5ff5c26ee1fff5a6fa659311f7ef2e51c6ad54964db0e2","complete":true,"records":1971,"lastAttemptAt":"2026-11-09T00:02:15.8362171+00:00","lastSuccessAt":"2026-11-06T19:03:17.0399903+00:00","error":null,"lastVerifiedAt":"2026-11-09T00:02:15.8362171+00:00","snapshotPublishedAt":"2026-11-06T18:17:57+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:crates.io","scope":"Complete OSV crates.io ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"crates.io-3b1150af6d7ada2c07356cbab4ead5224c1485027890f71c71d0742cddf0b9e8","complete":true,"records":3055,"lastAttemptAt":"2026-11-09T00:02:23.5770506+00:00","lastSuccessAt":"2026-11-09T00:02:23.4330288+00:00","error":null,"lastVerifiedAt":"2026-11-09T00:02:23.5770506+00:00","snapshotPublishedAt":"2026-11-08T23:17:54+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:npm","scope":"Complete OSV npm ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"npm-f8647d7ba64b1ba0dfdc7130944766d5b36d5b77d18fff0c79e651a4cff3c2b9","complete":true,"records":231293,"lastAttemptAt":"2026-11-09T00:02:15.9369765+00:00","lastSuccessAt":"2026-11-08T11:06:56.2918717+00:00","error":null,"lastVerifiedAt":"2026-11-09T00:02:15.9369765+00:00","snapshotPublishedAt":"2026-11-08T11:02:50+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null}]}