[SRU][F/J/N][PATCH 0/1] CVE-2024-42228

Cengiz Can cengiz.can at canonical.com
Thu Aug 22 04:26:49 UTC 2024


[Impact]

drm/amdgpu: Using uninitialized value *size when calling amdgpu_vce_cs_reloc

Initialize the size before calling amdgpu_vce_cs_reloc, such as case 0x03000001.

[Backport]

There were minor context differences between series.

Original author did not bother with the removal of the `tmp` declaration so I
made sure my backports follow the same.

[Test Case]

Compile tested only.

[Where problems could occur]

Users of AMD GPU's Video Coding Engine might encounter kernel oops however
highly unlikely since the change only assigns an initial value to size variable.

Jesse Zhang (1):
  drm/amdgpu: Using uninitialized value *size when calling
    amdgpu_vce_cs_reloc

 drivers/gpu/drm/amd/amdgpu/amdgpu_vce.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

-- 
2.43.0




More information about the kernel-team mailing list