{"id":"CVE-2026-99339","state":"PUBLISHED","title":"KVM: x86: Zero reserved synic flags when delivering message to avoid stack leak","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nKVM: x86: Zero reserved synic flags when delivering message to avoid stack leak\n\nEnsure all reserved flags are zeroed when setting the msg_pending flag as\npart of SynIC message delivery, as setting only msg_pending can leak seven\nbits of kernel stack data to the guest.  E.g. gcc typically uses a\nbitwise-OR to set the msg_pending flag, without initializing the on-stack\nvariable.\n\nPrecisely zero the flags, e.g. as opposed to zeroing the entire structure,\nto make it somewhat more obvious that the flags *need* to be zeroed.  E.g.\nit would be quite easy to misread the initial read of guest memory and\nthink that zeroing the entire structure is completely superfluous.","publishedAt":"2026-11-19T14:21:47.264Z","updatedAt":"2026-11-19T14:35:25.792Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"3a0e7731724f6ac684129f1763eef4d2d3e7dec7","status":"affected","lessThan":"fd7764eea189053ce6345950f11e4aeecd741fba","versionType":"git"},{"version":"3a0e7731724f6ac684129f1763eef4d2d3e7dec7","status":"affected","lessThan":"ab15e4093e2aff170ea2087ab994f64530a13cba","versionType":"git"},{"version":"3a0e7731724f6ac684129f1763eef4d2d3e7dec7","status":"affected","lessThan":"416da9d1824cf34c709f3222f5012714810734dd","versionType":"git"},{"version":"3a0e7731724f6ac684129f1763eef4d2d3e7dec7","status":"affected","lessThan":"2616f497506a772db53e7bb1024cde50b4c165e0","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["arch/x86/kvm/hyperv.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"5.0","status":"affected"},{"version":"0","status":"unaffected","lessThan":"5.0","versionType":"semver"},{"version":"6.12.117","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.61","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.3.2","status":"unaffected","lessThanOrEqual":"7.3.*","versionType":"semver"},{"version":"7.4-rc1","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["arch/x86/kvm/hyperv.c"]}],"references":["https://git.kernel.org/stable/c/fd7764eea189053ce6345950f11e4aeecd741fba","https://git.kernel.org/stable/c/ab15e4093e2aff170ea2087ab994f64530a13cba","https://git.kernel.org/stable/c/416da9d1824cf34c709f3222f5012714810734dd","https://git.kernel.org/stable/c/2616f497506a772db53e7bb1024cde50b4c165e0"],"weaknesses":[],"ingestedAt":"2026-11-19T14:42:06.048Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/99xxx/CVE-2026-99339.json","commit":"ac44738435f10e6dbe2f4dd504cf13737f9cf963","baselineCommit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-99339","state":"PUBLISHED","datePublished":"2026-11-19T14:21:47.264Z","dateUpdated":"2026-11-19T14:35:25.792Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2026-09-25T10:25:14.409Z"},"containers":{"cna":{"title":"KVM: x86: Zero reserved synic flags when delivering message to avoid stack leak","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nKVM: x86: Zero reserved synic flags when delivering message to avoid stack leak\n\nEnsure all reserved flags are zeroed when setting the msg_pending flag as\npart of SynIC message delivery, as setting only msg_pending can leak seven\nbits of kernel stack data to the guest.  E.g. gcc typically uses a\nbitwise-OR to set the msg_pending flag, without initializing the on-stack\nvariable.\n\nPrecisely zero the flags, e.g. as opposed to zeroing the entire structure,\nto make it somewhat more obvious that the flags *need* to be zeroed.  E.g.\nit would be quite easy to misread the initial read of guest memory and\nthink that zeroing the entire structure is completely superfluous."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"3a0e7731724f6ac684129f1763eef4d2d3e7dec7","status":"affected","lessThan":"fd7764eea189053ce6345950f11e4aeecd741fba","versionType":"git"},{"version":"3a0e7731724f6ac684129f1763eef4d2d3e7dec7","status":"affected","lessThan":"ab15e4093e2aff170ea2087ab994f64530a13cba","versionType":"git"},{"version":"3a0e7731724f6ac684129f1763eef4d2d3e7dec7","status":"affected","lessThan":"416da9d1824cf34c709f3222f5012714810734dd","versionType":"git"},{"version":"3a0e7731724f6ac684129f1763eef4d2d3e7dec7","status":"affected","lessThan":"2616f497506a772db53e7bb1024cde50b4c165e0","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["arch/x86/kvm/hyperv.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"5.0","status":"affected"},{"version":"0","status":"unaffected","lessThan":"5.0","versionType":"semver"},{"version":"6.12.117","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.61","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.3.2","status":"unaffected","lessThanOrEqual":"7.3.*","versionType":"semver"},{"version":"7.4-rc1","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["arch/x86/kvm/hyperv.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/fd7764eea189053ce6345950f11e4aeecd741fba"},{"url":"https://git.kernel.org/stable/c/ab15e4093e2aff170ea2087ab994f64530a13cba"},{"url":"https://git.kernel.org/stable/c/416da9d1824cf34c709f3222f5012714810734dd"},{"url":"https://git.kernel.org/stable/c/2616f497506a772db53e7bb1024cde50b4c165e0"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-11-19T14:35:25.792Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.0","versionEndExcluding":"6.12.117"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.0","versionEndExcluding":"6.18.61"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.0","versionEndExcluding":"7.3.2"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.0","versionEndExcluding":"7.4-rc1"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}}}}}