CVE-2025-68190

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.

Affected Software

VendorProductVersion RangeStatus
LinuxLinuxd38ceaf99ed015f2a0b9af3499791bd3a3daae21 < 35f3fb86bb0158a298d6834e7e110dcaf07f490caffected
LinuxLinuxd38ceaf99ed015f2a0b9af3499791bd3a3daae21 < 997e28d3d00a1d30649629515e4402612921205baffected
LinuxLinuxd38ceaf99ed015f2a0b9af3499791bd3a3daae21 < cc9a8e238e42c1f43b98c097995137d644b69245affected
LinuxLinux4.2affected
LinuxLinux0 < 4.2unaffected
LinuxLinux6.12.58 <= 6.12.*unaffected
LinuxLinux6.17.8 <= 6.17.*unaffected
LinuxLinux6.18 <= *unaffected

Weaknesses

References