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

crypto: sun8i-ss - Remove crypto_rng interface

Since the crypto_rng interface for hardware PRNGs is unused and is
redundant with hwrng and the actual Linux RNG, it's being phased out.
Most drivers for it were already removed. Go ahead and remove the
sun8i-ss support which is one of the only remaining ones.

As usual for crypto_rng, this driver was also buggy: its ->generate()
function had a use-after-free vulnerability due to using
wait_for_completion_interruptible_timeout() without handling shutting
down the DMA operation if a signal is sent. Also, it had a buffer
overread bug in the line 'memcpy(ctx->seed, d + dlen, ctx->slen);'.
There's no point in fixing these bugs separately only to remove the code
anyway, so this commit is marked with Fixes and Cc stable.
Published: 2026-09-04
Score: n/a
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The Linux kernel driver for the Sun8i silicon secure subsystem (sun8i-ss) incorporated a crypto_rng interface that suffered from two critical faults. The first fault was a use‐after‐free bug caused by calling wait_for_completion_interruptible_timeout() without properly shutting down DMA operations when a signal was received, which could corrupt kernel memory and potentially allow privilege escalation. The second fault was a buffer overread in a memcpy that copied seed data beyond the bounds of the destination buffer, which could leak sensitive data or similarly corrupt memory. Although no exploit has been reported in the public domain, these bugs are kernel‑level and could be leveraged by a malicious user with sufficient privileges.

Affected Systems

All releases of the Linux kernel that included the sun8i-ss crypto_rng driver—typically embedded firmware for Linux SoCs that ship with Sun8i silicon. The driver is part of the mainline kernel source and was active in various stable series at the time the bugs were fixed. The specific product families are those using the Sun8i secure subsystem hardware RNG facilities, but the vulnerability was confined to this driver and not to the underlying hardware RNG itself.

Risk and Exploitability

While the EPSS score is not provided and the vulnerability is not listed in CISA KEV, the kernel bugs are severe and could lead to memory corruption or data leaks if triggered. The risk is considered mitigated once the driver code is removed, as the patch eliminates the source of both the use‑after‑free and buffer overread defects. In the absence of a public exploit, the probability of exploitation remains low until an attacker discovers a new code path; however, the potential impact justifies prompt remediation.

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

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Apply a kernel version that incorporates the commit removing the sun8i-ss crypto_rng interface (e.g., kernel v6.10 or later).
  • Verify that the sun8i-ss module is not loaded into the running kernel; if it is, unload it or add it to the module blacklist to prevent accidental loading.
  • If the system still requires random number generation, ensure that the standard user‑space or hardware RNG interfaces (hwrng or /dev/urandom) are correctly configured and secured, and disable any legacy sun8i-ss–dependent code paths.

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

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

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

Type Values Removed Values Added
Weaknesses CWE-126
CWE-416

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

Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: crypto: sun8i-ss - Remove crypto_rng interface Since the crypto_rng interface for hardware PRNGs is unused and is redundant with hwrng and the actual Linux RNG, it's being phased out. Most drivers for it were already removed. Go ahead and remove the sun8i-ss support which is one of the only remaining ones. As usual for crypto_rng, this driver was also buggy: its ->generate() function had a use-after-free vulnerability due to using wait_for_completion_interruptible_timeout() without handling shutting down the DMA operation if a signal is sent. Also, it had a buffer overread bug in the line 'memcpy(ctx->seed, d + dlen, ctx->slen);'. There's no point in fixing these bugs separately only to remove the code anyway, so this commit is marked with Fixes and Cc stable.
Title crypto: sun8i-ss - 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-04T15:54:41.795Z

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

Link: CVE-2026-80833

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-09-04T16:18:11.577

Modified: 2026-09-04T16:18:11.577

Link: CVE-2026-80833

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-09-04T19:00:14Z

Weaknesses