Searched hist:e117765a (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/crypto/ |
H A D | af_alg.c | e117765a Wed Aug 30 02:17:39 CDT 2017 Stephan Mueller <smueller@chronox.de> crypto: af_alg - update correct dst SGL entry
When two adjacent TX SGL are processed and parts of both TX SGLs are pulled into the per-request TX SGL, the wrong per-request TX SGL entries were updated.
This fixes a NULL pointer dereference when a cipher implementation walks the TX SGL where some of the SGL entries were NULL.
Fixes: e870456d8e7c ("crypto: algif_skcipher - overhaul memory...") Signed-off-by: Stephan Mueller <smueller@chronox.de> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au> e117765a Wed Aug 30 02:17:39 CDT 2017 Stephan Mueller <smueller@chronox.de> crypto: af_alg - update correct dst SGL entry When two adjacent TX SGL are processed and parts of both TX SGLs are pulled into the per-request TX SGL, the wrong per-request TX SGL entries were updated. This fixes a NULL pointer dereference when a cipher implementation walks the TX SGL where some of the SGL entries were NULL. Fixes: e870456d8e7c ("crypto: algif_skcipher - overhaul memory...") Signed-off-by: Stephan Mueller <smueller@chronox.de> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
|