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.
Published: 2026-07-19
Score: n/a
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The adm1266_nvmem_read_blackbox routine processes a record_count field extracted from byte 3 of the BLACKBOX_INFO response. When a device reports a value larger than 32, the kernel erroneously loops beyond the end of its allocated dev_mem buffer, which is sized for 2048 bytes (32 records of 64 bytes each). This out‑of‑bounds read can expose unrelated kernel memory contents or trigger a crash. The defect can arise from firmware bugs, bus corruption, or a non‑responsive slave that returns 0xff, making the vulnerability realistically exploitable in systems that use the adm1266 sensor via the pmbus interface.

Affected Systems

The flaw resides in the Linux kernel’s hardware monitoring subsystem and affects any kernel image that includes the adm1266 driver. Because the CPE is generic for the Linux kernel, no specific kernel releases are enumerated in the advisory. All Linux distributions shipping kernel versions that compile the adm1266 driver without the patch are potentially impacted.

Risk and Exploitability

The CVSS score is not listed, and the EPSS score is below 1 %, indicating a very low probability of widespread exploitation. The flaw is not in CISA’s KEV catalog. Exploitation requires an attacker who can influence the sensor’s SMBus traffic or has local access to a system that talks to an adm1266 slave. The missing record_count check allows the kernel to read past the allocated buffer, but the patched driver now caps the value to 32 and returns –EIO for larger counts, mitigating the immediate threat.

Generated by OpenCVE AI on July 30, 2026 at 20:39 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Update the kernel to a version that includes the recent commit that caps the record_count and returns –EIO for invalid values
  • If a kernel upgrade is not possible, unload or blacklist the pmbus/adm1266 module to prevent the driver from accessing the faulty device
  • Ensure the firmware on the ADM1266 sensor is up‑to‑date or reconfigure it so that BLACKBOX_INFO never report a record_count exceeding 32
  • As a temporary safeguard, monitor system logs for EIO errors on adm1266 reads and restrict physical or network access to the bus that carries the sensor communications

Generated by OpenCVE AI on July 30, 2026 at 20:39 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Ubuntu USN Ubuntu USN USN-8575-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-8576-1 Linux kernel (NVIDIA Tegra) vulnerabilities
Ubuntu USN Ubuntu USN USN-8593-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-8575-2 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-8576-2 Linux kernel (NVIDIA Tegra) vulnerabilities
Ubuntu USN Ubuntu USN USN-8575-3 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-8603-1 Linux kernel (Azure) vulnerabilities
Ubuntu USN Ubuntu USN USN-8610-1 Linux kernel (Azure CVM) vulnerabilities
Ubuntu USN Ubuntu USN USN-8618-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-8620-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-8620-2 Linux kernel (Azure FIPS) vulnerabilities
Ubuntu USN Ubuntu USN USN-8620-3 Linux kernel (Intel IoTG) vulnerabilities
Ubuntu USN Ubuntu USN USN-8620-4 Linux kernel (Intel IoTG) vulnerabilities
History

Tue, 21 Jul 2026 00:15:00 +0000


Sun, 19 Jul 2026 16:15:00 +0000

Type Values Removed Values Added
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.
Title hwmon: (pmbus/adm1266) reject implausible blackbox record_count
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References

Subscriptions

Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-07-19T15:39:57.371Z

Reserved: 2026-07-19T07:54:57.032Z

Link: CVE-2026-64087

cve-icon Vulnrichment

No data.

cve-icon NVD

No data.

cve-icon Redhat

Severity :

Publid Date: 2026-07-19T00:00:00Z

Links: CVE-2026-64087 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-07-30T20:45:17Z

Weaknesses