patch 'net/ixgbe: fix null dereference on EEPROM write for E610' has been queued to stable release 24.11.9
luca.boccassi at gmail.com
luca.boccassi at gmail.com
Tue Oct 27 12:50:42 CET 2026
Hi,
FYI, your patch has been queued to stable release 24.11.9
Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet.
It will be pushed if I get no objections before 10/29/26. So please
shout if anyone has objections.
Also note that after the patch there's a diff of the upstream commit vs the
patch applied to the branch. This will indicate if there was any rebasing
needed to apply to the stable branch. If there were code changes for rebasing
(ie: not only metadata diffs), please double check that the rebase was
correctly done.
Queued patches are on a temporary branch at:
https://github.com/bluca/dpdk-stable
This queued commit can be viewed at:
https://github.com/bluca/dpdk-stable/commit/e5141dd2613cb161c0f4421a8e1a6bc76c2e8d70
Thanks.
Luca Boccassi
---
>From e5141dd2613cb161c0f4421a8e1a6bc76c2e8d70 Mon Sep 17 00:00:00 2001
From: Sandeep Penigalapati <sandeep.penigalapati at intel.com>
Date: Mon, 28 Sep 2026 16:12:53 -0400
Subject: [PATCH] net/ixgbe: fix null dereference on EEPROM write for E610
[ upstream commit 04c3e44b4aeeeb97e68e7f6db485e5768aeb8453 ]
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")
Signed-off-by: Sandeep Penigalapati <sandeep.penigalapati at intel.com>
Acked-by: Bruce Richardson <bruce.richardson at intel.com>
---
drivers/net/ixgbe/ixgbe_ethdev.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/drivers/net/ixgbe/ixgbe_ethdev.c b/drivers/net/ixgbe/ixgbe_ethdev.c
index 04880fd5209..8c4fb265962 100644
--- a/drivers/net/ixgbe/ixgbe_ethdev.c
+++ b/drivers/net/ixgbe/ixgbe_ethdev.c
@@ -7407,6 +7407,9 @@ ixgbe_get_eeprom(struct rte_eth_dev *dev,
if (rte_eal_process_type() != RTE_PROC_PRIMARY)
return -E_RTE_SECONDARY;
+ if (eeprom->ops.write_buffer == NULL)
+ return -ENOTSUP;
+
first = in_eeprom->offset >> 1;
length = in_eeprom->length >> 1;
if ((first > hw->eeprom.word_size) ||
--
2.47.3
---
Diff of the applied patch vs upstream commit (please double-check if non-empty:
---
--- - 2026-10-27 11:43:59.393419146 +0000
+++ 0148-net-ixgbe-fix-null-dereference-on-EEPROM-write-for-E.patch 2026-10-27 11:43:53.682064648 +0000
@@ -1 +1 @@
-From 04c3e44b4aeeeb97e68e7f6db485e5768aeb8453 Mon Sep 17 00:00:00 2001
+From e5141dd2613cb161c0f4421a8e1a6bc76c2e8d70 Mon Sep 17 00:00:00 2001
@@ -5,0 +6,2 @@
+[ upstream commit 04c3e44b4aeeeb97e68e7f6db485e5768aeb8453 ]
+
@@ -14 +15,0 @@
-Cc: stable at dpdk.org
@@ -19 +20 @@
- drivers/net/intel/ixgbe/ixgbe_ethdev.c | 3 +++
+ drivers/net/ixgbe/ixgbe_ethdev.c | 3 +++
@@ -22,5 +23,5 @@
-diff --git a/drivers/net/intel/ixgbe/ixgbe_ethdev.c b/drivers/net/intel/ixgbe/ixgbe_ethdev.c
-index 1c028a5f54..1745070e59 100644
---- a/drivers/net/intel/ixgbe/ixgbe_ethdev.c
-+++ b/drivers/net/intel/ixgbe/ixgbe_ethdev.c
-@@ -7361,6 +7361,9 @@ ixgbe_get_eeprom(struct rte_eth_dev *dev,
+diff --git a/drivers/net/ixgbe/ixgbe_ethdev.c b/drivers/net/ixgbe/ixgbe_ethdev.c
+index 04880fd5209..8c4fb265962 100644
+--- a/drivers/net/ixgbe/ixgbe_ethdev.c
++++ b/drivers/net/ixgbe/ixgbe_ethdev.c
+@@ -7407,6 +7407,9 @@ ixgbe_get_eeprom(struct rte_eth_dev *dev,
More information about the stable
mailing list