CVE-2026-64087

hwmon: (pmbus/adm1266) reject implausible blackbox record_count

State
Published
Severity
Not scored
Published
Jul 19, 2026
Updated
Jul 19, 2026
Reserved
Jul 19, 2026

Read the record on cve.org

Description

In 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.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 15609d1893020436e1e8ccfd9ded774a96dd17a2 to before adcb163ad7cacca317872fc62bd8885e842e45e3Affected
  • 15609d1893020436e1e8ccfd9ded774a96dd17a2 to before c2c56092710fe8a893b67b5a3d7e62808d02d84dAffected
  • 15609d1893020436e1e8ccfd9ded774a96dd17a2 to before 5469e1e7c411acc15fdd8262c99c3ebd9defd594Affected
  • 15609d1893020436e1e8ccfd9ded774a96dd17a2 to before f85c81e93dbd6915970bd5f3bffcf62633c4c54cAffected
  • 15609d1893020436e1e8ccfd9ded774a96dd17a2 to before 0e791cd0140fb136083565aadfbe0f705aa260d0Affected
  • 15609d1893020436e1e8ccfd9ded774a96dd17a2 to before 75c862adf3d3caab4f49bb3530723c215376e37cAffected
  • 15609d1893020436e1e8ccfd9ded774a96dd17a2 to before 231db52a5b64d0a9769e298dadc148e1f79b26a6Affected
  • 15609d1893020436e1e8ccfd9ded774a96dd17a2 to before 4afca954622d672ea65ed961bed01cf91caa034eAffected
LinuxLinux
  • 5.10Affected
  • before 5.10Not affected
  • 5.10.258 through 5.10.*Not affected
  • 5.15.209 through 5.15.*Not affected
  • 6.1.175 through 6.1.*Not affected
  • 6.6.142 through 6.6.*Not affected
  • 6.12.92 through 6.12.*Not affected
  • 6.18.34 through 6.18.*Not affected
  • 7.0.11 through 7.0.*Not affected
  • 7.1 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.