Rob Clark d78d383ab3 drm/msm: protect against faults from copy_from_user() in submit ioctl
An evil userspace could try to cause deadlock by passing an unfaulted-in
GEM bo as submit->bos (or submit->cmds) table.  Which will trigger
msm_gem_fault() while we already hold struct_mutex.  See:

https://github.com/freedreno/msmtest/blob/master/evilsubmittest.c

Cc: stable@vger.kernel.org
Signed-off-by: Rob Clark <robdclark@gmail.com>
2016-08-28 12:49:39 -04:00
..
2016-07-16 10:09:06 -04:00
2016-05-08 10:22:15 -04:00
2016-05-08 10:22:15 -04:00
2013-08-24 14:57:18 -04:00
2014-01-09 14:44:06 -05:00