Skip to content
CVE PROGRAM SOURCE RECORD7.8 High

CVE-2023-52921

drm/amdgpu: fix possible UAF in amdgpu_cs_pass1()

Description

In the Linux kernel, the following vulnerability has been resolved: drm/amdgpu: fix possible UAF in amdgpu_cs_pass1() Since the gang_size check is outside of chunk parsing loop, we need to reset i before we free the chunk data. Suggested by Ye Zhang (@VAR10CK) of Baidu Security.

Affected products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

Linux Linux

Default version status: unaffected

  • 2ebf61f2cfb9a11bc17db30df3e675a4cd7418d3 to < e08e9dd09809b16f8f8cee8c466841b33d24ed96affected
  • 2ebf61f2cfb9a11bc17db30df3e675a4cd7418d3 to < 90e065677e0362a777b9db97ea21d43a39211399affected

Linux Linux

Default version status: affected

  • 6.2affected
  • 0 to < 6.2unaffected
  • 6.4.11 to ≤ 6.4.*unaffected
  • 6.5 to ≤ *unaffected

References