commit | 92cc48166e4909c5eb6b1e2abbab9ab07b64b6dd | [log] [tgz] |
---|---|---|
author | Thomas Hellstrom <thellstrom@vmware.com> | Mon Mar 27 11:09:08 2017 +0200 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Wed Apr 12 12:41:10 2017 +0200 |
tree | da04262f774cdee6022537543de572a013458d0d | |
parent | 9c2b46e720d5b083268ca0131f513a90696f3a82 [diff] |
drm/vmwgfx: Type-check lookups of fence objects commit f7652afa8eadb416b23eb57dec6f158529942041 upstream. A malicious caller could otherwise hand over handles to other objects causing all sorts of interesting problems. Testing done: Ran a Fedora 25 desktop using both Xorg and gnome-shell/Wayland. Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> Reviewed-by: Sinclair Yeh <syeh@vmware.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>