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

Trahe, Fiona fiona.trahe at intel.com
Mon Feb 24 14:55:28 CET 2020



> -----Original Message-----
> From: Dybkowski, AdamX <adamx.dybkowski at intel.com>
> Sent: Monday, February 24, 2020 1:09 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 18.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: 8db57afd7ab9 ("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