{"id":"CVE-2026-64135","aliases":["CVE-2026-64135"],"related":[],"kind":"vulnerability","state":"published","title":"hwmon: (pmbus/adm1266) widen blackbox-info buffer to I2C_SMBUS_BLOCK_MAX","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nhwmon: (pmbus/adm1266) widen blackbox-info buffer to I2C_SMBUS_BLOCK_MAX\n\nadm1266_nvmem_read_blackbox() declares a 5-byte stack buffer and\npasses it to i2c_smbus_read_block_data() to retrieve the 4-byte\nBLACKBOX_INFO response.  i2c_smbus_read_block_data() does not honour\ncaller buffer sizes -- it memcpy()s data.block[0] bytes from the\nSMBus transaction (where data.block[0] is the length byte returned by\nthe slave device, up to I2C_SMBUS_BLOCK_MAX = 32):\n\n\tmemcpy(values, &data.block[1], data.block[0]);\n\nIf the device returns any block length above 5, the call overflows\nthe caller's 5-byte stack buffer before the post-call\n\n\tif (ret != 4)\n\t\treturn -EIO;\n\ncheck has a chance to reject the response.\n\nWiden the local buffer to I2C_SMBUS_BLOCK_MAX so the helper has room\nfor any well-formed SMBus block response, matching the convention used\nby the other i2c_smbus_read_block_data() callers in this driver.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nhwmon: (pmbus/adm1266) widen blackbox-info buffer to I2C_SMBUS_BLOCK_MAX\n\nadm1266_nvmem_read_blackbox() declares a 5-byte stack buffer and\npasses it to i2c_smbus_read_block_data() to retrieve the 4-byte\nBLACKBOX_INFO response.  i2c_smbus_read_block_data() does not honour\ncaller buffer sizes -- it memcpy()s data.block[0] bytes from the\nSMBus transaction (where data.block[0] is the length byte returned by\nthe slave device, up to I2C_SMBUS_BLOCK_MAX = 32):\n\n\tmemcpy(values, &data.block[1], data.block[0]);\n\nIf the device returns any block length above 5, the call overflows\nthe caller's 5-byte stack buffer before the post-call\n\n\tif (ret != 4)\n\t\treturn -EIO;\n\ncheck has a chance to reject the response.\n\nWiden the local buffer to I2C_SMBUS_BLOCK_MAX so the helper has room\nfor any well-formed SMBus block response, matching the convention used\nby the other i2c_smbus_read_block_data() callers in this driver.","source":"cvelist"}],"published":"2026-07-19T15:40:29.676Z","modified":"2026-08-13T15:08:35.963Z","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":["CWE-674"],"affected":[{"ranges":[{"type":"git","introduced":"15609d1893020436e1e8ccfd9ded774a96dd17a2","fixed":"33251abb9c9dd62943be76f0427c5527ee39188f","status":"affected"},{"type":"git","introduced":"15609d1893020436e1e8ccfd9ded774a96dd17a2","fixed":"ba09f4baa5bd96c5d26c942defa546a72dbbe5bf","status":"affected"},{"type":"git","introduced":"15609d1893020436e1e8ccfd9ded774a96dd17a2","fixed":"6ed16a40b162e9d87d9ac8bed4d7f0e3e807700e","status":"affected"},{"type":"git","introduced":"15609d1893020436e1e8ccfd9ded774a96dd17a2","fixed":"0dbf64c502443c08c2e28a77ecbfcc5479d93228","status":"affected"},{"type":"git","introduced":"15609d1893020436e1e8ccfd9ded774a96dd17a2","fixed":"2b7a698d5093b548c464828d984f05ced5f3fd2a","status":"affected"},{"type":"git","introduced":"15609d1893020436e1e8ccfd9ded774a96dd17a2","fixed":"ca560f7566df7e2826c2999e959e6b94eb938f76","status":"affected"},{"type":"git","introduced":"15609d1893020436e1e8ccfd9ded774a96dd17a2","fixed":"7f705e581ef3e6bb308a121a89adf5237d968204","status":"affected"},{"type":"git","introduced":"15609d1893020436e1e8ccfd9ded774a96dd17a2","fixed":"eee213daa1e1b402eb631bcd1b8c5aa340a6b081","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/33251abb9c9dd62943be76f0427c5527ee39188f","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/ba09f4baa5bd96c5d26c942defa546a72dbbe5bf","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/6ed16a40b162e9d87d9ac8bed4d7f0e3e807700e","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/0dbf64c502443c08c2e28a77ecbfcc5479d93228","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/2b7a698d5093b548c464828d984f05ced5f3fd2a","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/ca560f7566df7e2826c2999e959e6b94eb938f76","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/7f705e581ef3e6bb308a121a89adf5237d968204","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/eee213daa1e1b402eb631bcd1b8c5aa340a6b081","tags":["patch"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-64135","url":"https://www.cve.org/CVERecord?id=CVE-2026-64135","licence":"CVE Terms of Use","modified":"2026-07-19T15:40:29.676Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-64135","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-64135","licence":"Public domain","modified":"2026-08-13T15:08:35.963Z"}],"updatedAt":"2026-11-25T22:59:29.164Z","epss":{"score":0.00123,"percentile":0.02214,"date":"2026-12-01T12:00:22.000Z"}}