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

Summary

CVECVE-2026-74402
StatePUBLISHED
AssignerLinux
Source PriorityCVE Program / NVD first with legacy fallback
Published2026-08-15 06:22:42 UTC
Updated2026-08-15 06:22:42 UTC
DescriptionIn 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

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Linux Linux affected da001fb651b00e1deeaf24767dd691ae8152a4f5 76269a91fd9560c5f03c3e59421a0329e39a6661 git Not specified
CNA Linux Linux affected da001fb651b00e1deeaf24767dd691ae8152a4f5 9039bb4f238474379221fc933c34f19f0cba501b git Not specified
CNA Linux Linux affected da001fb651b00e1deeaf24767dd691ae8152a4f5 d4aa6141ff03ec82eed6fcef814300fb855ce5d8 git Not specified
CNA Linux Linux affected da001fb651b00e1deeaf24767dd691ae8152a4f5 e833e865e4944ba75120db534bd931db6cf677d3 git Not specified
CNA Linux Linux affected da001fb651b00e1deeaf24767dd691ae8152a4f5 2fa302bbc62dec7cb6339c9494e0e3f2f884afeb git Not specified
CNA Linux Linux affected da001fb651b00e1deeaf24767dd691ae8152a4f5 aac63bbea8fd5a34f1a4305cb73369068f952d32 git Not specified
CNA Linux Linux affected da001fb651b00e1deeaf24767dd691ae8152a4f5 938ae1fb4a8f5db43b62b6206d409efbf317f0d9 git Not specified
CNA Linux Linux affected da001fb651b00e1deeaf24767dd691ae8152a4f5 319400fc5ee15db5793aa45f854968141326effc git Not specified
CNA Linux Linux affected 5.3 Not specified
CNA Linux Linux unaffected 5.3 semver Not specified
CNA Linux Linux unaffected 5.10.261 5.10.* semver Not specified
CNA Linux Linux unaffected 5.15.212 5.15.* semver Not specified
CNA Linux Linux unaffected 6.1.178 6.1.* semver Not specified
CNA Linux Linux unaffected 6.6.145 6.6.* semver Not specified
CNA Linux Linux unaffected 6.12.97 6.12.* semver Not specified
CNA Linux Linux unaffected 6.18.40 6.18.* semver Not specified
CNA Linux Linux unaffected 7.1.5 7.1.* semver Not specified
CNA Linux Linux unaffected 7.2-rc1 * original_commit_for_fix Not specified

References

ReferenceSourceLinkTags
git.kernel.org/stable/c/e833e865e4944ba75120db534bd931db6cf677d3 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/938ae1fb4a8f5db43b62b6206d409efbf317f0d9 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/2fa302bbc62dec7cb6339c9494e0e3f2f884afeb 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/d4aa6141ff03ec82eed6fcef814300fb855ce5d8 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/76269a91fd9560c5f03c3e59421a0329e39a6661 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/9039bb4f238474379221fc933c34f19f0cba501b 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/aac63bbea8fd5a34f1a4305cb73369068f952d32 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/319400fc5ee15db5793aa45f854968141326effc 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report