diff options
| author | T.J. Mercier <[email protected]> | 2024-09-09 20:53:59 +0000 |
|---|---|---|
| committer | Christian König <[email protected]> | 2024-09-10 15:14:52 +0000 |
| commit | 8c7c44be57672e1474bf15a451011c291e85fda4 (patch) | |
| tree | ed08fa620c904df476202f509e9121e280482c7d /drivers/gpu/drm/display/drm_dp_mst_topology.c | |
| parent | drm/stm: add COMMON_CLK dependency (diff) | |
| download | kernel-8c7c44be57672e1474bf15a451011c291e85fda4.tar.gz kernel-8c7c44be57672e1474bf15a451011c291e85fda4.zip | |
drm/syncobj: Fix syncobj leak in drm_syncobj_eventfd_ioctl
A syncobj reference is taken in drm_syncobj_find, but not released if
eventfd_ctx_fdget or kzalloc fails. Put the reference in these error
paths.
Reported-by: Xingyu Jin <[email protected]>
Fixes: c7a472297169 ("drm/syncobj: add IOCTL to register an eventfd")
Signed-off-by: T.J. Mercier <[email protected]>
Reviewed-by: Tvrtko Ursulin <[email protected]>
Reviewed-by. Christian König <[email protected]>
CC: [email protected] # 6.6+
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Signed-off-by: Christian König <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/display/drm_dp_mst_topology.c')
0 files changed, 0 insertions, 0 deletions
