aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/i915/display/intel_dp_mst.c
diff options
context:
space:
mode:
authorEzequiel Garcia <[email protected]>2020-04-27 18:44:05 -0300
committerRodrigo Siqueira <[email protected]>2020-05-06 21:51:46 -0400
commit0ea2ea42b31abc1141f2fd3911f952a97d401fcb (patch)
tree47cd2b2a7c0892bbb040ea4914d758414d7bf263 /drivers/gpu/drm/i915/display/intel_dp_mst.c
parentc27f0cc4d43a7f910e3cf779f44c470275604236 (diff)
drm/vkms: Hold gem object while still in-use
We need to keep the reference to the drm_gem_object until the last access by vkms_dumb_create. Therefore, the put the object after it is used. This fixes a use-after-free issue reported by syzbot. While here, change vkms_gem_create() symbol to static. Reported-and-tested-by: [email protected] Signed-off-by: Ezequiel Garcia <[email protected]> Reviewed-by: Rodrigo Siqueira <[email protected]> Signed-off-by: Rodrigo Siqueira <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'drivers/gpu/drm/i915/display/intel_dp_mst.c')
0 files changed, 0 insertions, 0 deletions