Skip to main content
← All vulnerabilities
CVE-2025-68190

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

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 5.10.271, 5.15.222, 6.1.189, 6.6.158, 6.12.58, and 1 more
None on Exploit-DB, Metasploit or GitHub

Summary

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.

Timeline

  1. CVE published
  2. Record last updated

Affected versions

  • Linux Linux

    From d38ceaf99ed015f2a0b9af3499791bd3a3daae21 · fixed in 0b52e3192181b4de58844faedd2928e5c6ca0e06; From d38ceaf99ed015f2a0b9af3499791bd3a3daae21 · fixed in 47252c7d5559d8776ad336be9c955d8404e7ae69; From d38ceaf99ed015f2a0b9af3499791bd3a3daae21 · fixed in 88d198836f628c57536c6c71d13e90c5d15fbf1a; From d38ceaf99ed015f2a0b9af3499791bd3a3daae21 · fixed in 73853208a497a036596dcf9efbff8ce927651d3a; From d38ceaf99ed015f2a0b9af3499791bd3a3daae21 · fixed in 35f3fb86bb0158a298d6834e7e110dcaf07f490c; From d38ceaf99ed015f2a0b9af3499791bd3a3daae21 · fixed in 997e28d3d00a1d30649629515e4402612921205b; From d38ceaf99ed015f2a0b9af3499791bd3a3daae21 · fixed in cc9a8e238e42c1f43b98c097995137d644b69245

  • Linux Linux

    4.2

  • KernelLinux

    From 4.2.0 · fixed in 5.10.271; From 5.11.0 · fixed in 5.15.222; From 5.16.0 · fixed in 6.1.189; From 6.2.0 · fixed in 6.6.158; From 6.7.0 · fixed in 6.12.58; From 6.13.0 · fixed in 6.17.8

References 7

git.kernel.org