patch 'test/crypto: use standard memcpy for wireless cipher IV' has been queued to stable release 25.11.5

Kevin Traynor ktraynor at redhat.com
Thu Dec 3 14:06:26 CET 2026


Hi,

FYI, your patch has been queued to stable release 25.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 12/08/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/b847ea0828cf51f2cbc563a792b94894d1953b14

Thanks.

Kevin

---
>From b847ea0828cf51f2cbc563a792b94894d1953b14 Mon Sep 17 00:00:00 2001
From: Kai Ji <kai.ji at intel.com>
Date: Tue, 17 Nov 2026 14:51:04 +0000
Subject: [PATCH] test/crypto: use standard memcpy for wireless cipher IV

[ upstream commit 25743b55543b57b7f447d7d52dc002492dcd6334 ]

Coverity reports an out-of-bounds read of the ZUC cipher IV when tracing
the optimized rte_memcpy() implementation. The ZUC test vectors use
16-byte or 25-byte IVs, which fit in the 64-byte source buffer.

Use memcpy() for IV copies in both the in-place and out-of-place
wireless cipher operation helpers. These small test setup copies do
not need the optimized packet data copy routine. The copy lengths
and operation layout remain unchanged.

Coverity issue: 507468

Fixes: 27a1c4714d54 ("app/test: add KASUMI crypto")

Signed-off-by: Kai Ji <kai.ji at intel.com>
---
 app/test/test_cryptodev.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/app/test/test_cryptodev.c b/app/test/test_cryptodev.c
index 3954c5f164..f32fc9dd97 100644
--- a/app/test/test_cryptodev.c
+++ b/app/test/test_cryptodev.c
@@ -3006,5 +3006,5 @@ create_wireless_algo_cipher_operation(const uint8_t *iv, uint8_t iv_len,
 
 	/* iv */
-	rte_memcpy(rte_crypto_op_ctod_offset(ut_params->op, uint8_t *, IV_OFFSET),
+	memcpy(rte_crypto_op_ctod_offset(ut_params->op, uint8_t *, IV_OFFSET),
 			iv, iv_len);
 	sym_op->cipher.data.length = cipher_len;
@@ -3037,5 +3037,5 @@ create_wireless_algo_cipher_operation_oop(const uint8_t *iv, uint8_t iv_len,
 
 	/* iv */
-	rte_memcpy(rte_crypto_op_ctod_offset(ut_params->op, uint8_t *, IV_OFFSET),
+	memcpy(rte_crypto_op_ctod_offset(ut_params->op, uint8_t *, IV_OFFSET),
 			iv, iv_len);
 	sym_op->cipher.data.length = cipher_len;
-- 
2.56.1

---
  Diff of the applied patch vs upstream commit (please double-check if non-empty:
---
--- -	2026-12-03 12:52:52.185918214 +0000
+++ 0460-test-crypto-use-standard-memcpy-for-wireless-cipher-.patch	2026-12-03 12:52:39.350938830 +0000
@@ -1 +1 @@
-From 25743b55543b57b7f447d7d52dc002492dcd6334 Mon Sep 17 00:00:00 2001
+From b847ea0828cf51f2cbc563a792b94894d1953b14 Mon Sep 17 00:00:00 2001
@@ -5,0 +6,2 @@
+[ upstream commit 25743b55543b57b7f447d7d52dc002492dcd6334 ]
+
@@ -18 +19,0 @@
-Cc: stable at dpdk.org
@@ -26 +27 @@
-index 5051ee7fae..eb955766bc 100644
+index 3954c5f164..f32fc9dd97 100644
@@ -29 +30 @@
-@@ -3008,5 +3008,5 @@ create_wireless_algo_cipher_operation(const uint8_t *iv, uint8_t iv_len,
+@@ -3006,5 +3006,5 @@ create_wireless_algo_cipher_operation(const uint8_t *iv, uint8_t iv_len,
@@ -36 +37 @@
-@@ -3039,5 +3039,5 @@ create_wireless_algo_cipher_operation_oop(const uint8_t *iv, uint8_t iv_len,
+@@ -3037,5 +3037,5 @@ create_wireless_algo_cipher_operation_oop(const uint8_t *iv, uint8_t iv_len,



More information about the stable mailing list