CVE-2026-64135

hwmon: (pmbus/adm1266) widen blackbox-info buffer to I2C_SMBUS_BLOCK_MAX

MEDIUM
5.5
CVSS Score
Published: July 19, 2026 at 03:40 PM UTC
Updated: August 13, 2026 at 03:27 PM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.5
Exploit prediction
EPSS 0.1%

Description

In the Linux kernel, the following vulnerability has been resolved: hwmon: (pmbus/adm1266) widen blackbox-info buffer to I2C_SMBUS_BLOCK_MAX adm1266_nvmem_read_blackbox() declares a 5-byte stack buffer and passes it to i2c_smbus_read_block_data() to retrieve the 4-byte BLACKBOX_INFO response. i2c_smbus_read_block_data() does not honour caller buffer sizes -- it memcpy()s data.block[0] bytes from the SMBus transaction (where data.block[0] is the length byte returned by the slave device, up to I2C_SMBUS_BLOCK_MAX = 32): memcpy(values, &data.block[1], data.block[0]); If the device returns any block length above 5, the call overflows the caller's 5-byte stack buffer before the post-call if (ret != 4) return -EIO; check has a chance to reject the response. Widen the local buffer to I2C_SMBUS_BLOCK_MAX so the helper has room for any well-formed SMBus block response, matching the convention used by the other i2c_smbus_read_block_data() callers in this driver.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

5.10 ≤ v < 5.10.2585.10 ≤ v < 5.15.2095.10 ≤ v < 6.1.1755.10 ≤ v < 6.12.925.10 ≤ v < 6.18.345.10 ≤ v < 6.6.1425.10 ≤ v < 7.0.115.10 ≤ v < 7.15.11 ≤ v < 5.15.2095.16 ≤ v < 6.1.1756.13 ≤ v < 6.18.346.19 ≤ v < 7.0.116.2 ≤ v < 6.6.1426.7 ≤ v < 6.12.9215609d1893020436e1e8ccfd9ded774a96dd17a27.1 rc17.1 rc27.1 rc37.1 rc4
Vendor states this is fixed in 0dbf64c502443c08c2e28a77ecbfcc5479d93228 (fixed)
Vendor states this is fixed in 2b7a698d5093b548c464828d984f05ced5f3fd2a (fixed)
Vendor states this is fixed in 33251abb9c9dd62943be76f0427c5527ee39188f (fixed)
Vendor states this is fixed in 6ed16a40b162e9d87d9ac8bed4d7f0e3e807700e (fixed)
Vendor states this is fixed in 7f705e581ef3e6bb308a121a89adf5237d968204 (fixed)
Vendor states this is fixed in ba09f4baa5bd96c5d26c942defa546a72dbbe5bf (fixed)
Vendor states this is fixed in ca560f7566df7e2826c2999e959e6b94eb938f76 (fixed)
Vendor states this is fixed in eee213daa1e1b402eb631bcd1b8c5aa340a6b081 (fixed)
Vendor states this is fixed in 5.10 (unaffected)
Vendor states this is fixed in 5.10.258 (unaffected)
Vendor states this is fixed in 5.15.209 (unaffected)
Vendor states this is fixed in 6.1.175 (unaffected)
Vendor states this is fixed in 6.12.92 (unaffected)
Vendor states this is fixed in 6.18.34 (unaffected)
Vendor states this is fixed in 6.6.142 (unaffected)
Vendor states this is fixed in 7.0.11 (unaffected)
Vendor states this is fixed in 7.1 (unaffected)

CVSS

Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusANALYZED
CWE
CWE-674

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card