[<prev] [next>] [day] [month] [year] [list]
Message-ID: <2025072811-CVE-2025-38469-4e11@gregkh>
Date: Mon, 28 Jul 2025 13:22:12 +0200
From: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
To: linux-cve-announce@...r.kernel.org
Cc: Greg Kroah-Hartman <gregkh@...nel.org>
Subject: CVE-2025-38469: KVM: x86/xen: Fix cleanup logic in emulation of Xen schedop poll hypercalls
From: Greg Kroah-Hartman <gregkh@...nel.org>
Description
===========
In the Linux kernel, the following vulnerability has been resolved:
KVM: x86/xen: Fix cleanup logic in emulation of Xen schedop poll hypercalls
kvm_xen_schedop_poll does a kmalloc_array() when a VM polls the host
for more than one event channel potr (nr_ports > 1).
After the kmalloc_array(), the error paths need to go through the
"out" label, but the call to kvm_read_guest_virt() does not.
[Adjusted commit message. - Paolo]
The Linux kernel CVE team has assigned CVE-2025-38469 to this issue.
Affected and fixed versions
===========================
Issue introduced in 6.2 with commit 92c58965e9656dc6e682a8ffe520fac0fb256d13 and fixed in 6.6.100 with commit 3ee59c38ae7369ad1f7b846e05633ccf0d159fab
Issue introduced in 6.2 with commit 92c58965e9656dc6e682a8ffe520fac0fb256d13 and fixed in 6.12.40 with commit fd627ac8a5cff4d45269f164b13ddddc0726f2cc
Issue introduced in 6.2 with commit 92c58965e9656dc6e682a8ffe520fac0fb256d13 and fixed in 6.15.8 with commit 061c553c66bc1638c280739999224c8000fd4602
Issue introduced in 6.2 with commit 92c58965e9656dc6e682a8ffe520fac0fb256d13 and fixed in 6.16 with commit 5a53249d149f48b558368c5338b9921b76a12f8c
Please see https://www.kernel.org for a full list of currently supported
kernel versions by the kernel community.
Unaffected versions might change over time as fixes are backported to
older supported kernel versions. The official CVE entry at
https://cve.org/CVERecord/?id=CVE-2025-38469
will be updated if fixes are backported, please check that for the most
up to date information about this issue.
Affected files
==============
The file(s) affected by this issue are:
arch/x86/kvm/xen.c
Mitigation
==========
The Linux kernel CVE team recommends that you update to the latest
stable kernel version for this, and many other bugfixes. Individual
changes are never tested alone, but rather are part of a larger kernel
release. Cherry-picking individual commits is not recommended or
supported by the Linux kernel community at all. If however, updating to
the latest release is impossible, the individual changes to resolve this
issue can be found at these commits:
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
Powered by blists - more mailing lists