]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
drm/amdgpu/vcn: Fix double-free of vcn dump buffer
authorLijo Lazar <lijo.lazar@amd.com>
Tue, 5 Aug 2025 12:10:09 +0000 (17:40 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 15 Oct 2025 10:04:23 +0000 (12:04 +0200)
commit300a901dc2cfc70b953a24e50d2e0683cb29b03d
treeda9ceeb787e91155c30cb45aabb658119dee20d9
parent3bd9391fe32640ebe0fdbc6811a99ed4f155bc64
drm/amdgpu/vcn: Fix double-free of vcn dump buffer

commit 1a0e57eb96c3fca338665ffd7d9b59f351e5fea7 upstream.

The buffer is already freed as part of amdgpu_vcn_reg_dump_fini(). The
issue is introduced by below patch series.

Fixes: de55cbff5ce9 ("drm/amdgpu/vcn: Add regdump helper functions")
Signed-off-by: Lijo Lazar <lijo.lazar@amd.com>
Reviewed-by: Sathishkumar S <sathishkumar.sundararaju@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c
drivers/gpu/drm/amd/amdgpu/vcn_v3_0.c
drivers/gpu/drm/amd/amdgpu/vcn_v4_0_3.c
drivers/gpu/drm/amd/amdgpu/vcn_v4_0_5.c