What happened
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 versions
Linux: d38ceaf99ed015f2a0b9af3499791bd3a3daae21 through before 0b52e3192181b4de58844faedd2928e5c6ca0e06 (git); d38ceaf99ed015f2a0b9af3499791bd3a3daae21 through before 47252c7d5559d8776ad336be9c955d8404e7ae69 (git); d38ceaf99ed015f2a0b9af3499791bd3a3daae21 through before 88d198836f628c57536c6c71d13e90c5d15fbf1a (git); d38ceaf99ed015f2a0b9af3499791bd3a3daae21 through before 73853208a497a036596dcf9efbff8ce927651d3a (git); d38ceaf99ed015f2a0b9af3499791bd3a3daae21 through before 35f3fb86bb0158a298d6834e7e110dcaf07f490c (git); d38ceaf99ed015f2a0b9af3499791bd3a3daae21 through before 997e28d3d00a1d30649629515e4402612921205b (git); d38ceaf99ed015f2a0b9af3499791bd3a3daae21 through before cc9a8e238e42c1f43b98c097995137d644b69245 (git); 4.2 Fixed: See vendor advisory.
Why it matters
Review the vendor advisory and exposure of the affected product to determine operational impact.
Detection & mitigation
- Apply vendor-provided updates or mitigations.
- Review affected product exposure and access logs.
Public PoC references
No public PoC reference has passed the current publication threshold.