CVE-2026-64084
Severity CVSS v4.0:
Pending analysis
Type:
Unavailable / Other
Publication date:
19/07/2026
Last modified:
20/07/2026
Description
In the Linux kernel, the following vulnerability has been resolved:<br />
<br />
hwmon: (pmbus/adm1266) cap PDIO scan in get_multiple at ADM1266_PDIO_NR<br />
<br />
adm1266_gpio_get_multiple() iterates the PDIO portion of the<br />
caller-supplied mask using<br />
<br />
for_each_set_bit_from(gpio_nr, mask,<br />
ADM1266_GPIO_NR + ADM1266_PDIO_STATUS) {<br />
...<br />
}<br />
<br />
where ADM1266_PDIO_STATUS is the PMBus command code (0xE9, i.e. 233),<br />
not the number of PDIO pins. The intended upper bound is<br />
ADM1266_GPIO_NR + ADM1266_PDIO_NR = 25.<br />
<br />
gpiolib hands in a mask sized for gc.ngpio (= 25 bits on this chip),<br />
so the iteration walks find_next_bit() up to 242, reading up to 217<br />
extra bits (a handful of unsigned-long words: four on 64-bit, seven<br />
on 32-bit) of whatever lives past the end of the mask in the<br />
caller&#39;s stack. Any incidental set bit in that range then drives a<br />
set_bit(gpio_nr, bits) call that writes past the end of the<br />
caller-supplied bits array too -- both out-of-bounds.<br />
<br />
Substitute ADM1266_PDIO_NR for the constant so the scan stops at the<br />
last real PDIO bit.
Impact
Base Score 3.x
7.80
Severity 3.x
HIGH
References to Advisories, Solutions, and Tools
- https://git.kernel.org/stable/c/17cee2f59029039416e8f6303050038eb59ba149
- https://git.kernel.org/stable/c/299efd14c2eda7e5fd40025e54addd4151a01081
- https://git.kernel.org/stable/c/2aef8f08c479f4cbc83e1e6b19d1c94d4dd24f17
- https://git.kernel.org/stable/c/4d1da9a6be5a8156c532d571c2ed237169f99244
- https://git.kernel.org/stable/c/b96c7f0bc0713dc6403912f6527d4ff9168d6fe6
- https://git.kernel.org/stable/c/d0593e15fdeb56048a72c5c6e720f702759d0ccd
- https://git.kernel.org/stable/c/d7834d92251baade796812876e95555e2066fa9f
- https://git.kernel.org/stable/c/fa7ca363069a70b0d1aa51e8892e3095fe2ac1ec



