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.
Product status
1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 (git) before 35f3fb86bb0158a298d6834e7e110dcaf07f490c
1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 (git) before 997e28d3d00a1d30649629515e4402612921205b
1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 (git) before cc9a8e238e42c1f43b98c097995137d644b69245
6.12.58 (semver)
6.17.8 (semver)
6.18 (original_commit_for_fix)
References
git.kernel.org/...c/35f3fb86bb0158a298d6834e7e110dcaf07f490c
git.kernel.org/...c/997e28d3d00a1d30649629515e4402612921205b
git.kernel.org/...c/cc9a8e238e42c1f43b98c097995137d644b69245
Data based on CVE®. Copyright © 1999-2025, The MITRE Corporation. All rights reserved.