hwmon: (pmbus/adm1266) include PEC byte in pmbus_block_xfer read buffer (Linux Linux)

CVE-2026-64086
HIGH 7.8

En bref

Source
NVD
EPSS
EPSS 0.14 % · centile 3 ()
État
PUBLISHED
Publiée
Mise à jour
Attribuée par
Linux
Statut NVD
Analyzed

Description

In the Linux kernel, the following vulnerability has been resolved: hwmon: (pmbus/adm1266) include PEC byte in pmbus_block_xfer read buffer adm1266_pmbus_block_xfer() sets up the read transaction with .buf = data->read_buf, .len = ADM1266_PMBUS_BLOCK_MAX + 2, but read_buf in struct adm1266_data is declared as u8 read_buf[ADM1266_PMBUS_BLOCK_MAX + 1]; For a max-length block response (length byte = 255 + up to 1 PEC byte), the i2c controller is told to write 257 bytes into a 256-byte buffer, putting one byte past the end of read_buf. The same response also makes the subsequent PEC compare if (crc != msgs[1].buf[msgs[1].buf[0] + 1]) read a byte beyond the array. Bump the read_buf declaration to ADM1266_PMBUS_BLOCK_MAX + 2 so the buffer can hold the length byte, up to 255 payload bytes, and the PEC byte the i2c_msg length already accounts for.

Références

Scores

VersionScoreVecteurÉvalué par
CVSS 3.1HIGH 7.8CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HLinux
CVSS 3.1HIGH 7.8CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HNVD · 416baaa9-dc9f-4396-8d5f-8c081fb06d67 (Secondary)

Références européennes

Avis du CERT-FR

Configurations affectées (CPE NVD)

Produits affectés

ProduitVersions
Linux · Linuxaffected 407dc802a9c0809ca6a48de4b4c63305eb84ef56 < 397d3f523bfff2f4e3dacf9b1339bd76dc207f78 ; affected 407dc802a9c0809ca6a48de4b4c63305eb84ef56 < 472744f69d25a2d5111ad62f1d62579dce2c13c8 ; affected 407dc802a9c0809ca6a48de4b4c63305eb84ef56 < 528a9f88e88502d0c2f2052a279415074cd83715 ; affected 407dc802a9c0809ca6a48de4b4c63305eb84ef56 < d94ceb16e55b6d8019ab069e357c76ac42f0ffbc ; affected 407dc802a9c0809ca6a48de4b4c63305eb84ef56 < bd5be3fa5de6dbf61f1b3cec6b79c2c2f8065694 ; affected 407dc802a9c0809ca6a48de4b4c63305eb84ef56 < 2279c342d94eca225bf9f301c8806a05a1c81619
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