hwmon: (pmbus/adm1266) reject implausible blackbox record_count (Linux Linux)

CVE-2026-64087
MEDIUM 5.5

At a glance

Source
NVD
EPSS
EPSS 0.13 % · percentile 2 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
NVD status
Analyzed

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.

References

Scores

VersionScoreVectorScored by
CVSS 3.1MEDIUM 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HNVD · nvd@nist.gov (Primary)

European references

CERT-FR advisories

Affected configurations (NVD CPE)

Affected products

ProductVersions
Linux · Linuxaffected 15609d1893020436e1e8ccfd9ded774a96dd17a2 < adcb163ad7cacca317872fc62bd8885e842e45e3 ; affected 15609d1893020436e1e8ccfd9ded774a96dd17a2 < c2c56092710fe8a893b67b5a3d7e62808d02d84d ; affected 15609d1893020436e1e8ccfd9ded774a96dd17a2 < 5469e1e7c411acc15fdd8262c99c3ebd9defd594 ; affected 15609d1893020436e1e8ccfd9ded774a96dd17a2 < f85c81e93dbd6915970bd5f3bffcf62633c4c54c ; affected 15609d1893020436e1e8ccfd9ded774a96dd17a2 < 0e791cd0140fb136083565aadfbe0f705aa260d0 ; affected 15609d1893020436e1e8ccfd9ded774a96dd17a2 < 75c862adf3d3caab4f49bb3530723c215376e37c
Linux · Linuxaffected 5.10 ; unaffected 0 < 5.10 ; unaffected 5.10.258 ≤ 5.10.* ; unaffected 5.15.209 ≤ 5.15.* ; unaffected 6.1.175 ≤ 6.1.* ; unaffected 6.6.142 ≤ 6.6.*

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD