CVE-2024-35875
published high CVSS 3.1 · 8.4x86/coco: Require seeding RNG with RDRAND on CoCo systems
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linuxd8aa7eea78a1401cce39b3bb61ead0150044a3df to < 22943e4fe4b3a2dcbadc3d38d5bf840bbdbfe374 · d8aa7eea78a1401cce39b3bb61ead0150044a3df to < 453b5f2dec276c1bb4ea078bf8c0da57ee4627e5 · d8aa7eea78a1401cce39b3bb61ead0150044a3df to < 08044b08b37528b82f70a87576c692b4e4b7716e · d8aa7eea78a1401cce39b3bb61ead0150044a3df to < 99485c4c026f024e7cb82da84c7951dbe3deb584 · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux4.15 (affected) · 0 to < 4.15 (unaffected · semver) · 6.1.85 through 6.1.* (unaffected · semver) · 6.6.26 through 6.6.* (unaffected · semver) · 6.8.5 through 6.8.* (unaffected · semver) · 6.9 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Pending Fix | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Pending Fix | Not stated | Amazon Linux assessment |
| AlmaLinux | 9 | bpftool | Advisory build | 7.3.0-427.35.1.el9_4 | ALSA-2024:6567 |
| Oracle Linux | 9 | bpftoolaarch64 | Advisory build | 0:7.3.0-427.35.1.el9_4 | ELSA-2024-6567 |
| Red Hat Enterprise Linux | RHEL-9 | bpftoolaarch64 | Advisory build | 7.0.0-284.82.1.el9_2 | RHSA-2024:6267 |
| AlmaLinux | 9 | kernel | Advisory build | 5.14.0-427.35.1.el9_4 | ALSA-2024:6567 |
Show 96 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| AlmaLinux | 9 | kernel-64k | Advisory build | 5.14.0-427.35.1.el9_4 | ALSA-2024:6567 |
| AlmaLinux | 9 | kernel-64k-core | Advisory build | 5.14.0-427.35.1.el9_4 | ALSA-2024:6567 |
| AlmaLinux | 9 | kernel-64k-debug | Advisory build | 5.14.0-427.35.1.el9_4 | ALSA-2024:6567 |
| AlmaLinux | 9 | kernel-64k-debug-core | Advisory build | 5.14.0-427.35.1.el9_4 | ALSA-2024:6567 |
| AlmaLinux | 9 | kernel-64k-debug-devel | Advisory build | 5.14.0-427.35.1.el9_4 | ALSA-2024:6567 |
| AlmaLinux | 9 | kernel-64k-debug-devel-matched | Advisory build | 5.14.0-427.35.1.el9_4 | ALSA-2024:6567 |
| AlmaLinux | 9 | kernel-64k-debug-modules | Advisory build | 5.14.0-427.35.1.el9_4 | ALSA-2024:6567 |
| AlmaLinux | 9 | kernel-64k-debug-modules-core | Advisory build | 5.14.0-427.35.1.el9_4 | ALSA-2024:6567 |
| AlmaLinux | 9 | kernel-64k-debug-modules-extra | Advisory build | 5.14.0-427.35.1.el9_4 | ALSA-2024:6567 |
| AlmaLinux | 9 | kernel-64k-devel | Advisory build | 5.14.0-427.35.1.el9_4 | ALSA-2024:6567 |
| AlmaLinux | 9 | kernel-64k-devel-matched | Advisory build | 5.14.0-427.35.1.el9_4 | ALSA-2024:6567 |
| AlmaLinux | 9 | kernel-64k-modules | Advisory build | 5.14.0-427.35.1.el9_4 | ALSA-2024:6567 |
| AlmaLinux | 9 | kernel-64k-modules-core | Advisory build | 5.14.0-427.35.1.el9_4 | ALSA-2024:6567 |
| AlmaLinux | 9 | kernel-64k-modules-extra | Advisory build | 5.14.0-427.35.1.el9_4 | ALSA-2024:6567 |
| AlmaLinux | 9 | kernel-abi-stablelists | Advisory build | 5.14.0-427.35.1.el9_4 | ALSA-2024:6567 |
| AlmaLinux | 9 | kernel-core | Advisory build | 5.14.0-427.35.1.el9_4 | ALSA-2024:6567 |
| AlmaLinux | 9 | kernel-cross-headers | Advisory build | 5.14.0-427.35.1.el9_4 | ALSA-2024:6567 |
| AlmaLinux | 9 | kernel-debug | Advisory build | 5.14.0-427.35.1.el9_4 | ALSA-2024:6567 |
| AlmaLinux | 9 | kernel-debug-core | Advisory build | 5.14.0-427.35.1.el9_4 | ALSA-2024:6567 |
| AlmaLinux | 9 | kernel-debug-devel | Advisory build | 5.14.0-427.35.1.el9_4 | ALSA-2024:6567 |
| AlmaLinux | 9 | kernel-debug-devel-matched | Advisory build | 5.14.0-427.35.1.el9_4 | ALSA-2024:6567 |
| AlmaLinux | 9 | kernel-debug-modules | Advisory build | 5.14.0-427.35.1.el9_4 | ALSA-2024:6567 |
| AlmaLinux | 9 | kernel-debug-modules-core | Advisory build | 5.14.0-427.35.1.el9_4 | ALSA-2024:6567 |
| AlmaLinux | 9 | kernel-debug-modules-extra | Advisory build | 5.14.0-427.35.1.el9_4 | ALSA-2024:6567 |
| AlmaLinux | 9 | kernel-debug-uki-virt | Advisory build | 5.14.0-427.35.1.el9_4 | ALSA-2024:6567 |
| AlmaLinux | 9 | kernel-devel | Advisory build | 5.14.0-427.35.1.el9_4 | ALSA-2024:6567 |
| AlmaLinux | 9 | kernel-devel-matched | Advisory build | 5.14.0-427.35.1.el9_4 | ALSA-2024:6567 |
| AlmaLinux | 9 | kernel-doc | Advisory build | 5.14.0-427.35.1.el9_4 | ALSA-2024:6567 |
| AlmaLinux | 9 | kernel-headers | Advisory build | 5.14.0-427.35.1.el9_4 | ALSA-2024:6567 |
| AlmaLinux | 9 | kernel-modules | Advisory build | 5.14.0-427.35.1.el9_4 | ALSA-2024:6567 |
| AlmaLinux | 9 | kernel-modules-core | Advisory build | 5.14.0-427.35.1.el9_4 | ALSA-2024:6567 |
| AlmaLinux | 9 | kernel-modules-extra | Advisory build | 5.14.0-427.35.1.el9_4 | ALSA-2024:6567 |
| AlmaLinux | 9 | kernel-rt | Advisory build | 5.14.0-427.35.1.el9_4 | ALSA-2024:6567 |
| AlmaLinux | 9 | kernel-rt-core | Advisory build | 5.14.0-427.35.1.el9_4 | ALSA-2024:6567 |
| AlmaLinux | 9 | kernel-rt-debug | Advisory build | 5.14.0-427.35.1.el9_4 | ALSA-2024:6567 |
| AlmaLinux | 9 | kernel-rt-debug-core | Advisory build | 5.14.0-427.35.1.el9_4 | ALSA-2024:6567 |
| AlmaLinux | 9 | kernel-rt-debug-devel | Advisory build | 5.14.0-427.35.1.el9_4 | ALSA-2024:6567 |
| AlmaLinux | 9 | kernel-rt-debug-modules | Advisory build | 5.14.0-427.35.1.el9_4 | ALSA-2024:6567 |
| AlmaLinux | 9 | kernel-rt-debug-modules-core | Advisory build | 5.14.0-427.35.1.el9_4 | ALSA-2024:6567 |
| AlmaLinux | 9 | kernel-rt-debug-modules-extra | Advisory build | 5.14.0-427.35.1.el9_4 | ALSA-2024:6567 |
| AlmaLinux | 9 | kernel-rt-devel | Advisory build | 5.14.0-427.35.1.el9_4 | ALSA-2024:6567 |
| AlmaLinux | 9 | kernel-rt-modules | Advisory build | 5.14.0-427.35.1.el9_4 | ALSA-2024:6567 |
| AlmaLinux | 9 | kernel-rt-modules-core | Advisory build | 5.14.0-427.35.1.el9_4 | ALSA-2024:6567 |
| AlmaLinux | 9 | kernel-rt-modules-extra | Advisory build | 5.14.0-427.35.1.el9_4 | ALSA-2024:6567 |
| AlmaLinux | 9 | kernel-tools | Advisory build | 5.14.0-427.35.1.el9_4 | ALSA-2024:6567 |
| AlmaLinux | 9 | kernel-tools-libs | Advisory build | 5.14.0-427.35.1.el9_4 | ALSA-2024:6567 |
| AlmaLinux | 9 | kernel-tools-libs-devel | Advisory build | 5.14.0-427.35.1.el9_4 | ALSA-2024:6567 |
| AlmaLinux | 9 | kernel-uki-virt | Advisory build | 5.14.0-427.35.1.el9_4 | ALSA-2024:6567 |
| AlmaLinux | 9 | kernel-zfcpdump | Advisory build | 5.14.0-427.35.1.el9_4 | ALSA-2024:6567 |
| AlmaLinux | 9 | kernel-zfcpdump-core | Advisory build | 5.14.0-427.35.1.el9_4 | ALSA-2024:6567 |
| AlmaLinux | 9 | kernel-zfcpdump-devel | Advisory build | 5.14.0-427.35.1.el9_4 | ALSA-2024:6567 |
| AlmaLinux | 9 | kernel-zfcpdump-devel-matched | Advisory build | 5.14.0-427.35.1.el9_4 | ALSA-2024:6567 |
| AlmaLinux | 9 | kernel-zfcpdump-modules | Advisory build | 5.14.0-427.35.1.el9_4 | ALSA-2024:6567 |
| AlmaLinux | 9 | kernel-zfcpdump-modules-core | Advisory build | 5.14.0-427.35.1.el9_4 | ALSA-2024:6567 |
| AlmaLinux | 9 | kernel-zfcpdump-modules-extra | Advisory build | 5.14.0-427.35.1.el9_4 | ALSA-2024:6567 |
| AlmaLinux | 9 | libperf | Advisory build | 5.14.0-427.35.1.el9_4 | ALSA-2024:6567 |
| AlmaLinux | 9 | perf | Advisory build | 5.14.0-427.35.1.el9_4 | ALSA-2024:6567 |
| AlmaLinux | 9 | python3-perf | Advisory build | 5.14.0-427.35.1.el9_4 | ALSA-2024:6567 |
| AlmaLinux | 9 | rtla | Advisory build | 5.14.0-427.35.1.el9_4 | ALSA-2024:6567 |
| AlmaLinux | 9 | rv | Advisory build | 5.14.0-427.35.1.el9_4 | ALSA-2024:6567 |
| Oracle Linux | 9 | bpftoolx86_64 | Advisory build | 0:7.3.0-427.35.1.el9_4 | ELSA-2024-6567 |
| Oracle Linux | 9 | kernelx86_64 | Advisory build | 0:5.14.0-427.35.1.el9_4 | ELSA-2024-6567 |
| Oracle Linux | 9 | kernel-abi-stablelistsx86_64 | Advisory build | 0:5.14.0-427.35.1.el9_4 | ELSA-2024-6567 |
| Oracle Linux | 9 | kernel-corex86_64 | Advisory build | 0:5.14.0-427.35.1.el9_4 | ELSA-2024-6567 |
| Oracle Linux | 9 | kernel-cross-headersaarch64 | Advisory build | 0:5.14.0-427.35.1.el9_4 | ELSA-2024-6567 |
| Oracle Linux | 9 | kernel-cross-headersx86_64 | Advisory build | 0:5.14.0-427.35.1.el9_4 | ELSA-2024-6567 |
| Oracle Linux | 9 | kernel-debugx86_64 | Advisory build | 0:5.14.0-427.35.1.el9_4 | ELSA-2024-6567 |
| Oracle Linux | 9 | kernel-debug-corex86_64 | Advisory build | 0:5.14.0-427.35.1.el9_4 | ELSA-2024-6567 |
| Oracle Linux | 9 | kernel-debug-develx86_64 | Advisory build | 0:5.14.0-427.35.1.el9_4 | ELSA-2024-6567 |
| Oracle Linux | 9 | kernel-debug-devel-matchedx86_64 | Advisory build | 0:5.14.0-427.35.1.el9_4 | ELSA-2024-6567 |
| Oracle Linux | 9 | kernel-debug-modulesx86_64 | Advisory build | 0:5.14.0-427.35.1.el9_4 | ELSA-2024-6567 |
| Oracle Linux | 9 | kernel-debug-modules-corex86_64 | Advisory build | 0:5.14.0-427.35.1.el9_4 | ELSA-2024-6567 |
| Oracle Linux | 9 | kernel-debug-modules-extrax86_64 | Advisory build | 0:5.14.0-427.35.1.el9_4 | ELSA-2024-6567 |
| Oracle Linux | 9 | kernel-debug-uki-virtx86_64 | Advisory build | 0:5.14.0-427.35.1.el9_4 | ELSA-2024-6567 |
| Oracle Linux | 9 | kernel-develx86_64 | Advisory build | 0:5.14.0-427.35.1.el9_4 | ELSA-2024-6567 |
| Oracle Linux | 9 | kernel-devel-matchedx86_64 | Advisory build | 0:5.14.0-427.35.1.el9_4 | ELSA-2024-6567 |
| Oracle Linux | 9 | kernel-docx86_64 | Advisory build | 0:5.14.0-427.35.1.el9_4 | ELSA-2024-6567 |
| Oracle Linux | 9 | kernel-headersaarch64 | Advisory build | 0:5.14.0-427.35.1.el9_4 | ELSA-2024-6567 |
| Oracle Linux | 9 | kernel-headersx86_64 | Advisory build | 0:5.14.0-427.35.1.el9_4 | ELSA-2024-6567 |
| Oracle Linux | 9 | kernel-modulesx86_64 | Advisory build | 0:5.14.0-427.35.1.el9_4 | ELSA-2024-6567 |
| Oracle Linux | 9 | kernel-modules-corex86_64 | Advisory build | 0:5.14.0-427.35.1.el9_4 | ELSA-2024-6567 |
| Oracle Linux | 9 | kernel-modules-extrax86_64 | Advisory build | 0:5.14.0-427.35.1.el9_4 | ELSA-2024-6567 |
| Oracle Linux | 9 | kernel-toolsaarch64 | Advisory build | 0:5.14.0-427.35.1.el9_4 | ELSA-2024-6567 |
| Oracle Linux | 9 | kernel-toolsx86_64 | Advisory build | 0:5.14.0-427.35.1.el9_4 | ELSA-2024-6567 |
| Oracle Linux | 9 | kernel-tools-libsaarch64 | Advisory build | 0:5.14.0-427.35.1.el9_4 | ELSA-2024-6567 |
| Oracle Linux | 9 | kernel-tools-libsx86_64 | Advisory build | 0:5.14.0-427.35.1.el9_4 | ELSA-2024-6567 |
| Oracle Linux | 9 | kernel-tools-libs-develaarch64 | Advisory build | 0:5.14.0-427.35.1.el9_4 | ELSA-2024-6567 |
| Oracle Linux | 9 | kernel-tools-libs-develx86_64 | Advisory build | 0:5.14.0-427.35.1.el9_4 | ELSA-2024-6567 |
| Oracle Linux | 9 | kernel-uki-virtx86_64 | Advisory build | 0:5.14.0-427.35.1.el9_4 | ELSA-2024-6567 |
| Oracle Linux | 9 | libperfx86_64 | Advisory build | 0:5.14.0-427.35.1.el9_4 | ELSA-2024-6567 |
| Oracle Linux | 9 | perfaarch64 | Advisory build | 0:5.14.0-427.35.1.el9_4 | ELSA-2024-6567 |
| Oracle Linux | 9 | perfx86_64 | Advisory build | 0:5.14.0-427.35.1.el9_4 | ELSA-2024-6567 |
| Oracle Linux | 9 | python3-perfaarch64 | Advisory build | 0:5.14.0-427.35.1.el9_4 | ELSA-2024-6567 |
| Oracle Linux | 9 | python3-perfx86_64 | Advisory build | 0:5.14.0-427.35.1.el9_4 | ELSA-2024-6567 |
| Oracle Linux | 9 | rtlax86_64 | Advisory build | 0:5.14.0-427.35.1.el9_4 | ELSA-2024-6567 |
| Oracle Linux | 9 | rvx86_64 | Advisory build | 0:5.14.0-427.35.1.el9_4 | ELSA-2024-6567 |
Package entries are limited to the first 100 builds and 100 linked advisories.
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. ]
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 8.4 / 10
- Severity
- high
- Provider
- Linux · cna
- Vector string
- CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Scenarios
- en: AV:L - The adversary defined by the CoCo threat model is the untrusted hypervisor/host, which attacks the guest through the virtual platform it controls (CPUID, boot cmdline, TSC, interrupt and device inputs) rather than through the guest's network stack. This is read/write access to the vulnerable component's platform, i.e. local. AC:L - The attacker directly creates the vulnerable condition — the host supplies guest CPUID and can simply not advertise X86_FEATURE_RDRAND, after which arch_get_random_longs() returns 0 and every remaining entropy input (cmdline, TSC, bootloader seed, interrupt/device timings) is host-supplied or host-observable. No unpredictable precondition is required; the same state also arises unaided when x86_init_rdrand() disables faulty RDRAND. PR:N - Privileges are measured against the vulnerable component — the CoCo guest kernel — and the host holds no account, credential, or privilege inside the guest at all. The weak seeding happens unconditionally during guest boot with no guest-side authentication. UI:N - The defective seeding occurs automatically in setup_arch() on every guest boot; no action by any guest user or administrator is needed. S:U - The vulnerable component (guest kernel RNG seeding) and the impacted component (that same guest's kernel and userspace secrets) sit in the same security authority. No guest-to-host escape or IOMMU boundary is crossed. C:H - With RDRAND absent the entire input pool consists of values the host chose or can observe, so the host can reconstruct the CRNG state and predict all get_random_bytes()/getrandom()/urandom output — disk-encryption keys, TLS/SSH private keys, session keys and IVs generated in the guest. That is a complete, total loss of the confidentiality guarantee CoCo exists to provide. I:H - Predictable nonces and keys let the attacker forge signatures, authentication tokens and MACs produced inside the guest, and predictable net_secret/ts_secret enable off-path TCP sequence and syncookie forgery for data injection. Predictable stack canaries (boot_init_stack_canary runs straight off the unseeded pool) and predictable randomization secrets additionally hand the attacker reliable control-flow-hijack primitives. A:H - Knowledge of the boot stack canary and other kernel randomization secrets converts otherwise-unreliable memory-corruption bugs into dependable code execution and full guest takeover, and predictable TCP ISN/syncookie secrets permit off-path RST injection that tears down the guest's connections.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | d8aa7eea78a1401cce39b3bb61ead0150044a3df to < 22943e4fe4b3a2dcbadc3d38d5bf840bbdbfe374 (affected · git)d8aa7eea78a1401cce39b3bb61ead0150044a3df to < 453b5f2dec276c1bb4ea078bf8c0da57ee4627e5 (affected · git)d8aa7eea78a1401cce39b3bb61ead0150044a3df to < 08044b08b37528b82f70a87576c692b4e4b7716e (affected · git)d8aa7eea78a1401cce39b3bb61ead0150044a3df to < 99485c4c026f024e7cb82da84c7951dbe3deb584 (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 4.15 (affected)0 to < 4.15 (unaffected · semver)6.1.85 through 6.1.* (unaffected · semver)6.6.26 through 6.6.* (unaffected · semver)6.8.5 through 6.8.* (unaffected · semver)6.9 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
4Provider assertions
3Linux · cna
x86/coco: Require seeding RNG with RDRAND on CoCo systems
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 3f86585a3f30b3853fbb9bbe9d0c1b50c9c0c57bd0cdec4ef57d300d58ce3da3
- Ingested
- 23 Sep 2026, 08:23:51 UTC
- Source record
- Official CVE record