{"id":"CVE-2025-68190","aliases":["CVE-2025-68190"],"related":[],"kind":"vulnerability","state":"published","title":"drm/amdgpu/atom: Check kcalloc() for WS buffer in amdgpu_atom_execute_table_locked()","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/amdgpu/atom: Check kcalloc() for WS buffer in amdgpu_atom_execute_table_locked()\n\nkcalloc() may fail. When WS is non-zero and allocation fails, ectx.ws\nremains NULL while ectx.ws_size is set, leading to a potential NULL\npointer dereference in atom_get_src_int() when accessing WS entries.\n\nReturn -ENOMEM on allocation failure to avoid the NULL dereference.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/amdgpu/atom: Check kcalloc() for WS buffer in amdgpu_atom_execute_table_locked()\n\nkcalloc() may fail. When WS is non-zero and allocation fails, ectx.ws\nremains NULL while ectx.ws_size is set, leading to a potential NULL\npointer dereference in atom_get_src_int() when accessing WS entries.\n\nReturn -ENOMEM on allocation failure to avoid the NULL dereference.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta:\n\ndrm/amdgpu/atom: Verificar kcalloc() para el búfer WS en amdgpu_atom_execute_table_locked()\n\nkcalloc() 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.\n\nDevolver -ENOMEM en caso de fallo de asignación para evitar la desreferencia NULL.","source":"nvd"}],"published":"2025-12-16T13:43:12.297Z","modified":"2026-10-14T13:10:00.187Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"d38ceaf99ed015f2a0b9af3499791bd3a3daae21","fixed":"0b52e3192181b4de58844faedd2928e5c6ca0e06","status":"affected"},{"type":"git","introduced":"d38ceaf99ed015f2a0b9af3499791bd3a3daae21","fixed":"47252c7d5559d8776ad336be9c955d8404e7ae69","status":"affected"},{"type":"git","introduced":"d38ceaf99ed015f2a0b9af3499791bd3a3daae21","fixed":"88d198836f628c57536c6c71d13e90c5d15fbf1a","status":"affected"},{"type":"git","introduced":"d38ceaf99ed015f2a0b9af3499791bd3a3daae21","fixed":"73853208a497a036596dcf9efbff8ce927651d3a","status":"affected"},{"type":"git","introduced":"d38ceaf99ed015f2a0b9af3499791bd3a3daae21","fixed":"35f3fb86bb0158a298d6834e7e110dcaf07f490c","status":"affected"},{"type":"git","introduced":"d38ceaf99ed015f2a0b9af3499791bd3a3daae21","fixed":"997e28d3d00a1d30649629515e4402612921205b","status":"affected"},{"type":"git","introduced":"d38ceaf99ed015f2a0b9af3499791bd3a3daae21","fixed":"cc9a8e238e42c1f43b98c097995137d644b69245","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"4.2","status":"affected"},{"type":"semver","introduced":"0","fixed":"4.2","status":"unaffected"},{"type":"semver","introduced":"5.10.271","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.222","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.189","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.158","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.58","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.17.8","lastAffected":"6.17.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.18","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/0b52e3192181b4de58844faedd2928e5c6ca0e06","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/47252c7d5559d8776ad336be9c955d8404e7ae69","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/88d198836f628c57536c6c71d13e90c5d15fbf1a","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/73853208a497a036596dcf9efbff8ce927651d3a","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/35f3fb86bb0158a298d6834e7e110dcaf07f490c","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/997e28d3d00a1d30649629515e4402612921205b","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/cc9a8e238e42c1f43b98c097995137d644b69245","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-68190","url":"https://www.cve.org/CVERecord?id=CVE-2025-68190","licence":"CVE Terms of Use","modified":"2026-10-03T10:55:29.539Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-68190","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-68190","licence":"Public domain","modified":"2026-10-14T13:10:00.187Z"}],"updatedAt":"2026-11-25T22:59:09.485Z","epss":{"score":0.00222,"percentile":0.13585,"date":"2026-12-01T12:00:22.000Z"}}