Skip to content
CVE PROGRAM SOURCE RECORDUnscored

CVE-2025-68190

drm/amdgpu/atom: Check kcalloc() for WS buffer in amdgpu_atom_execute_table_locked()

Description

In the Linux kernel, the following vulnerability has been resolved: drm/amdgpu/atom: Check kcalloc() for WS buffer in amdgpu_atom_execute_table_locked() kcalloc() may fail. When WS is non-zero and allocation fails, ectx.ws remains NULL while ectx.ws_size is set, leading to a potential NULL pointer dereference in atom_get_src_int() when accessing WS entries. Return -ENOMEM on allocation failure to avoid the NULL dereference.

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

  • d38ceaf99ed015f2a0b9af3499791bd3a3daae21 to < 0b52e3192181b4de58844faedd2928e5c6ca0e06affected
  • d38ceaf99ed015f2a0b9af3499791bd3a3daae21 to < 47252c7d5559d8776ad336be9c955d8404e7ae69affected
  • d38ceaf99ed015f2a0b9af3499791bd3a3daae21 to < 88d198836f628c57536c6c71d13e90c5d15fbf1aaffected
  • d38ceaf99ed015f2a0b9af3499791bd3a3daae21 to < 73853208a497a036596dcf9efbff8ce927651d3aaffected
  • d38ceaf99ed015f2a0b9af3499791bd3a3daae21 to < 35f3fb86bb0158a298d6834e7e110dcaf07f490caffected
  • d38ceaf99ed015f2a0b9af3499791bd3a3daae21 to < 997e28d3d00a1d30649629515e4402612921205baffected
  • d38ceaf99ed015f2a0b9af3499791bd3a3daae21 to < cc9a8e238e42c1f43b98c097995137d644b69245affected

Linux Linux

Default version status: affected

  • 4.2affected
  • 0 to < 4.2unaffected
  • 5.10.271 to ≤ 5.10.*unaffected
  • 5.15.222 to ≤ 5.15.*unaffected
  • 6.1.189 to ≤ 6.1.*unaffected
  • 6.6.158 to ≤ 6.6.*unaffected
  • 6.12.58 to ≤ 6.12.*unaffected
  • 6.17.8 to ≤ 6.17.*unaffected
  • 6.18 to ≤ *unaffected

References