[EXTERNAL] [PATCH] test/crypto: use standard memory copy for wireless cipher IV

Akhil Goyal gakhil at marvell.com
Tue Nov 17 16:54:00 CET 2026


> 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
> 
> Signed-off-by: Kai Ji <kai.ji at intel.com>
> ---
Applied to dpdk-next-crypto

    Fixes: 27a1c4714d54 ("app/test: add KASUMI crypto")
    Cc: stable at dpdk.org


More information about the dev mailing list