crypto: qat - don't use userspace pointer
Subsystems (2)
PATCH RESEND 1/1 crypto: qat - don't use userspace pointer
Bugfix - don't dereference userspace pointer.
Resend with the correct way for inclusion in the stable kernel.
Signed-off-by Tadeusz Struk <[email protected]>
--- drivers/crypto/qat/qat_common/adf_ctl_drv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/crypto/qat/qat_common/adf_ctl_drv.c +1 -1
@@ -198,7 +198,7 @@ static int adf_copy_key_value_data(struct adf_accel_dev *accel_dev, goto out_err; } - params_head = section_head->params; + params_head = section.params;while (params_head) { if (copy_from_user(&key_val, (void __user *)params_head,
Quoted 3 lines · Tadeusz Struk
Bugfix - don't dereference userspace pointer.
Resend with the correct way for inclusion in the stable kernel.
Applied to crypto.
Signature · 3 lines
Email: Herbert Xu <[email protected]> Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt