patch 'crypto/cnxk: fix uninitialized variable' has been queued to stable release 24.11.3

Kevin Traynor ktraynor at redhat.com
Fri Jul 18 21:29:13 CEST 2025


Hi,

FYI, your patch has been queued to stable release 24.11.3

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

Thanks.

Kevin

---
>From f83dfdb5b08bb80e4286ff2879d25cd90bf52a13 Mon Sep 17 00:00:00 2001
From: Gowrishankar Muthukrishnan <gmuthukrishn at marvell.com>
Date: Thu, 15 May 2025 13:36:29 +0530
Subject: [PATCH] crypto/cnxk: fix uninitialized variable

[ upstream commit 1f720746bed33069c72b7ed08546aea5e9a9aed4 ]

This change fixes an uninitialized local variable as reported
in coverity issue 445390.

Coverity issue: 445390
Fixes: a8ebe94f8cc1 ("crypto/cnxk: support EdDSA")

Signed-off-by: Gowrishankar Muthukrishnan <gmuthukrishn at marvell.com>
Acked-by: Akhil Goyal <gakhil at marvell.com>
---
 drivers/crypto/cnxk/cnxk_ae.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/crypto/cnxk/cnxk_ae.h b/drivers/crypto/cnxk/cnxk_ae.h
index cd66f66e70..82dce507bd 100644
--- a/drivers/crypto/cnxk/cnxk_ae.h
+++ b/drivers/crypto/cnxk/cnxk_ae.h
@@ -192,5 +192,5 @@ cnxk_ae_fill_ec_params(struct cnxk_ae_sess *sess, struct rte_crypto_asym_xform *
 {
 	struct roc_ae_ec_ctx *ec = &sess->ec_ctx;
-	union cpt_inst_w4 w4;
+	union cpt_inst_w4 w4 = {0};
 
 	switch (xform->ec.curve_id) {
-- 
2.50.0

---
  Diff of the applied patch vs upstream commit (please double-check if non-empty:
---
--- -	2025-07-18 20:29:11.758373291 +0100
+++ 0019-crypto-cnxk-fix-uninitialized-variable.patch	2025-07-18 20:29:10.822907000 +0100
@@ -1 +1 @@
-From 1f720746bed33069c72b7ed08546aea5e9a9aed4 Mon Sep 17 00:00:00 2001
+From f83dfdb5b08bb80e4286ff2879d25cd90bf52a13 Mon Sep 17 00:00:00 2001
@@ -5,0 +6,2 @@
+[ upstream commit 1f720746bed33069c72b7ed08546aea5e9a9aed4 ]
+
@@ -11 +12,0 @@
-Cc: stable at dpdk.org



More information about the stable mailing list