patch 'net/nbl: fix null pointer dereference' has been queued to stable release 25.11.1

Kevin Traynor ktraynor at redhat.com
Thu Feb 26 14:09:31 CET 2026


Hi,

FYI, your patch has been queued to stable release 25.11.1

Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet.
It will be pushed if I get no objections before 03/02/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/kevintraynor/dpdk-stable

This queued commit can be viewed at:
https://github.com/kevintraynor/dpdk-stable/commit/9a577879eb6529283a4d577f3e2f767119a11de7

Thanks.

Kevin

---
>From 9a577879eb6529283a4d577f3e2f767119a11de7 Mon Sep 17 00:00:00 2001
From: Dimon Zhao <dimon.zhao at nebula-matrix.com>
Date: Tue, 3 Feb 2026 19:07:21 -0800
Subject: [PATCH] net/nbl: fix null pointer dereference

[ upstream commit fd573c1c5fa125324dd696094f9d82012b307e79 ]

Move debug log statement after NULL pointer validation in
nbl_dev_configure() to prevent dereference of adapter before the
check.

Coverity issue: 490950
Fixes: 93b38df5a2ec ("net/nbl: support basic configuration")

Signed-off-by: Dimon Zhao <dimon.zhao at nebula-matrix.com>
---
 drivers/net/nbl/nbl_dev/nbl_dev.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/net/nbl/nbl_dev/nbl_dev.c b/drivers/net/nbl/nbl_dev/nbl_dev.c
index e926c06456..8a56939aa7 100644
--- a/drivers/net/nbl/nbl_dev/nbl_dev.c
+++ b/drivers/net/nbl/nbl_dev/nbl_dev.c
@@ -19,9 +19,9 @@ int nbl_dev_configure(struct rte_eth_dev *eth_dev)
 	int ret;
 
-	NBL_LOG(DEBUG, "Begin to configure the device, state: %d", adapter->state);
-
 	if (dev_data == NULL || adapter == NULL)
 		return -EINVAL;
 
+	NBL_LOG(DEBUG, "Begin to configure the device, state: %d", adapter->state);
+
 	if (rx_mq_mode != RTE_ETH_MQ_RX_NONE && rx_mq_mode != RTE_ETH_MQ_RX_RSS) {
 		NBL_LOG(ERR, "Rx mq mode %d is not supported", rx_mq_mode);
-- 
2.53.0

---
  Diff of the applied patch vs upstream commit (please double-check if non-empty:
---
--- -	2026-02-26 10:16:50.575942434 +0000
+++ 0089-net-nbl-fix-null-pointer-dereference.patch	2026-02-26 10:16:47.034587403 +0000
@@ -1 +1 @@
-From fd573c1c5fa125324dd696094f9d82012b307e79 Mon Sep 17 00:00:00 2001
+From 9a577879eb6529283a4d577f3e2f767119a11de7 Mon Sep 17 00:00:00 2001
@@ -5,0 +6,2 @@
+[ upstream commit fd573c1c5fa125324dd696094f9d82012b307e79 ]
+
@@ -12 +13,0 @@
-Cc: stable at dpdk.org



More information about the stable mailing list