PT-2026-61302 · Linux · Linux
CVE-2026-63985
·
Publicado
2026-07-19
·
Atualizado
2026-07-19
CVSS v3.1
7.8
Alta
| Vetor | AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
In the Linux kernel, the following vulnerability has been resolved:
ethtool: eeprom: add more safeties to EEPROM Netlink fallback
The Netlink fallback path for reading module EEPROM
(fallback set params()) validates that offset < eeprom len,
but does not check that offset + length stays within eeprom len.
The ioctl equivalent (ethtool get any eeprom() in ioctl.c) has
always enforced both bounds:
if (eeprom.offset + eeprom.len > total len)
return -EINVAL;
This could lead to surprises in both drivers and device FW.
Add the missing offset + length validation to fallback set params(),
mirroring the ioctl.
Similarly - ethtool core in general, and ethtool get any eeprom()
in particular tries to zero-init all buffers passed to the drivers
to avoid any extra work of zeroing things out. eeprom fallback()
uses a plain kmalloc(), change it to zalloc.
Correção
Encontrou algum problema na descrição? Tem algo a acrescentar? Fique à vontade para nos escrever 👾
Identificadores relacionados
Produtos afetados
Linux