# CVE-2026-74402: crypto: atmel-sha204a - fix blocking and non-blocking rng logic

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

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **EPSS:** 0.22% (percentile 7, 2026-11-26)
- **Published:** 2026-08-15T05:59:12.747Z
- **Modified:** 2026-08-17T06:19:35.390Z

## Who should check

- Anyone running Linux \>= da001fb651b00e1deeaf24767dd691ae8152a4f5, \< 76269a91fd9560c5f03c3e59421a0329e39a6661; \>= da001fb651b00e1deeaf24767dd691ae8152a4f5, \< 9039bb4f238474379221fc933c34f19f0cba501b; \>= da001fb651b00e1deeaf24767dd691ae8152a4f5, \< d4aa6141ff03ec82eed6fcef814300fb855ce5d8; \>= da001fb651b00e1deeaf24767dd691ae8152a4f5, \< e833e865e4944ba75120db534bd931db6cf677d3; \>= da001fb651b00e1deeaf24767dd691ae8152a4f5, \< 2fa302bbc62dec7cb6339c9494e0e3f2f884afeb; \>= da001fb651b00e1deeaf24767dd691ae8152a4f5, \< aac63bbea8fd5a34f1a4305cb73369068f952d32; \>= da001fb651b00e1deeaf24767dd691ae8152a4f5, \< 938ae1fb4a8f5db43b62b6206d409efbf317f0d9; \>= da001fb651b00e1deeaf24767dd691ae8152a4f5, \< 319400fc5ee15db5793aa45f854968141326effc
- Anyone running Linux 5.3

## 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

## Affected and fixed versions

- Linux: \>= da001fb651b00e1deeaf24767dd691ae8152a4f5, \< 76269a91fd9560c5f03c3e59421a0329e39a6661; \>= da001fb651b00e1deeaf24767dd691ae8152a4f5, \< 9039bb4f238474379221fc933c34f19f0cba501b; \>= da001fb651b00e1deeaf24767dd691ae8152a4f5, \< d4aa6141ff03ec82eed6fcef814300fb855ce5d8; \>= da001fb651b00e1deeaf24767dd691ae8152a4f5, \< e833e865e4944ba75120db534bd931db6cf677d3; \>= da001fb651b00e1deeaf24767dd691ae8152a4f5, \< 2fa302bbc62dec7cb6339c9494e0e3f2f884afeb; \>= da001fb651b00e1deeaf24767dd691ae8152a4f5, \< aac63bbea8fd5a34f1a4305cb73369068f952d32; \>= da001fb651b00e1deeaf24767dd691ae8152a4f5, \< 938ae1fb4a8f5db43b62b6206d409efbf317f0d9; \>= da001fb651b00e1deeaf24767dd691ae8152a4f5, \< 319400fc5ee15db5793aa45f854968141326effc (cvelist)
- Linux: 5.3 (cvelist)

## Mitigation

- Upgrade Linux to 319400fc5ee15db5793aa45f854968141326effc or later.

## Check your systems with an agent

Paste this into a coding agent:

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

Details: https://flawdb.com/CVE-2026-74402.md
Affected: Linux >= da001fb651b00e1deeaf24767dd691ae8152a4f5, < 76269a91fd9560c5f03c3e59421a0329e39a6661; >= da001fb651b00e1deeaf24767dd691ae8152a4f5, < 9039bb4f238474379221fc933c34f19f0cba501b; >= da001fb651b00e1deeaf24767dd691ae8152a4f5, < d4aa6141ff03ec82eed6fcef814300fb855ce5d8; >= da001fb651b00e1deeaf247…
Fixed in: Linux 76269a91fd9560c5f03c3e59421a0329e39a6661, Linux 9039bb4f238474379221fc933c34f19f0cba501b, Linux 2fa302bbc62dec7cb6339c9494e0e3f2f884afeb, Linux 938ae1fb4a8f5db43b62b6206d409efbf317f0d9, Linux 319400fc5ee15db5793aa45f854968141326effc

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-2026-74402 being exploited?

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

### How serious is CVE-2026-74402?

It has no CVSS score yet. Unknown.

### Which versions are affected by CVE-2026-74402?

Linux \>= da001fb651b00e1deeaf24767dd691ae8152a4f5, \< 76269a91fd9560c5f03c3e59421a0329e39a6661; \>= da001fb651b00e1deeaf24767dd691ae8152a4f5, \< 9039bb4f238474379221fc933c34f19f0cba501b; \>= da001fb651b00e1deeaf24767dd691ae8152a4f5, \< d4aa6141ff03ec82eed6fcef814300fb855ce5d8; \>= da001fb651b00e1deeaf24767dd691ae8152a4f5, \< e833e865e4944ba75120db534bd931db6cf677d3; \>= da001fb651b00e1deeaf24767dd691ae8152a4f5, \< 2fa302bbc62dec7cb6339c9494e0e3f2f884afeb; \>= da001fb651b00e1deeaf24767dd691ae8152a4f5, \< aac63bbea8fd5a34f1a4305cb73369068f952d32; \>= da001fb651b00e1deeaf24767dd691ae8152a4f5, \< 938ae1fb4a8f5db43b62b6206d409efbf317f0d9; \>= da001fb651b00e1deeaf24767dd691ae8152a4f5, \< 319400fc5ee15db5793aa45f854968141326effc; Linux 5.3.

### Is there a fix for CVE-2026-74402?

Yes. Fixed in Linux 76269a91fd9560c5f03c3e59421a0329e39a6661, Linux 9039bb4f238474379221fc933c34f19f0cba501b, Linux 2fa302bbc62dec7cb6339c9494e0e3f2f884afeb, Linux 938ae1fb4a8f5db43b62b6206d409efbf317f0d9, Linux 319400fc5ee15db5793aa45f854968141326effc. Upgrade Linux to 319400fc5ee15db5793aa45f854968141326effc or later.

### How do I check if I'm affected by CVE-2026-74402?

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

- other: <https://git.kernel.org/stable/c/76269a91fd9560c5f03c3e59421a0329e39a6661>
- other: <https://git.kernel.org/stable/c/9039bb4f238474379221fc933c34f19f0cba501b>
- other: <https://git.kernel.org/stable/c/d4aa6141ff03ec82eed6fcef814300fb855ce5d8>
- other: <https://git.kernel.org/stable/c/e833e865e4944ba75120db534bd931db6cf677d3>
- other: <https://git.kernel.org/stable/c/2fa302bbc62dec7cb6339c9494e0e3f2f884afeb>
- other: <https://git.kernel.org/stable/c/aac63bbea8fd5a34f1a4305cb73369068f952d32>
- other: <https://git.kernel.org/stable/c/938ae1fb4a8f5db43b62b6206d409efbf317f0d9>
- other: <https://git.kernel.org/stable/c/319400fc5ee15db5793aa45f854968141326effc>

## 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-2026-74402>

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