Linux
drm/amdgpu/userq: fix access to stale wptr mapping
In the Linux kernel, the following vulnerability has been resolved: 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. (cherry picked from commit 1fc6c8ab45dbee096469c08c13f6099d57a52d6c)
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= 5fb2f7fc21a3668e5794cc0d153641b9719713e1, < 2da62dbb4169e758c0b1a9378b39a373bf4fb111
- >= 5fb2f7fc21a3668e5794cc0d153641b9719713e1, < 336a9186f3a4b65bbd865d93936605ac8a1a3991
- >= 5fb2f7fc21a3668e5794cc0d153641b9719713e1, < 6da7b1242da4455b11c24ce667d1cab1a348c8ea
Fixed in 2da62dbb4169e758c0b1a9378b39a373bf4fb111, 336a9186f3a4b65bbd865d93936605ac8a1a3991, 6da7b1242da4455b11c24ce667d1cab1a348c8ea
- 6.16
Fixed in 0, 6.18.57, 7.0.9, 7.1
Mitigation
Upgrade Linux to 2da62dbb4169e758c0b1a9378b39a373bf4fb111 or 336a9186f3a4b65bbd865d93936605ac8a1a3991 or 6da7b1242da4455b11c24ce667d1cab1a348c8ea or later.
Upgrade Linux to 0 or 6.18.57 or 7.0.9 or 7.1 or later.
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.