CVE-2025-39823
kernel: KVM: x86: use array_index_nospec with indices that come from guest
Severity
ModerateRed Hat Product Security
CVSS 3.1
Review impact separately from score.
Published · September 16, 2025
Updated · June 30, 2026
Description
In the Linux kernel, the following vulnerability has been resolved:
KVM: x86: use array_index_nospec with indices that come from guest
min and dest_id are guest-controlled indices. Using array_index_nospec() after the bounds checks clamps these values to mitigate speculative execution side-channels.
Statement
Guest-controlled indices in KVM (PV send IPI / sched yield paths) could be speculatively used out-of-bounds, enabling a Spectre v1-style side channel to leak kernel/host data to a malicious guest. The fix clamps indices with array_index_nospec() after bounds checks, mitigating speculative out-of-bounds access.
CVSS score applicability
The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.
Mitigation
No mitigation is specified in collected source.
CVSS / CWE
CVSS 3.1 · 5.1CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
CWE not specified