patch 'examples/fips_validation: fix dangling pointers' has been queued to stable release 25.11.1
Kevin Traynor
ktraynor at redhat.com
Thu Mar 19 11:03:28 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/7a40ebb42a449fd5ebd8f5a985275766752043e6
Thanks.
Kevin
---
>From 7a40ebb42a449fd5ebd8f5a985275766752043e6 Mon Sep 17 00:00:00 2001
From: Emma Finn <emma.finn at intel.com>
Date: Mon, 9 Mar 2026 10:10:25 +0000
Subject: [PATCH] examples/fips_validation: fix dangling pointers
[ upstream commit ba665acecbfe510f5f961f5539ddea6d162ed4cc ]
Set vector pointer to NULL after free to avoid calling rte_free()
on the same pointer twice in some cases.
Fixes: f4797bae0050 ("examples/fips_validation: support plain SHA")
Fixes: 225f04fb3e4c ("examples/fips_validation: add SHAKE validation")
Signed-off-by: Emma Finn <emma.finn at intel.com>
Acked-by: Kai Ji <kai.ji at intel.com>
Acked-by: Gowrishankar Muthukrishnan <gmuthukrishn at marvell.com>
---
examples/fips_validation/main.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/examples/fips_validation/main.c b/examples/fips_validation/main.c
index daf273bc85..2b6d55aa51 100644
--- a/examples/fips_validation/main.c
+++ b/examples/fips_validation/main.c
@@ -2611,5 +2611,5 @@ fips_mct_sha_test(void)
rte_free(vec.pt.val);
-
+ vec.pt.val = NULL;
rte_free(val.val);
return 0;
@@ -2699,4 +2699,5 @@ fips_mct_shake_test(void)
rte_free(md.val);
rte_free(vec.pt.val);
+ vec.pt.val = NULL;
rte_free(val.val);
return 0;
--
2.53.0
---
Diff of the applied patch vs upstream commit (please double-check if non-empty:
---
--- - 2026-03-19 10:01:09.645679186 +0000
+++ 0090-examples-fips_validation-fix-dangling-pointers.patch 2026-03-19 10:01:07.140918868 +0000
@@ -1 +1 @@
-From ba665acecbfe510f5f961f5539ddea6d162ed4cc Mon Sep 17 00:00:00 2001
+From 7a40ebb42a449fd5ebd8f5a985275766752043e6 Mon Sep 17 00:00:00 2001
@@ -5,0 +6,2 @@
+[ upstream commit ba665acecbfe510f5f961f5539ddea6d162ed4cc ]
+
@@ -11 +12,0 @@
-Cc: stable at dpdk.org
More information about the stable
mailing list