[PATCH 0/4 v2][SRU][Wily] crypto: fix algif_skcipher regression

Kamal Mostafa kamal at canonical.com
Fri Mar 25 16:01:03 UTC 2016


From: Kamal Mostafa <kamal at canonical.com>

BugLink: http://bugs.launchpad.net/bugs/1556562

These four stable backports are needed to fix a null pointer deref regression.
These have a positive test result by the bug submitter and are queued for the
next 4.2.y-ckt stable.

This [v2] version includes a correction to the first patch.  That corrected
patch is already carried or pending in stable kernels >= 3.16.

Herbert Xu (4):
  crypto: skcipher - Add crypto_skcipher_has_setkey
  crypto: algif_skcipher - Add key check exception for cipher_null
  crypto: algif_skcipher - Do not assume that req is unchanged
  crypto: algif_skcipher - Do not dereference ctx without socket lock

 crypto/ablkcipher.c     |  1 +
 crypto/algif_skcipher.c | 77 +++++++++++++++++++++++++------------------------
 include/linux/crypto.h  |  8 +++++
 3 files changed, 49 insertions(+), 37 deletions(-)

-- 
2.7.0





More information about the kernel-team mailing list