Skip to content

Commit 864f83a

Browse files
committed
Merge branch 'linus' of git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6
Pull crypto fix from Herbert Xu: "This fixes a bug in the qat driver where a user-space pointer is dereferenced" * 'linus' of git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6: crypto: qat - don't use userspace pointer
2 parents 8005c49 + 176155d commit 864f83a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/crypto/qat/qat_common/adf_ctl_drv.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@ static int adf_copy_key_value_data(struct adf_accel_dev *accel_dev,
198198
goto out_err;
199199
}
200200

201-
params_head = section_head->params;
201+
params_head = section.params;
202202

203203
while (params_head) {
204204
if (copy_from_user(&key_val, (void __user *)params_head,

0 commit comments

Comments
 (0)