# CVE-2026-64087: hwmon: (pmbus/adm1266) reject implausible blackbox record_count

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.13%, higher than 2% of CVEs (2026-12-01)
- Published: 2026-07-19T15:39:57.371Z
- Modified: 2026-09-03T16:12:43.563Z
- Assigned by: Linux

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

(As written by CVE List.)

## Affected

- Linux Linux: from 15609d1893020436e1e8ccfd9ded774a96dd17a2 before adcb163ad7cacca317872fc62bd8885e842e45e3; from 15609d1893020436e1e8ccfd9ded774a96dd17a2 before c2c56092710fe8a893b67b5a3d7e62808d02d84d; from 15609d1893020436e1e8ccfd9ded774a96dd17a2 before 5469e1e7c411acc15fdd8262c99c3ebd9defd594; from 15609d1893020436e1e8ccfd9ded774a96dd17a2 before f85c81e93dbd6915970bd5f3bffcf62633c4c54c; from 15609d1893020436e1e8ccfd9ded774a96dd17a2 before 0e791cd0140fb136083565aadfbe0f705aa260d0; from 15609d1893020436e1e8ccfd9ded774a96dd17a2 before 75c862adf3d3caab4f49bb3530723c215376e37c; from 15609d1893020436e1e8ccfd9ded774a96dd17a2 before 231db52a5b64d0a9769e298dadc148e1f79b26a6; from 15609d1893020436e1e8ccfd9ded774a96dd17a2 before 4afca954622d672ea65ed961bed01cf91caa034e; 5.10 (not affected: before 5.10; from 5.10.258 up to 5.10.*; from 5.15.209 up to 5.15.*; from 6.1.175 up to 6.1.*; from 6.6.142 up to 6.6.*; from 6.12.92 up to 6.12.*; from 6.18.34 up to 6.18.*; from 7.0.11 up to 7.0.*; from 7.1 up to *)
- linux linux_kernel: from 5.10 before 5.10.258; from 5.11 before 5.15.209; from 5.16 before 6.1.175; from 6.2 before 6.6.142; from 6.7 before 6.12.92; from 6.13 before 6.18.34; from 6.19 before 7.0.11; 7.1

## References

- <https://git.kernel.org/stable/c/adcb163ad7cacca317872fc62bd8885e842e45e3> (patch)
- <https://git.kernel.org/stable/c/c2c56092710fe8a893b67b5a3d7e62808d02d84d> (patch)
- <https://git.kernel.org/stable/c/5469e1e7c411acc15fdd8262c99c3ebd9defd594> (patch)
- <https://git.kernel.org/stable/c/f85c81e93dbd6915970bd5f3bffcf62633c4c54c> (patch)
- <https://git.kernel.org/stable/c/0e791cd0140fb136083565aadfbe0f705aa260d0> (patch)
- <https://git.kernel.org/stable/c/75c862adf3d3caab4f49bb3530723c215376e37c> (patch)
- <https://git.kernel.org/stable/c/231db52a5b64d0a9769e298dadc148e1f79b26a6> (patch)
- <https://git.kernel.org/stable/c/4afca954622d672ea65ed961bed01cf91caa034e> (patch)

## Sources

- CVE List: [CVE-2026-64087](https://www.cve.org/CVERecord?id=CVE-2026-64087), CVE Terms of Use, modified 2026-07-19
- NVD: [CVE-2026-64087](https://nvd.nist.gov/vuln/detail/CVE-2026-64087), Public domain, modified 2026-09-03

---

Page: https://cve.day/CVE-2026-64087 · Whole record: https://cve.day/CVE-2026-64087.json · Rebuilt by cve.day 2026-11-25T22:59:28.985Z
