hwmon: (pmbus/adm1266) widen blackbox-info buffer to I2C_SMBUS_BLOCK_MAX

Summary

CVECVE-2026-64135
StatePUBLISHED
AssignerLinux
Source PriorityCVE Program / NVD first with legacy fallback
Published2026-07-19 16:17:55 UTC
Updated2026-07-19 16:17:55 UTC
DescriptionIn the Linux kernel, the following vulnerability has been resolved: hwmon: (pmbus/adm1266) widen blackbox-info buffer to I2C_SMBUS_BLOCK_MAX adm1266_nvmem_read_blackbox() declares a 5-byte stack buffer and passes it to i2c_smbus_read_block_data() to retrieve the 4-byte BLACKBOX_INFO response. i2c_smbus_read_block_data() does not honour caller buffer sizes -- it memcpy()s data.block[0] bytes from the SMBus transaction (where data.block[0] is the length byte returned by the slave device, up to I2C_SMBUS_BLOCK_MAX = 32): memcpy(values, &data.block[1], data.block[0]); If the device returns any block length above 5, the call overflows the caller's 5-byte stack buffer before the post-call if (ret != 4) return -EIO; check has a chance to reject the response. Widen the local buffer to I2C_SMBUS_BLOCK_MAX so the helper has room for any well-formed SMBus block response, matching the convention used by the other i2c_smbus_read_block_data() callers in this driver.

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Linux Linux affected 15609d1893020436e1e8ccfd9ded774a96dd17a2 33251abb9c9dd62943be76f0427c5527ee39188f git Not specified
CNA Linux Linux affected 15609d1893020436e1e8ccfd9ded774a96dd17a2 ba09f4baa5bd96c5d26c942defa546a72dbbe5bf git Not specified
CNA Linux Linux affected 15609d1893020436e1e8ccfd9ded774a96dd17a2 6ed16a40b162e9d87d9ac8bed4d7f0e3e807700e git Not specified
CNA Linux Linux affected 15609d1893020436e1e8ccfd9ded774a96dd17a2 0dbf64c502443c08c2e28a77ecbfcc5479d93228 git Not specified
CNA Linux Linux affected 15609d1893020436e1e8ccfd9ded774a96dd17a2 2b7a698d5093b548c464828d984f05ced5f3fd2a git Not specified
CNA Linux Linux affected 15609d1893020436e1e8ccfd9ded774a96dd17a2 ca560f7566df7e2826c2999e959e6b94eb938f76 git Not specified
CNA Linux Linux affected 15609d1893020436e1e8ccfd9ded774a96dd17a2 7f705e581ef3e6bb308a121a89adf5237d968204 git Not specified
CNA Linux Linux affected 15609d1893020436e1e8ccfd9ded774a96dd17a2 eee213daa1e1b402eb631bcd1b8c5aa340a6b081 git Not specified
CNA Linux Linux affected 5.10 Not specified
CNA Linux Linux unaffected 5.10 semver Not specified
CNA Linux Linux unaffected 5.10.258 5.10.* semver Not specified
CNA Linux Linux unaffected 5.15.209 5.15.* semver Not specified
CNA Linux Linux unaffected 6.1.175 6.1.* semver Not specified
CNA Linux Linux unaffected 6.6.142 6.6.* semver Not specified
CNA Linux Linux unaffected 6.12.92 6.12.* semver Not specified
CNA Linux Linux unaffected 6.18.34 6.18.* semver Not specified
CNA Linux Linux unaffected 7.0.11 7.0.* semver Not specified
CNA Linux Linux unaffected 7.1 * original_commit_for_fix Not specified

References

ReferenceSourceLinkTags
git.kernel.org/stable/c/7f705e581ef3e6bb308a121a89adf5237d968204 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/2b7a698d5093b548c464828d984f05ced5f3fd2a 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/0dbf64c502443c08c2e28a77ecbfcc5479d93228 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/eee213daa1e1b402eb631bcd1b8c5aa340a6b081 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/ba09f4baa5bd96c5d26c942defa546a72dbbe5bf 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/6ed16a40b162e9d87d9ac8bed4d7f0e3e807700e 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/33251abb9c9dd62943be76f0427c5527ee39188f 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/ca560f7566df7e2826c2999e959e6b94eb938f76 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