[PATCH v2] net/ixgbe: fix null dereference on EEPROM write for E610

Bruce Richardson bruce.richardson at intel.com
Mon Sep 28 15:44:41 CEST 2026


On Mon, Sep 28, 2026 at 02:14:11PM +0100, Bruce Richardson wrote:
> On Mon, Sep 28, 2026 at 04:12:53PM -0400, Sandeep Penigalapati wrote:
> > E610 does not support EEPROM writes and leaves eeprom.ops.write_buffer
> > as NULL. ixgbe_set_eeprom() calls this pointer without checking it,
> > causing a NULL pointer dereference when a set-eeprom request is issued
> > on an E610 port.
> > 
> > Check the op for NULL and return -ENOTSUP instead.
> > 
> > Fixes: 316637762a5f ("net/ixgbe/base: enable E610 device")
> > Cc: stable at dpdk.org
> > 
> > Signed-off-by: Sandeep Penigalapati <sandeep.penigalapati at intel.com>
> Acked-by: Bruce Richardson <bruce.richardson at intel.com>
> > ---

Applied to dpdk-next-net-intel.
Thanks,
/Bruce


More information about the stable mailing list