drm/amdgpu/atom: Check kcalloc() for WS buffer in amdgpu_atom_execute_table_locked()
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 0b52e3192181b4de58844faedd2928e5c6ca0e06, Kernel 35f3fb86bb0158a298d6834e7e110dcaf07f490c, Kernel 47252c7d5559d8776ad336be9c955d8404e7ae69 and 4 more.
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
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | =4.2, >=d38ceaf99ed015f2a0b9af3499791bd3a3daae21 <0b52e3192181b4de58844faedd2928e5c6ca0e06, >=d38ceaf99ed015f2a0b9af3499791bd3a3daae21 <35f3fb86bb0158a298d6834e7e110dcaf07f490c, >=d38ceaf99ed015f2a0b9af3499791bd3a3daae21 <47252c7d5559d8776ad336be9c955d8404e7ae69, >=d38ceaf99ed015f2a0b9af3499791bd3a3daae21 <73853208a497a036596dcf9efbff8ce927651d3a, >=d38ceaf99ed015f2a0b9af3499791bd3a3daae21 <88d198836f628c57536c6c71d13e90c5d15fbf1a, >=d38ceaf99ed015f2a0b9af3499791bd3a3daae21 <997e28d3d00a1d30649629515e4402612921205b, >=d38ceaf99ed015f2a0b9af3499791bd3a3daae21 <cc9a8e238e42c1f43b98c097995137d644b69245 | 0b52e3192181b4de58844faedd2928e5c6ca0e06, 35f3fb86bb0158a298d6834e7e110dcaf07f490c, 47252c7d5559d8776ad336be9c955d8404e7ae69, 73853208a497a036596dcf9efbff8ce927651d3a, 88d198836f628c57536c6c71d13e90c5d15fbf1a, 997e28d3d00a1d30649629515e4402612921205b, cc9a8e238e42c1f43b98c097995137d644b69245 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket