hwmon: (pmbus/adm1266) reject implausible blackbox record_count

Summary

CVECVE-2026-64087
StatePUBLISHED
AssignerLinux
Source PriorityCVE Program / NVD first with legacy fallback
Published2026-07-19 16:17:49 UTC
Updated2026-07-19 16:17:49 UTC
DescriptionIn the Linux kernel, the following vulnerability has been resolved: hwmon: (pmbus/adm1266) reject implausible blackbox record_count adm1266_nvmem_read_blackbox() loops over a record_count that comes straight from byte 3 of the BLACKBOX_INFO response. The destination buffer is data->dev_mem, sized for the nvmem cell's declared 2048 bytes (ADM1266_BLACKBOX_MAX_RECORDS * ADM1266_BLACKBOX_SIZE = 32 * 64). A device that reports a record_count greater than 32 -- whether due to firmware bugs, bus corruption, or a non-responsive slave returning 0xff -- would walk read_buff past the end of the dev_mem allocation on the trailing iterations. Cap record_count at ADM1266_BLACKBOX_MAX_RECORDS (introduced here) before entering the loop and return -EIO on any larger value, so a malformed BLACKBOX_INFO response cannot drive the loop out of bounds.

Risk And Classification

EPSS: 0.001840000 probability, percentile 0.082500000 (date 2026-07-20)

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Linux Linux affected 15609d1893020436e1e8ccfd9ded774a96dd17a2 adcb163ad7cacca317872fc62bd8885e842e45e3 git Not specified
CNA Linux Linux affected 15609d1893020436e1e8ccfd9ded774a96dd17a2 c2c56092710fe8a893b67b5a3d7e62808d02d84d git Not specified
CNA Linux Linux affected 15609d1893020436e1e8ccfd9ded774a96dd17a2 5469e1e7c411acc15fdd8262c99c3ebd9defd594 git Not specified
CNA Linux Linux affected 15609d1893020436e1e8ccfd9ded774a96dd17a2 f85c81e93dbd6915970bd5f3bffcf62633c4c54c git Not specified
CNA Linux Linux affected 15609d1893020436e1e8ccfd9ded774a96dd17a2 0e791cd0140fb136083565aadfbe0f705aa260d0 git Not specified
CNA Linux Linux affected 15609d1893020436e1e8ccfd9ded774a96dd17a2 75c862adf3d3caab4f49bb3530723c215376e37c git Not specified
CNA Linux Linux affected 15609d1893020436e1e8ccfd9ded774a96dd17a2 231db52a5b64d0a9769e298dadc148e1f79b26a6 git Not specified
CNA Linux Linux affected 15609d1893020436e1e8ccfd9ded774a96dd17a2 4afca954622d672ea65ed961bed01cf91caa034e 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/4afca954622d672ea65ed961bed01cf91caa034e 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/231db52a5b64d0a9769e298dadc148e1f79b26a6 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/adcb163ad7cacca317872fc62bd8885e842e45e3 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/0e791cd0140fb136083565aadfbe0f705aa260d0 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/c2c56092710fe8a893b67b5a3d7e62808d02d84d 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/5469e1e7c411acc15fdd8262c99c3ebd9defd594 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/75c862adf3d3caab4f49bb3530723c215376e37c 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/f85c81e93dbd6915970bd5f3bffcf62633c4c54c 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