CVE-2025-68190
JSON

Not scored

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

Severity
Not scored
Exploit likelihood
0.22% (higher than 13% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Linux

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

Product or packageVersionsReported by
Linux Linuxfrom d38ceaf99ed015f2a0b9af3499791bd3a3daae21 before 0b52e3192181b4de58844faedd2928e5c6ca0e06, from d38ceaf99ed015f2a0b9af3499791bd3a3daae21 before 47252c7d5559d8776ad336be9c955d8404e7ae69, from d38ceaf99ed015f2a0b9af3499791bd3a3daae21 before 88d198836f628c57536c6c71d13e90c5d15fbf1a, from d38ceaf99ed015f2a0b9af3499791bd3a3daae21 before 73853208a497a036596dcf9efbff8ce927651d3a, from d38ceaf99ed015f2a0b9af3499791bd3a3daae21 before 35f3fb86bb0158a298d6834e7e110dcaf07f490c, from d38ceaf99ed015f2a0b9af3499791bd3a3daae21 before 997e28d3d00a1d30649629515e4402612921205b, from d38ceaf99ed015f2a0b9af3499791bd3a3daae21 before cc9a8e238e42c1f43b98c097995137d644b69245, 4.2
Not affected: before 4.2, from 5.10.271 up to 5.10.*, from 5.15.222 up to 5.15.*, from 6.1.189 up to 6.1.*, from 6.6.158 up to 6.6.*, from 6.12.58 up to 6.12.*
CVE List

What each source says

CVE List

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.

NVD (es)

En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta: drm/amdgpu/atom: Verificar kcalloc() para el búfer WS en amdgpu_atom_execute_table_locked() kcalloc() puede fallar. Cuando WS no es cero y la asignación falla, ectx.ws permanece NULL mientras que ectx.ws_size está establecido, lo que lleva a una potencial desreferencia de puntero NULL en atom_get_src_int() al acceder a las entradas WS. Devolver -ENOMEM en caso de fallo de asignación para evitar la desreferencia NULL.

References

Sources

SourceRecordLicence
CVE ListCVE-2025-68190 changed 2026-10-03CVE Terms of Use
NVDCVE-2025-68190 changed 2026-10-14Public domain