Skip to content
Commit 41f3ded1 authored by sumit.saxena@avagotech.com's avatar sumit.saxena@avagotech.com Committed by Zefan Li
Browse files

megaraid_sas : SMAP restriction--do not access user memory from IOCTL code

commit 323c4a02

 upstream.

This is an issue on SMAP enabled CPUs and 32 bit apps running on 64 bit
OS. Do not access user memory from kernel code. The SMAP bit restricts
accessing user memory from kernel code.

Signed-off-by: default avatarSumit Saxena <sumit.saxena@avagotech.com>
Signed-off-by: default avatarKashyap Desai <kashyap.desai@avagotech.com>
Reviewed-by: default avatarTomas Henzl <thenzl@redhat.com>
Signed-off-by: default avatarMartin K. Petersen <martin.petersen@oracle.com>
Signed-off-by: default avatarZefan Li <lizefan@huawei.com>
parent 8b3e15b2
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment