CVE-2024-35875
kernel: x86/coco: Require seeding RNG with RDRAND on CoCo systems
Severity
ModerateRed Hat Product Security
CVSS 3.1
Review impact separately from score.
Published · May 19, 2024
Updated · October 30, 2026
Description
CVE-2024-35875 addresses a security concern in the Linux kernel's handling of confidential computing (CoCo) environments. In these setups, the virtual machine (VM) host is untrusted and may attempt to compromise guest VMs. A critical component for maintaining security in such environments is a reliable random number generator (RNG), which depends on the CPU's RDRAND instruction to generate entropy.
The vulnerability arises when the RDRAND instruction fails—due to hardware faults or other issues—leaving the RNG without sufficient entropy sources. This deficiency is particularly problematic during the system's initial boot phase, potentially compromising cryptographic operations and overall system security.
In CoCo environments, the untrusted VM host can manipulate or observe most inputs to guest VMs. The primary entropy source for these guests is the CPU's RDRAND instruction. If RDRAND fails, the RNG lacks alternative entropy sources, leading to potential security vulnerabilities.
A malfunctioning RDRAND during boot can result in insufficient entropy for cryptographic functions, undermining the security of the CoCo environment.
Statement
This vulnerability is rated as having Moderate impact because it exclusively affects guest virtual machines deployed in confidential computing (CoCo) environments on x86 architectures, where an untrusted hypervisor is assumed. The risk is limited to scenarios where the processor's hardware entropy instruction (RDRAND) fails or is omitted at boot time, preventing the system from gathering untampered seed data. Standard bare-metal installations and traditional, non-confidential virtual machine deployments are unaffected by this issue.
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.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
CWE not specified