diff options
| author | 2022-12-16 15:33:55 -0800 | |
|---|---|---|
| committer | 2023-01-10 02:17:50 +0300 | |
| commit | 52531258318ed59a2dc5a43df2eaf0eb1d65438e (patch) | |
| tree | 6cc50280fa286f3ae4ebb2d577ca72d8a96653f3 /security/integrity/git:/ssh:/git@git.zx2c4.com | |
| parent | drm: Add orientation quirk for Lenovo ideapad D330-10IGL (diff) | |
drm/virtio: Fix GEM handle creation UAF
Userspace can guess the handle value and try to race GEM object creation
with handle close, resulting in a use-after-free if we dereference the
object after dropping the handle's reference. For that reason, dropping
the handle's reference must be done *after* we are done dereferencing
the object.
Signed-off-by: Rob Clark <robdclark@chromium.org>
Reviewed-by: Chia-I Wu <olvaffe@gmail.com>
Fixes: 62fb7a5e1096 ("virtio-gpu: add 3d/virgl support")
Cc: stable@vger.kernel.org
Signed-off-by: Dmitry Osipenko <dmitry.osipenko@collabora.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20221216233355.542197-2-robdclark@gmail.com
Diffstat (limited to 'security/integrity/git:/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
