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

crypto: xilinx-trng - Remove crypto_rng interface

Implementing the crypto_rng interface has no purpose, as it isn't used
in practice. It's being removed from other drivers too. Just remove
it. This leaves hwrng, which is actually used.

Tagging with 'Cc stable' due to the bugs that this removes:

- xtrng_trng_generate() sometimes returned success even when it didn't
fill in all the bytes.

- It was possible for xtrng_trng_generate() and
xtrng_hwrng_trng_read() to run concurrently and interfere with each
other, as the locking code in xtrng_hwrng_trng_read() was broken.
Published: 2026-09-04
Score: n/a
EPSS: < 1% Very Low
KEV: No
Impact: Potential data corruption or insufficient randomness from Xilinx TRNG in the Linux kernel
Action: Update Kernel
AI Analysis

Impact

The Linux kernel driver for the Xilinx TRNG contains two core weaknesses: a function that may report success even when it fails to populate all output bytes, and a broken locking mechanism that allows concurrent generate and read operations to interfere with each other. These faults can corrupt the internal state of the driver, leading to incomplete or stale random data being supplied to the system. When used as a source for cryptographic operations, the weakness undermines the confidentiality, integrity, and availability properties of those operations.

Affected Systems

All Linux kernel builds that include the xilinx-trng driver are affected. The flaw is present in kernel releases prior to the patch that removes the obsolete crypto_rng interface. Systems that rely on Xilinx hardware for entropy generation, or custom kernels that compile this driver, must verify whether they contain the driver and apply the latest stable Linux kernel update that implements the removal of the interface.

Risk and Exploitability

The risk is moderate. The flaw appears to be locally exploitable, as the description indicates that race conditions between the generate and read paths could be triggered by a local attacker or code with elevated privileges. This inference is based on the fact that the driver operates in kernel space and the locking bug can be exercised by local processes. No EPSS score is available and the vulnerability is not listed in the KEV catalog, suggesting limited evidence of widespread exploitation. Because the weakness affects random number generation, a local adversary could potentially destabilize cryptographic operations or cause denial of service by exhausting entropy. Administrators should treat this as a moderate severity issue that requires timely kernel update.

Generated by OpenCVE AI on September 4, 2026 at 20:50 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade to a Linux kernel version that incorporates the patch removing the crypto_rng interface from the xilinx-trng driver.
  • Disable the xilinx-trng driver in the kernel configuration or use an alternative entropy source if an upgrade is not immediately possible.
  • If the device cannot be removed, decommission the Xilinx TRNG hardware and rely on the standard hwrng driver.

Generated by OpenCVE AI on September 4, 2026 at 20:50 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Fri, 04 Sep 2026 21:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-362
CWE-788

Fri, 04 Sep 2026 17:00:00 +0000

Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: crypto: xilinx-trng - Remove crypto_rng interface Implementing the crypto_rng interface has no purpose, as it isn't used in practice. It's being removed from other drivers too. Just remove it. This leaves hwrng, which is actually used. Tagging with 'Cc stable' due to the bugs that this removes: - xtrng_trng_generate() sometimes returned success even when it didn't fill in all the bytes. - It was possible for xtrng_trng_generate() and xtrng_hwrng_trng_read() to run concurrently and interfere with each other, as the locking code in xtrng_hwrng_trng_read() was broken.
Title crypto: xilinx-trng - Remove crypto_rng interface
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References

Subscriptions

Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-09-04T16:48:34.587Z

Reserved: 2026-08-26T14:34:25.798Z

Link: CVE-2026-80871

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-09-04T17:16:59.027

Modified: 2026-09-04T17:16:59.027

Link: CVE-2026-80871

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-09-05T01:00:05Z

Weaknesses
  • CWE-362

    Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition')

  • CWE-788

    Access of Memory Location After End of Buffer