linux/drivers/s390/crypto
Christian Borntraeger 1c10b4b35a s390/zcrypt: Fix ZCRYPT_PERDEV_REQCNT ioctl
commit f7e80983f0 upstream.

reqcnt is an u32 pointer but we do copy sizeof(reqcnt) which is the
size of the pointer. This means we only copy 8 byte. Let us copy
the full monty.

Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
Cc: Harald Freudenberger <freude@linux.ibm.com>
Cc: stable@vger.kernel.org
Fixes: af4a72276d ("s390/zcrypt: Support up to 256 crypto adapters.")
Reviewed-by: Harald Freudenberger <freude@linux.ibm.com>
Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2020-10-01 13:14:54 +02:00
..
ap_bus.c s390/zcrypt: enable AP bus scan without a valid default domain 2019-11-20 18:47:07 +01:00
ap_bus.h s390/zcrypt: fix card and queue total counter wrap 2020-03-05 16:42:13 +01:00
ap_card.c s390/zcrypt: fix card and queue total counter wrap 2020-03-05 16:42:13 +01:00
ap_debug.h
ap_queue.c s390/zcrypt: fix card and queue total counter wrap 2020-03-05 16:42:13 +01:00
Makefile
pkey_api.c
zcrypt_api.c s390/zcrypt: Fix ZCRYPT_PERDEV_REQCNT ioctl 2020-10-01 13:14:54 +02:00
zcrypt_api.h
zcrypt_card.c
zcrypt_cca_key.h
zcrypt_cex2a.c
zcrypt_cex2a.h
zcrypt_cex4.c
zcrypt_cex4.h
zcrypt_debug.h
zcrypt_error.h s390/zcrypt: handle new reply code FILTERED_BY_HYPERVISOR 2020-01-04 19:13:14 +01:00
zcrypt_msgtype6.c
zcrypt_msgtype6.h
zcrypt_msgtype50.c
zcrypt_msgtype50.h
zcrypt_pcixcc.c
zcrypt_pcixcc.h
zcrypt_queue.c