CVE-2026-64087

Source
https://cve.org/CVERecord?id=CVE-2026-64087
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-64087.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2026-64087
Downstream
Published
2026-07-19T15:39:57.371Z
Modified
2026-07-21T03:47:49.620297614Z
Summary
hwmon: (pmbus/adm1266) reject implausible blackbox record_count
Details

In the Linux kernel, the following vulnerability has been resolved:

hwmon: (pmbus/adm1266) reject implausible blackbox record_count

adm1266nvmemreadblackbox() loops over a recordcount that comes straight from byte 3 of the BLACKBOXINFO response. The destination buffer is data->devmem, sized for the nvmem cell's declared 2048 bytes (ADM1266BLACKBOXMAXRECORDS * ADM1266BLACKBOXSIZE = 32 * 64). A device that reports a recordcount greater than 32 -- whether due to firmware bugs, bus corruption, or a non-responsive slave returning 0xff -- would walk readbuff past the end of the devmem allocation on the trailing iterations.

Cap recordcount at ADM1266BLACKBOXMAXRECORDS (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.

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/64xxx/CVE-2026-64087.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
15609d1893020436e1e8ccfd9ded774a96dd17a2
Fixed
adcb163ad7cacca317872fc62bd8885e842e45e3
Fixed
c2c56092710fe8a893b67b5a3d7e62808d02d84d
Fixed
5469e1e7c411acc15fdd8262c99c3ebd9defd594
Fixed
f85c81e93dbd6915970bd5f3bffcf62633c4c54c
Fixed
0e791cd0140fb136083565aadfbe0f705aa260d0
Fixed
75c862adf3d3caab4f49bb3530723c215376e37c
Fixed
231db52a5b64d0a9769e298dadc148e1f79b26a6
Fixed
4afca954622d672ea65ed961bed01cf91caa034e

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-64087.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
5.10.0
Fixed
5.10.258
Type
ECOSYSTEM
Events
Introduced
5.11.0
Fixed
5.15.209
Type
ECOSYSTEM
Events
Introduced
5.16.0
Fixed
6.1.175
Type
ECOSYSTEM
Events
Introduced
6.2.0
Fixed
6.6.142
Type
ECOSYSTEM
Events
Introduced
6.7.0
Fixed
6.12.92
Type
ECOSYSTEM
Events
Introduced
6.13.0
Fixed
6.18.34
Type
ECOSYSTEM
Events
Introduced
6.19.0
Fixed
7.0.11

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-64087.json"