crypto: atmel-sha204a - fix heap info leak on I2C transfer failure

Summary

CVECVE-2026-93159
StatePUBLISHED
AssignerLinux
Source PriorityCVE Program / NVD first with legacy fallback
Published2026-09-17 17:18:11 UTC
Updated2026-09-17 17:18:11 UTC
DescriptionIn the Linux kernel, the following vulnerability has been resolved: crypto: atmel-sha204a - fix heap info leak on I2C transfer failure The nonblocking RNG path allocates a work_data structure to track the state of an in-flight asynchronous I2C request. This pointer is stored in rng->priv and later consumed by the read path once the transaction completes. If the underlying I2C transfer fails, the completion callback is invoked with a non-zero status. In this case, the allocated work_data is not usable for producing RNG output and must not remain associated with the hwrng state. Previously, the failure path only logged a warning but left the pointer state uncleared, which can result in subsequent read attempts observing stale state and interpreting it as valid completion data. Fix this by freeing the pending work_data. The I2C transaction reports an error. This ensures that failed requests do not leave residual state behind that could be interpreted as valid RNG data on later reads. Clearing rng->priv is done at the subsequent call to nonblocking read.

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Linux Linux affected da001fb651b00e1deeaf24767dd691ae8152a4f5 a430b5b6d2ddd2b266330f8507a655be1148347d git Not specified
CNA Linux Linux affected da001fb651b00e1deeaf24767dd691ae8152a4f5 4e76d85e505b7451925efbcd67c015e8c2440c68 git Not specified
CNA Linux Linux affected da001fb651b00e1deeaf24767dd691ae8152a4f5 bcac9052e19490231ff6e0678a06bd2fcf8db3af git Not specified
CNA Linux Linux affected da001fb651b00e1deeaf24767dd691ae8152a4f5 28cc179252347718f97045dd5ea74165609dbd7d git Not specified
CNA Linux Linux affected da001fb651b00e1deeaf24767dd691ae8152a4f5 0d6db386133d9230befb77967bbf130443964860 git Not specified
CNA Linux Linux affected da001fb651b00e1deeaf24767dd691ae8152a4f5 f4d347fb1309b69ea6f817a17e6b2893c8d754b7 git Not specified
CNA Linux Linux affected da001fb651b00e1deeaf24767dd691ae8152a4f5 94abda77b57a35b82bba0365bad072d94d67ffe9 git Not specified
CNA Linux Linux affected da001fb651b00e1deeaf24767dd691ae8152a4f5 72bbf11ba14bd7d5fbf31a1ec42fff608b657f74 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.270 5.10.* semver Not specified
CNA Linux Linux unaffected 5.15.221 5.15.* semver Not specified
CNA Linux Linux unaffected 6.1.188 6.1.* semver Not specified
CNA Linux Linux unaffected 6.6.157 6.6.* semver Not specified
CNA Linux Linux unaffected 6.12.110 6.12.* semver Not specified
CNA Linux Linux unaffected 6.18.52 6.18.* semver Not specified
CNA Linux Linux unaffected 7.2.6 7.2.* semver Not specified
CNA Linux Linux unaffected 7.3-rc1 * original_commit_for_fix Not specified

References

ReferenceSourceLinkTags
git.kernel.org/stable/c/72bbf11ba14bd7d5fbf31a1ec42fff608b657f74 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/28cc179252347718f97045dd5ea74165609dbd7d 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/f4d347fb1309b69ea6f817a17e6b2893c8d754b7 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/94abda77b57a35b82bba0365bad072d94d67ffe9 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/a430b5b6d2ddd2b266330f8507a655be1148347d 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/bcac9052e19490231ff6e0678a06bd2fcf8db3af 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/0d6db386133d9230befb77967bbf130443964860 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/4e76d85e505b7451925efbcd67c015e8c2440c68 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