staging/rdma/hfi1: close shared context security hole
authorJareer Abdel-Qader <jareer.h.abdel-qader@intel.com>
Mon, 26 Oct 2015 14:28:33 +0000 (10:28 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 27 Oct 2015 08:19:22 +0000 (17:19 +0900)
commit07839049db8e07c1a0ade9a102b2261cd50ac2c1
tree331d7135bb404c07856616f5696983f2dcca0185
parentf4d26d81ad7f599159511ca8d1a81b82dad474f6
staging/rdma/hfi1: close shared context security hole

Driver does not verify userid for shared context assignments, allowing
malicious user access.

Reviewed by: Mike Marciniszyn <mike.marciniszyn@intel.com>
Signed-off-by: Jareer H Abdel-Qader <jareer.h.abdel-qader@intel.com>
Signed-off-by: Ira Weiny <ira.weiny@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rdma/hfi1/file_ops.c