CVE-2025-68190 drm/amdgpu/atom: Check kcalloc() for WS buffer in amdgpu_atom_execute_table_locked()
설명
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.
영향 받는 제품 제품 1개
-
해결 버전 있음
Linux
Linux
영향 받는 버전
- 4.2
해결 버전
- 4.2 미만
- 5.10.271 이상
- 5.15.222 이상
- 6.1.189 이상
- 6.6.158 이상
- 6.12.58 이상
- 6.17.8 이상
참고 자료 7건
- git.kernel.org https://git.kernel.org/stable/c/0b52e3192181b4de58844faedd2928e5c6ca0e06 (새 창)
- git.kernel.org https://git.kernel.org/stable/c/35f3fb86bb0158a298d6834e7e110dcaf07f490c (새 창)
- git.kernel.org https://git.kernel.org/stable/c/47252c7d5559d8776ad336be9c955d8404e7ae69 (새 창)
- git.kernel.org https://git.kernel.org/stable/c/73853208a497a036596dcf9efbff8ce927651d3a (새 창)
- git.kernel.org https://git.kernel.org/stable/c/88d198836f628c57536c6c71d13e90c5d15fbf1a (새 창)
- git.kernel.org https://git.kernel.org/stable/c/997e28d3d00a1d30649629515e4402612921205b (새 창)
- git.kernel.org https://git.kernel.org/stable/c/cc9a8e238e42c1f43b98c097995137d644b69245 (새 창)