{"id":"CVE-2025-38469","state":"PUBLISHED","title":"KVM: x86/xen: Fix cleanup logic in emulation of Xen schedop poll hypercalls","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nKVM: x86/xen: Fix cleanup logic in emulation of Xen schedop poll hypercalls\n\nkvm_xen_schedop_poll does a kmalloc_array() when a VM polls the host\nfor more than one event channel potr (nr_ports > 1).\n\nAfter the kmalloc_array(), the error paths need to go through the\n\"out\" label, but the call to kvm_read_guest_virt() does not.\n\n[Adjusted commit message. - Paolo]","publishedAt":"2025-07-28T11:21:30.992Z","updatedAt":"2026-05-11T21:28:36.841Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"92c58965e9656dc6e682a8ffe520fac0fb256d13","status":"affected","lessThan":"3ee59c38ae7369ad1f7b846e05633ccf0d159fab","versionType":"git"},{"version":"92c58965e9656dc6e682a8ffe520fac0fb256d13","status":"affected","lessThan":"fd627ac8a5cff4d45269f164b13ddddc0726f2cc","versionType":"git"},{"version":"92c58965e9656dc6e682a8ffe520fac0fb256d13","status":"affected","lessThan":"061c553c66bc1638c280739999224c8000fd4602","versionType":"git"},{"version":"92c58965e9656dc6e682a8ffe520fac0fb256d13","status":"affected","lessThan":"5a53249d149f48b558368c5338b9921b76a12f8c","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["arch/x86/kvm/xen.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.2","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.2","versionType":"semver"},{"version":"6.6.100","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.12.40","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.15.8","status":"unaffected","lessThanOrEqual":"6.15.*","versionType":"semver"},{"version":"6.16","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/xen.c"]}],"references":["https://git.kernel.org/stable/c/3ee59c38ae7369ad1f7b846e05633ccf0d159fab","https://git.kernel.org/stable/c/fd627ac8a5cff4d45269f164b13ddddc0726f2cc","https://git.kernel.org/stable/c/061c553c66bc1638c280739999224c8000fd4602","https://git.kernel.org/stable/c/5a53249d149f48b558368c5338b9921b76a12f8c"],"weaknesses":[],"ingestedAt":"2026-10-29T20:09:09.358Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2025/38xxx/CVE-2025-38469.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2025-38469","state":"PUBLISHED","datePublished":"2025-07-28T11:21:30.992Z","dateUpdated":"2026-05-11T21:28:36.841Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2025-04-16T04:51:24.020Z"},"containers":{"cna":{"title":"KVM: x86/xen: Fix cleanup logic in emulation of Xen schedop poll hypercalls","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nKVM: x86/xen: Fix cleanup logic in emulation of Xen schedop poll hypercalls\n\nkvm_xen_schedop_poll does a kmalloc_array() when a VM polls the host\nfor more than one event channel potr (nr_ports > 1).\n\nAfter the kmalloc_array(), the error paths need to go through the\n\"out\" label, but the call to kvm_read_guest_virt() does not.\n\n[Adjusted commit message. - Paolo]"}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"92c58965e9656dc6e682a8ffe520fac0fb256d13","status":"affected","lessThan":"3ee59c38ae7369ad1f7b846e05633ccf0d159fab","versionType":"git"},{"version":"92c58965e9656dc6e682a8ffe520fac0fb256d13","status":"affected","lessThan":"fd627ac8a5cff4d45269f164b13ddddc0726f2cc","versionType":"git"},{"version":"92c58965e9656dc6e682a8ffe520fac0fb256d13","status":"affected","lessThan":"061c553c66bc1638c280739999224c8000fd4602","versionType":"git"},{"version":"92c58965e9656dc6e682a8ffe520fac0fb256d13","status":"affected","lessThan":"5a53249d149f48b558368c5338b9921b76a12f8c","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["arch/x86/kvm/xen.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.2","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.2","versionType":"semver"},{"version":"6.6.100","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.12.40","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.15.8","status":"unaffected","lessThanOrEqual":"6.15.*","versionType":"semver"},{"version":"6.16","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/xen.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/3ee59c38ae7369ad1f7b846e05633ccf0d159fab"},{"url":"https://git.kernel.org/stable/c/fd627ac8a5cff4d45269f164b13ddddc0726f2cc"},{"url":"https://git.kernel.org/stable/c/061c553c66bc1638c280739999224c8000fd4602"},{"url":"https://git.kernel.org/stable/c/5a53249d149f48b558368c5338b9921b76a12f8c"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-05-11T21:28:36.841Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.2","versionEndExcluding":"6.6.100"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.2","versionEndExcluding":"6.12.40"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.2","versionEndExcluding":"6.15.8"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.2","versionEndExcluding":"6.16"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}}}}}