diff options
| author | Wentao Liang <vulab@iscas.ac.cn> | 2026-09-16 18:02:02 +0000 |
|---|---|---|
| committer | Lyude Paul <lyude@redhat.com> | 2026-09-17 14:21:38 -0400 |
| commit | 5ea72f7b7139b123713a7983448f910bc4514d9e (patch) | |
| tree | 36fbe81c17386bdbb825d238947b2fc81d073a9c /tools/perf/scripts/python | |
| parent | 67b4411538c8341692548429d43256f25be99f7a (diff) | |
drm/nouveau: Fix gem reference leak in validate_init()
On the ttm_bo_reserve() failure and "vma not found" error paths, the
loop breaks without adding the looked-up object to any validate list,
so the reference taken by drm_gem_object_lookup() is never released;
validate_fini() only walks the spliced lists. Drop the reference
before breaking out on both paths.
Fixes: 19ca10d82e33bcfe ("drm/nouveau/gem: lookup VMAs for buffers referenced by pushbuf ioctl")
Cc: stable@vger.kernel.org
Signed-off-by: Wentao Liang <vulab@iscas.ac.cn>
Reviewed-by: Lyude Paul <lyude@redhat.com>
Signed-off-by: Lyude Paul <lyude@redhat.com>
Link: https://patch.msgid.link/20260916180202.2090231-1-vulab@iscas.ac.cn
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
