Re: [PATCH v3 1/3] drm/amdgpu: Fix out-of-bounds issue in user fence

2024-12-20 Thread Paneer Selvam, Arunpravin
On 12/20/2024 4:08 PM, Christian König wrote: Hi Arun, Am 20.12.24 um 11:34 schrieb Paneer Selvam, Arunpravin: Hi Christian, On 12/19/2024 4:11 PM, Christian König wrote: Am 19.12.24 um 11:38 schrieb Arunpravin Paneer Selvam: Fix out-of-bounds issue in userq fence create when accessin

Re: [PATCH v3 1/3] drm/amdgpu: Fix out-of-bounds issue in user fence

2024-12-20 Thread Christian König
Hi Arun, Am 20.12.24 um 11:34 schrieb Paneer Selvam, Arunpravin: Hi Christian, On 12/19/2024 4:11 PM, Christian König wrote: Am 19.12.24 um 11:38 schrieb Arunpravin Paneer Selvam: Fix out-of-bounds issue in userq fence create when accessing the userq xa structure. Added a lock to protect t

Re: [PATCH v3 1/3] drm/amdgpu: Fix out-of-bounds issue in user fence

2024-12-20 Thread Paneer Selvam, Arunpravin
Hi Christian, On 12/19/2024 4:11 PM, Christian König wrote: Am 19.12.24 um 11:38 schrieb Arunpravin Paneer Selvam: Fix out-of-bounds issue in userq fence create when accessing the userq xa structure. Added a lock to protect the race condition. v2:(Christian)    - Acquire xa lock only for th

Re: [PATCH v3 1/3] drm/amdgpu: Fix out-of-bounds issue in user fence

2024-12-19 Thread Christian König
Am 19.12.24 um 11:38 schrieb Arunpravin Paneer Selvam: Fix out-of-bounds issue in userq fence create when accessing the userq xa structure. Added a lock to protect the race condition. v2:(Christian) - Acquire xa lock only for the xa_for_each blocks and not for the kvmalloc_array() mem

[PATCH v3 1/3] drm/amdgpu: Fix out-of-bounds issue in user fence

2024-12-19 Thread Arunpravin Paneer Selvam
Fix out-of-bounds issue in userq fence create when accessing the userq xa structure. Added a lock to protect the race condition. v2:(Christian) - Acquire xa lock only for the xa_for_each blocks and not for the kvmalloc_array() memory allocation part. v3: - Replacing the kvmalloc_array() s