PT-2026-61400 · Linux · Linux
CVE-2026-64083
·
Publicado
2026-07-19
·
Atualizado
2026-07-19
Nenhuma
Não há classificações de severidade ou métricas disponíveis. Quando houver, atualizaremos as informações correspondentes na página.
In the Linux kernel, the following vulnerability has been resolved:
hwmon: (pmbus/adm1266) reject short block-read responses in the GPIO accessors
adm1266 gpio get() and adm1266 gpio get multiple() both compose the
pin-status word as
pins status = read buf[0] + (read buf[1] << 8);right after i2c smbus read block data(), guarding only against an
error return. A well-behaved device returns 2 bytes for
GPIO STATUS/PDIO STATUS, but the helper happily reports a 0- or
1-byte response too. If the device returns 0 bytes, both read buf
slots are uninitialized stack memory; if it returns 1 byte, read buf[1]
is.
The composed value then flows through set bit() into the caller's
*bits in adm1266 gpio get multiple(), or into the return value of
adm1266 gpio get(), and ends up in userspace via gpiolib (sysfs and
the char-dev ioctls). That leaks a few bits of kernel stack per
request on any device whose firmware glitch, bus error, or hostile
slave produces a short block-read response.
Add the missing length check to both call sites and surface a short
response as -EIO.
Encontrou algum problema na descrição? Tem algo a acrescentar? Fique à vontade para nos escrever 👾
Identificadores relacionados
Produtos afetados
Linux