[dpdk-dev] [PATCH v3 2/2] crypto/nitrox: fix array out of bounds access

Akhil Goyal akhil.goyal at nxp.com
Sun Apr 5 18:55:01 CEST 2020



> -----Original Message-----
> From: Nagadheeraj Rottela <rnagadheeraj at marvell.com>
> Sent: Friday, March 27, 2020 7:13 PM
> To: Akhil Goyal <akhil.goyal at nxp.com>
> Cc: dev at dpdk.org; thomas at monjalon.net; jsrikanth at marvell.com;
> Nagadheeraj Rottela <rnagadheeraj at marvell.com>
> Subject: [PATCH v3 2/2] crypto/nitrox: fix array out of bounds access
> 
> In nitrox_sym_pmd_create() the name array will overflow if the pci
> device name is greater than 57 bytes. To fix this issue subtract pci
> device name length from array length while appending substring to the
> name.
> 
> Coverity issue: 349926
> 
> Fixes: 9fdef0cc2385 ("crypto/nitrox: create symmetric cryptodev")
> 
> Signed-off-by: Nagadheeraj Rottela <rnagadheeraj at marvell.com>
> ---
Cc:stable at dpdk.org

Applied to dpdk-next-crypto

Thanks.


More information about the dev mailing list