diff options
| author | Sunil Khatri <sunil.khatri@amd.com> | 2026-05-04 15:51:17 +0300 |
|---|---|---|
| committer | Alex Deucher <alexander.deucher@amd.com> | 2026-05-05 17:22:13 +0300 |
| commit | 6da7b1242da4455b11c24ce667d1cab1a348c8ea (patch) | |
| tree | 6623c4ad1ff40ce49d1d0e64722f783f14f30ebf /include/uapi/linux/errqueue.h | |
| parent | 81665e35f143d93adef654f3be1360def9196e72 (diff) | |
| download | linux-6da7b1242da4455b11c24ce667d1cab1a348c8ea.tar.xz | |
drm/amdgpu/userq: fix access to stale wptr mapping
Use drm_exec to take both locks i.e vm root bo and
wptr_obj bo to access the mapping data properly.
This fixes the security issue of unmap the wptr_obj while
a queue creation is in progress and passing other
bo at same address.
Signed-off-by: Sunil Khatri <sunil.khatri@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
(cherry picked from commit 1fc6c8ab45dbee096469c08c13f6099d57a52d6c)
Cc: stable@vger.kernel.org
Diffstat (limited to 'include/uapi/linux/errqueue.h')
0 files changed, 0 insertions, 0 deletions
