patch 'net/bnxt: fix uninitialized read' has been queued to stable release 25.11.1
Kevin Traynor
ktraynor at redhat.com
Thu Mar 19 11:03:25 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/23/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/dc92b557de0e7985d2f371c0d649c273a4c1b911
Thanks.
Kevin
---
>From dc92b557de0e7985d2f371c0d649c273a4c1b911 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 b55366e003..23e1b59ca4 100644
--- a/drivers/net/bnxt/tf_ulp/ulp_sc_mgr.c
+++ b/drivers/net/bnxt/tf_ulp/ulp_sc_mgr.c
@@ -193,5 +193,5 @@ static uint32_t ulp_stats_cache_main_loop(void *arg)
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;
--
2.53.0
---
Diff of the applied patch vs upstream commit (please double-check if non-empty:
---
--- - 2026-03-19 10:01:09.555167352 +0000
+++ 0087-net-bnxt-fix-uninitialized-read.patch 2026-03-19 10:01:07.135870074 +0000
@@ -1 +1 @@
-From aff31f4ea10a1653731439ba20a79bb9d6c3844d Mon Sep 17 00:00:00 2001
+From dc92b557de0e7985d2f371c0d649c273a4c1b911 Mon Sep 17 00:00:00 2001
@@ -5,0 +6,2 @@
+[ upstream commit aff31f4ea10a1653731439ba20a79bb9d6c3844d ]
+
@@ -12 +13,0 @@
-Cc: stable at dpdk.org
More information about the stable
mailing list