[dpdk-dev] [PATCH] cryptodev: fix missing device id range checking

Trahe, Fiona fiona.trahe at intel.com
Thu Feb 20 16:39:50 CET 2020

> -----Original Message-----
> From: Dybkowski, AdamX <adamx.dybkowski at intel.com>
> Sent: Thursday, February 20, 2020 3:04 PM
> To: dev at dpdk.org; Trahe, Fiona <fiona.trahe at intel.com>; akhil.goyal at nxp.com
> Cc: Dybkowski, AdamX <adamx.dybkowski at intel.com>; stable at dpdk.org
> Subject: [PATCH] cryptodev: fix missing device id range checking
> This patch adds range-checking of the device id passed from
> the user app code. It prevents out-of-range array accesses
> which in some situations resulted in an
> application crash (segfault).
> Fixes: 3dd4435cf473 ("cryptodev: fix checks related to device id")
> Cc: stable at dpdk.org
> Signed-off-by: Adam Dybkowski <adamx.dybkowski at intel.com>
Acked-by: Fiona Trahe <fiona.trahe at intel.com>

More information about the dev mailing list