{"id":"CVE-2026-64087","aliases":["CVE-2026-64087"],"related":[],"kind":"vulnerability","state":"published","title":"hwmon: (pmbus/adm1266) reject implausible blackbox record_count","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nhwmon: (pmbus/adm1266) reject implausible blackbox record_count\n\nadm1266_nvmem_read_blackbox() loops over a record_count that comes\nstraight from byte 3 of the BLACKBOX_INFO response.  The destination\nbuffer is data->dev_mem, sized for the nvmem cell's declared 2048\nbytes (ADM1266_BLACKBOX_MAX_RECORDS * ADM1266_BLACKBOX_SIZE = 32 * 64).\nA device that reports a record_count greater than 32 -- whether due\nto firmware bugs, bus corruption, or a non-responsive slave returning\n0xff -- would walk read_buff past the end of the dev_mem allocation\non the trailing iterations.\n\nCap record_count at ADM1266_BLACKBOX_MAX_RECORDS (introduced here)\nbefore entering the loop and return -EIO on any larger value, so a\nmalformed BLACKBOX_INFO response cannot drive the loop out of bounds.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nhwmon: (pmbus/adm1266) reject implausible blackbox record_count\n\nadm1266_nvmem_read_blackbox() loops over a record_count that comes\nstraight from byte 3 of the BLACKBOX_INFO response.  The destination\nbuffer is data->dev_mem, sized for the nvmem cell's declared 2048\nbytes (ADM1266_BLACKBOX_MAX_RECORDS * ADM1266_BLACKBOX_SIZE = 32 * 64).\nA device that reports a record_count greater than 32 -- whether due\nto firmware bugs, bus corruption, or a non-responsive slave returning\n0xff -- would walk read_buff past the end of the dev_mem allocation\non the trailing iterations.\n\nCap record_count at ADM1266_BLACKBOX_MAX_RECORDS (introduced here)\nbefore entering the loop and return -EIO on any larger value, so a\nmalformed BLACKBOX_INFO response cannot drive the loop out of bounds.","source":"cvelist"}],"published":"2026-07-19T15:39:57.371Z","modified":"2026-09-03T16:12:43.563Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},"severities":[{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"}],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"15609d1893020436e1e8ccfd9ded774a96dd17a2","fixed":"adcb163ad7cacca317872fc62bd8885e842e45e3","status":"affected"},{"type":"git","introduced":"15609d1893020436e1e8ccfd9ded774a96dd17a2","fixed":"c2c56092710fe8a893b67b5a3d7e62808d02d84d","status":"affected"},{"type":"git","introduced":"15609d1893020436e1e8ccfd9ded774a96dd17a2","fixed":"5469e1e7c411acc15fdd8262c99c3ebd9defd594","status":"affected"},{"type":"git","introduced":"15609d1893020436e1e8ccfd9ded774a96dd17a2","fixed":"f85c81e93dbd6915970bd5f3bffcf62633c4c54c","status":"affected"},{"type":"git","introduced":"15609d1893020436e1e8ccfd9ded774a96dd17a2","fixed":"0e791cd0140fb136083565aadfbe0f705aa260d0","status":"affected"},{"type":"git","introduced":"15609d1893020436e1e8ccfd9ded774a96dd17a2","fixed":"75c862adf3d3caab4f49bb3530723c215376e37c","status":"affected"},{"type":"git","introduced":"15609d1893020436e1e8ccfd9ded774a96dd17a2","fixed":"231db52a5b64d0a9769e298dadc148e1f79b26a6","status":"affected"},{"type":"git","introduced":"15609d1893020436e1e8ccfd9ded774a96dd17a2","fixed":"4afca954622d672ea65ed961bed01cf91caa034e","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"5.10","status":"affected"},{"type":"semver","introduced":"0","fixed":"5.10","status":"unaffected"},{"type":"semver","introduced":"5.10.258","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.209","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.175","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.142","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.92","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.34","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.0.11","lastAffected":"7.0.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.1","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"5.10","fixed":"5.10.258"},{"status":"affected","introduced":"5.11","fixed":"5.15.209"},{"status":"affected","introduced":"5.16","fixed":"6.1.175"},{"status":"affected","introduced":"6.2","fixed":"6.6.142"},{"status":"affected","introduced":"6.7","fixed":"6.12.92"},{"status":"affected","introduced":"6.13","fixed":"6.18.34"},{"status":"affected","introduced":"6.19","fixed":"7.0.11"},{"status":"affected","version":"7.1"},{"status":"affected","version":"7.1"},{"status":"affected","version":"7.1"},{"status":"affected","version":"7.1"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/adcb163ad7cacca317872fc62bd8885e842e45e3","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/c2c56092710fe8a893b67b5a3d7e62808d02d84d","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/5469e1e7c411acc15fdd8262c99c3ebd9defd594","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/f85c81e93dbd6915970bd5f3bffcf62633c4c54c","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/0e791cd0140fb136083565aadfbe0f705aa260d0","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/75c862adf3d3caab4f49bb3530723c215376e37c","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/231db52a5b64d0a9769e298dadc148e1f79b26a6","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/4afca954622d672ea65ed961bed01cf91caa034e","tags":["patch"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-64087","url":"https://www.cve.org/CVERecord?id=CVE-2026-64087","licence":"CVE Terms of Use","modified":"2026-07-19T15:39:57.371Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-64087","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-64087","licence":"Public domain","modified":"2026-09-03T16:12:43.563Z"}],"updatedAt":"2026-11-25T22:59:28.985Z","epss":{"score":0.00128,"percentile":0.02652,"date":"2026-12-01T12:00:22.000Z"}}