patch 'net/bnxt: fix uninitialized read' has been queued to stable release 24.11.5

luca.boccassi at gmail.com luca.boccassi at gmail.com
Thu Mar 19 23:02:55 CET 2026


Hi,

FYI, your patch has been queued to stable release 24.11.5

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/21/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/9278ffe95ddcab4dc9a23c2e0df01e25b9a87a33

Thanks.

Luca Boccassi

---
>From 9278ffe95ddcab4dc9a23c2e0df01e25b9a87a33 Mon Sep 17 00:00:00 2001
From: Kevin Traynor <ktraynor at redhat.com>
Date: Thu, 12 Mar 2026 10:36:04 +0000
Subject: [PATCH] net/bnxt: fix uninitialized read

[ upstream commit aff31f4ea10a1653731439ba20a79bb9d6c3844d ]

batch_info->enabled is read in tfc_mpc_batch_start() before it is
initialized.

Initialize batch_info to avoid this.

Fixes: 67ad40007cd6 ("net/bnxt/tf_ulp: fix VFR cleanup and stats lockup")

Signed-off-by: Kevin Traynor <ktraynor at redhat.com>
Acked-by: Kishore Padmanabha <kishore.padmanabha at broadcom.com>
---
 drivers/net/bnxt/tf_ulp/ulp_sc_mgr.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/net/bnxt/tf_ulp/ulp_sc_mgr.c b/drivers/net/bnxt/tf_ulp/ulp_sc_mgr.c
index 57cbaaf09c..5a28f26438 100644
--- a/drivers/net/bnxt/tf_ulp/ulp_sc_mgr.c
+++ b/drivers/net/bnxt/tf_ulp/ulp_sc_mgr.c
@@ -181,7 +181,7 @@ static uint32_t ulp_stats_cache_main_loop(void *arg)
 	const struct bnxt_ulp_sc_core_ops *sc_ops = NULL;
 	struct ulp_sc_tfc_stats_cache_entry *sce;
 	struct ulp_sc_tfc_stats_cache_entry *sce_end;
-	struct tfc_mpc_batch_info_t batch_info;
+	struct tfc_mpc_batch_info_t batch_info = {0};
 	struct bnxt_ulp_sc_info *ulp_sc_info;
 	struct bnxt_ulp_context *ctxt = NULL;
 	uint16_t words = (ULP_TFC_CNTR_READ_BYTES + ULP_TFC_ACT_WORD_SZ - 1) / ULP_TFC_ACT_WORD_SZ;
-- 
2.47.3

---
  Diff of the applied patch vs upstream commit (please double-check if non-empty:
---
--- -	2026-03-19 22:00:50.028929335 +0000
+++ 0063-net-bnxt-fix-uninitialized-read.patch	2026-03-19 22:00:47.822359366 +0000
@@ -1 +1 @@
-From aff31f4ea10a1653731439ba20a79bb9d6c3844d Mon Sep 17 00:00:00 2001
+From 9278ffe95ddcab4dc9a23c2e0df01e25b9a87a33 Mon Sep 17 00:00:00 2001
@@ -5,0 +6,2 @@
+[ upstream commit aff31f4ea10a1653731439ba20a79bb9d6c3844d ]
+
@@ -12 +13,0 @@
-Cc: stable at dpdk.org
@@ -21 +22 @@
-index b55366e003..23e1b59ca4 100644
+index 57cbaaf09c..5a28f26438 100644
@@ -24 +25 @@
-@@ -192,7 +192,7 @@ static uint32_t ulp_stats_cache_main_loop(void *arg)
+@@ -181,7 +181,7 @@ static uint32_t ulp_stats_cache_main_loop(void *arg)


More information about the stable mailing list