Thread (2 messages) 2 messages, 2 authors, 2026-08-10

Re: [PATCH net] e100: fix shift-out-of-bounds in e100_eeprom_load()

flat view

From: Andrew Lunn <andrew@lunn.ch>
Date: 2026-08-10 17:57:31
Also in: intel-wired-lan, lkml

On Mon, Aug 10, 2026 at 06:38:15AM +0000, Malathi wrote:
e100_eeprom_load() and e100_eeprom_save() start with an address length
of 8 and call e100_eeprom_read() to auto-detect the real EEPROM address
length. e100_eeprom_read() adjusts the length with

	*addr_len -= (i - 16);

based on when the EEPROM drives a dummy zero onto EEDO. A malfunctioning
or emulated device that drives EEDO low too early makes (i - 16) exceed
the current length, underflowing the u16 addr_len to a large value such
as 65529.
So this is a theoretical issue which never happens, and bothers
nobody. This does not meet the requirements for stable. Please target
net-next and drop the Fixes tag.

	Andrew
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help