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

crypto: atmel-sha204a - fix blocking and non-blocking rng logic

The blocking and non-blocking paths were failing to provide valid entropy
due to improper buffer management. Reading the buffer starting from byte 1,
only fetch the 32 bytes of random data from the return message.

Tested on an Atmel SHA204A device.

Before (here for blocking), tests showed repeatedly reading reduced bytes.
$ head -c 32 /dev/hwrng | hexdump -C
00000000 02 28 85 b3 47 40 f2 ee 00 00 00 00 00 00 00 00 |.(..G@..........|
00000010 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000020

After, the result will be similar to the following:
$ head -c 32 /dev/hwrng | hexdump -C
00000000 5a fc 3f 13 14 68 fe 06 68 0a bd 04 83 6e 09 69 |Z.?..h..h....n.i|
00000010 75 ff cf 87 10 84 3b c9 c1 df ae eb 45 53 4c c3 |u.....;.....ESL.|
00000020
Published: 2026-08-15
Score: 5.5 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The Linux kernel atmel‑sha204a driver mismanaged the entropy buffer, causing the blocking and non‑blocking RNG paths to return primarily zeroed data. This flaw is a classic instance of CWE‑331: Improper Entropy Generation. As a result, /dev/hwrng delivers insufficient high‑quality randomness, weakening cryptographic key generation, tokens, or any protocol that depends on the hardware random source. The flaw does not provide direct code execution or denial‑of‑service but reduces the unpredictability of the system’s cryptographic operations.

Affected Systems

All Linux kernel releases that incorporate the atmel_sha204a driver before the commit that fixes the buffer handling. The issue was validated on Atmel SHA204A devices and applies to any system using that hardware random number generator within the kernel.

Risk and Exploitability

The CVSS score is 5.5, and the EPSS score is < 1%. The vulnerability is local; an attacker with physical or local access could observe the deficient randomness and potentially weaken crypto processes. The vulnerability is not listed in the CISA KEV catalog, suggesting limited evidence of active exploitation yet the correctness of entropy remains critical. The attack vector is inferred to be local/device‑based, not remote. Mitigating steps such as updating the kernel or disabling the defective RNG path lower the attack likelihood.

Generated by OpenCVE AI on August 21, 2026 at 23:34 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Apply a kernel update that includes the atmel‑sha204a patch (commit 2fa302b6 or later).
  • If an immediate kernel update is not possible, patch or rebuild the atmel_sh_a driver from the provided Git commit and replace the kernel module.
  • Configure the system to avoid using /dev/hwrng for cryptographic key generation until the patch is applied, or switch to a trusted alternative entropy source such as a software deterministic RNG or another hardware RNG.

Generated by OpenCVE AI on August 21, 2026 at 23:34 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Thu, 20 Aug 2026 00:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-331
References
Metrics threat_severity

None

cvssV3_1

{'score': 5.5, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H'}

threat_severity

Moderate


Sat, 15 Aug 2026 06:15:00 +0000

Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: crypto: atmel-sha204a - fix blocking and non-blocking rng logic The blocking and non-blocking paths were failing to provide valid entropy due to improper buffer management. Reading the buffer starting from byte 1, only fetch the 32 bytes of random data from the return message. Tested on an Atmel SHA204A device. Before (here for blocking), tests showed repeatedly reading reduced bytes. $ head -c 32 /dev/hwrng | hexdump -C 00000000 02 28 85 b3 47 40 f2 ee 00 00 00 00 00 00 00 00 |.(..G@..........| 00000010 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| 00000020 After, the result will be similar to the following: $ head -c 32 /dev/hwrng | hexdump -C 00000000 5a fc 3f 13 14 68 fe 06 68 0a bd 04 83 6e 09 69 |Z.?..h..h....n.i| 00000010 75 ff cf 87 10 84 3b c9 c1 df ae eb 45 53 4c c3 |u.....;.....ESL.| 00000020
Title crypto: atmel-sha204a - fix blocking and non-blocking rng logic
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-08-17T05:18:42.284Z

Reserved: 2026-08-15T05:44:03.892Z

Link: CVE-2026-74402

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-08-15T06:22:42.220

Modified: 2026-08-17T06:19:35.390

Link: CVE-2026-74402

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-08-15T00:00:00Z

Links: CVE-2026-74402 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-08-21T23:45:03Z

Weaknesses