CVE-2023-52825 drm/amdkfd: Fix a race condition of vram buffer unref in svm code
A race condition in the Linux kernel's AMD GPU driver can lead to use-after-free, potentially allowing code execution or system crashes.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2023-52825?
CVE-2023-52825 is a high-severity vulnerability in Linux kernel, published on 21 May 2024. It can only be exploited from the same machine or local network, with no action from the victim.
Official description
In the Linux kernel, the following vulnerability has been resolved:
drm/amdkfd: Fix a race condition of vram buffer unref in svm code
prange->svm_bo unref can happen in both mmu callback and a callback after migrate to system ram. Both are async call in different tasks. Sync svm_bo unref operation to avoid random "use-after-free".
Weakness: CWE-362
Which versions are affected by CVE-2023-52825?
It affects 1 product.
Products include Linux kernel.
How do I fix CVE-2023-52825?
Apply the vendor's patch.
Is CVE-2023-52825 being exploited?
There is no known exploitation of CVE-2023-52825 in the wild and no public exploit code.
Other vulnerabilities in Linux kernel
Sources
Also known as BELL-CVE-2023-52825, DEBIAN-CVE-2023-52825, GHSA-m9gp-fqr3-w459, UBUNTU-CVE-2023-52825.