# CVE-2024-35875: x86/coco: Require seeding RNG with RDRAND on CoCo systems

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 8.4
- **CVSS:** 8.4 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: None; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.34% (percentile 20, 2026-11-26)
- **Published:** 2024-05-19T08:34:32.767Z
- **Modified:** 2026-08-05T11:30:35.909Z

## Who should check

- Anyone running Linux \>= d8aa7eea78a1401cce39b3bb61ead0150044a3df, \< 22943e4fe4b3a2dcbadc3d38d5bf840bbdbfe374; \>= d8aa7eea78a1401cce39b3bb61ead0150044a3df, \< 453b5f2dec276c1bb4ea078bf8c0da57ee4627e5; \>= d8aa7eea78a1401cce39b3bb61ead0150044a3df, \< 08044b08b37528b82f70a87576c692b4e4b7716e; \>= d8aa7eea78a1401cce39b3bb61ead0150044a3df, \< 99485c4c026f024e7cb82da84c7951dbe3deb584
- Anyone running Linux 4.15

## Description

In the Linux kernel, the following vulnerability has been resolved:

x86/coco: Require seeding RNG with RDRAND on CoCo systems

There are few uses of CoCo that don't rely on working cryptography and
hence a working RNG. Unfortunately, the CoCo threat model means that the
VM host cannot be trusted and may actively work against guests to
extract secrets or manipulate computation. Since a malicious host can
modify or observe nearly all inputs to guests, the only remaining source
of entropy for CoCo guests is RDRAND.

If RDRAND is broken -- due to CPU hardware fault -- the RNG as a whole
is meant to gracefully continue on gathering entropy from other sources,
but since there aren't other sources on CoCo, this is catastrophic.
This is mostly a concern at boot time when initially seeding the RNG, as
after that the consequences of a broken RDRAND are much more
theoretical.

So, try at boot to seed the RNG using 256 bits of RDRAND output. If this
fails, panic(). This will also trigger if the system is booted without
RDRAND, as RDRAND is essential for a safe CoCo boot.

Add this deliberately to be "just a CoCo x86 driver feature" and not
part of the RNG itself. Many device drivers and platforms have some
desire to contribute something to the RNG, and add\_device\_randomness()
is specifically meant for this purpose.

Any driver can call it with seed data of any quality, or even garbage
quality, and it can only possibly make the quality of the RNG better or
have no effect, but can never make it worse.

Rather than trying to build something into the core of the RNG, consider
the particular CoCo issue just a CoCo issue, and therefore separate it
all out into driver (well, arch/platform) code.

  \[ bp: Massage commit message. \]

## Affected and fixed versions

- Linux: \>= d8aa7eea78a1401cce39b3bb61ead0150044a3df, \< 22943e4fe4b3a2dcbadc3d38d5bf840bbdbfe374; \>= d8aa7eea78a1401cce39b3bb61ead0150044a3df, \< 453b5f2dec276c1bb4ea078bf8c0da57ee4627e5; \>= d8aa7eea78a1401cce39b3bb61ead0150044a3df, \< 08044b08b37528b82f70a87576c692b4e4b7716e; \>= d8aa7eea78a1401cce39b3bb61ead0150044a3df, \< 99485c4c026f024e7cb82da84c7951dbe3deb584 (cvelist)
- Linux: 4.15 (cvelist)

## Mitigation

- Upgrade Linux to 99485c4c026f024e7cb82da84c7951dbe3deb584 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2024-35875. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2024-35875.md
Affected: Linux >= d8aa7eea78a1401cce39b3bb61ead0150044a3df, < 22943e4fe4b3a2dcbadc3d38d5bf840bbdbfe374; >= d8aa7eea78a1401cce39b3bb61ead0150044a3df, < 453b5f2dec276c1bb4ea078bf8c0da57ee4627e5; >= d8aa7eea78a1401cce39b3bb61ead0150044a3df, < 08044b08b37528b82f70a87576c692b4e4b7716e; >= d8aa7eea78a1401cce39b3b…
Fixed in: Linux 22943e4fe4b3a2dcbadc3d38d5bf840bbdbfe374, Linux 453b5f2dec276c1bb4ea078bf8c0da57ee4627e5, Linux 08044b08b37528b82f70a87576c692b4e4b7716e, Linux 99485c4c026f024e7cb82da84c7951dbe3deb584

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2024-35875 being exploited?

There is no confirmed exploitation: CVE-2024-35875 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.34% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2024-35875?

High: CVSS 8.4 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2024-35875?

Linux \>= d8aa7eea78a1401cce39b3bb61ead0150044a3df, \< 22943e4fe4b3a2dcbadc3d38d5bf840bbdbfe374; \>= d8aa7eea78a1401cce39b3bb61ead0150044a3df, \< 453b5f2dec276c1bb4ea078bf8c0da57ee4627e5; \>= d8aa7eea78a1401cce39b3bb61ead0150044a3df, \< 08044b08b37528b82f70a87576c692b4e4b7716e; \>= d8aa7eea78a1401cce39b3bb61ead0150044a3df, \< 99485c4c026f024e7cb82da84c7951dbe3deb584; Linux 4.15.

### Is there a fix for CVE-2024-35875?

Yes. Fixed in Linux 22943e4fe4b3a2dcbadc3d38d5bf840bbdbfe374, Linux 453b5f2dec276c1bb4ea078bf8c0da57ee4627e5, Linux 08044b08b37528b82f70a87576c692b4e4b7716e, Linux 99485c4c026f024e7cb82da84c7951dbe3deb584. Upgrade Linux to 99485c4c026f024e7cb82da84c7951dbe3deb584 or later.

### How do I check if I'm affected by CVE-2024-35875?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://git.kernel.org/stable/c/22943e4fe4b3a2dcbadc3d38d5bf840bbdbfe374>
- patch: <https://git.kernel.org/stable/c/453b5f2dec276c1bb4ea078bf8c0da57ee4627e5>
- patch: <https://git.kernel.org/stable/c/08044b08b37528b82f70a87576c692b4e4b7716e>
- patch: <https://git.kernel.org/stable/c/99485c4c026f024e7cb82da84c7951dbe3deb584>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2024-35875>

HTML: <https://flawdb.com/CVE-2024-35875> · JSON: <https://flawdb.com/api/v1/entries/CVE-2024-35875>
