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

Trahe, Fiona fiona.trahe at intel.com
Fri Feb 21 17:16:42 CET 2020



> -----Original Message-----
> From: Dybkowski, AdamX <adamx.dybkowski at intel.com>
> Sent: Friday, February 21, 2020 3:40 PM
> To: stable at dpdk.org; Trahe, Fiona <fiona.trahe at intel.com>; bluca at debian.org
> Cc: Dybkowski, AdamX <adamx.dybkowski at intel.com>
> Subject: [PATCH 17.11] 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: 72de277dd423 ("cryptodev: fix checks related to device id")
> 
> Signed-off-by: Adam Dybkowski <adamx.dybkowski at intel.com>
Acked-by: Fiona Trahe <fiona.trahe at intel.com>




More information about the stable mailing list