diff options
author | Rob Clark <[email protected]> | 2022-11-30 10:57:47 -0800 |
---|---|---|
committer | Javier Martinez Canillas <[email protected]> | 2022-12-04 18:56:52 +0100 |
commit | 24013314be6ee4ee456114a671e9fa3461323de8 (patch) | |
tree | 1f97a7f8c3724b0c76202bcdb2569205f8ace9a2 /lib/test-string_helpers.c | |
parent | d3d6b1bf85aefe0ebc0624574b3bb62f0693914c (diff) |
drm/shmem-helper: Remove errant put in error path
drm_gem_shmem_mmap() doesn't own this reference, resulting in the GEM
object getting prematurely freed leading to a later use-after-free.
Link: https://syzkaller.appspot.com/bug?extid=c8ae65286134dd1b800d
Reported-by: [email protected]
Fixes: 2194a63a818d ("drm: Add library for shmem backed GEM objects")
Cc: [email protected]
Signed-off-by: Rob Clark <[email protected]>
Reviewed-by: Daniel Vetter <[email protected]>
Signed-off-by: Javier Martinez Canillas <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'lib/test-string_helpers.c')
0 files changed, 0 insertions, 0 deletions