hwmon: adm1275: Prevent reading uninitialized stack

Summary

CVECVE-2026-72396
StatePUBLISHED
AssignerLinux
Source PriorityCVE Program / NVD first with legacy fallback
Published2026-08-15 06:22:13 UTC
Updated2026-08-17 06:19:06 UTC
DescriptionIn the Linux kernel, the following vulnerability has been resolved: hwmon: adm1275: Prevent reading uninitialized stack While adding support for the ROHM BD127X0 hot-swap controllers, sashiko reported an error in device-name comparison, which can lead to reading uninitialized stack memory. Quoting Sashiko: This is a pre-existing issue, but I noticed that just before this block in adm1275_probe(), there might be an out-of-bounds stack read: ret = i2c_smbus_read_block_data(client, PMBUS_MFR_MODEL, block_buffer); if (ret < 0) { ... } for (mid = adm1275_id; mid->name[0]; mid++) { if (!strncasecmp(mid->name, block_buffer, strlen(mid->name))) break; } Since i2c_smbus_read_block_data() reads up to 32 bytes into the uninitialized stack array block_buffer without appending a null terminator, strncasecmp() could read past the valid bytes returned in ret. For example, if the device returns a shorter string like "adm12", checking it against "adm1275" up to the length of "adm1275" will continue reading into uninitialized stack bounds. Prevent reading uninitialized memory by zeroing the stack array.

Risk And Classification

EPSS: 0.002200000 probability, percentile 0.127050000 (date 2026-08-17)

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Linux Linux affected 87102808d03948c825c3bdc48316e48f6422fd7e 57d583f069fa9d3d0c0831e34b967d1f61edae94 git Not specified
CNA Linux Linux affected 87102808d03948c825c3bdc48316e48f6422fd7e 82e4ab03a6ab9b87667410f5143bc484d7a62bdc git Not specified
CNA Linux Linux affected 87102808d03948c825c3bdc48316e48f6422fd7e c9e04a52663bc6651c06c2427df088b751062bd6 git Not specified
CNA Linux Linux affected 87102808d03948c825c3bdc48316e48f6422fd7e 39a581bd64a0e91112ec8017a2dd4e70c1336e99 git Not specified
CNA Linux Linux affected 87102808d03948c825c3bdc48316e48f6422fd7e aa35cee30686e6be3c890bf741429c5025d55abe git Not specified
CNA Linux Linux affected 87102808d03948c825c3bdc48316e48f6422fd7e 36554592e2f5cac16ff8bf73720d38a6d9ef4a20 git Not specified
CNA Linux Linux affected 87102808d03948c825c3bdc48316e48f6422fd7e 93b96e723bdcba6172a5814262be875abcc5d269 git Not specified
CNA Linux Linux affected 87102808d03948c825c3bdc48316e48f6422fd7e 553f9517813912a5ab661af5504485d96824a61c git Not specified
CNA Linux Linux affected 3.3 Not specified
CNA Linux Linux unaffected 3.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 * original_commit_for_fix Not specified

References

ReferenceSourceLinkTags
git.kernel.org/stable/c/553f9517813912a5ab661af5504485d96824a61c 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/c9e04a52663bc6651c06c2427df088b751062bd6 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/93b96e723bdcba6172a5814262be875abcc5d269 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/57d583f069fa9d3d0c0831e34b967d1f61edae94 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/39a581bd64a0e91112ec8017a2dd4e70c1336e99 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/aa35cee30686e6be3c890bf741429c5025d55abe 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/36554592e2f5cac16ff8bf73720d38a6d9ef4a20 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/82e4ab03a6ab9b87667410f5143bc484d7a62bdc 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