# CVE-2023-52825: drm/amdkfd: Fix a race condition of vram buffer unref in svm code

- Severity: High 7.8 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.18%, higher than 8% of CVEs (2026-12-01)
- Published: 2024-05-21T15:31:29.517Z
- Modified: 2026-08-05T09:11:33.235Z
- Weaknesses: CWE-362
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## 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".

(As written by CVE List.)

## Affected

- Linux Linux: from e49fe4040a10c1cd3b215c511f658d15aa7c8be9 before 7d43cdd22cd81a2b079e864c4321b9aba4c6af34; from e49fe4040a10c1cd3b215c511f658d15aa7c8be9 before 50f35a907c4f9ed431fd3dbb8b871ef1cbb0718e; from e49fe4040a10c1cd3b215c511f658d15aa7c8be9 before c772eacbd6d0845fc922af8716bb9d29ae27b8cf; from e49fe4040a10c1cd3b215c511f658d15aa7c8be9 before fc0210720127cc6302e6d6f3de48f49c3fcf5659; from e49fe4040a10c1cd3b215c511f658d15aa7c8be9 before 709c348261618da7ed89d6c303e2ceb9e453ba74; 5.14 (not affected: before 5.14; from 5.15.140 up to 5.15.*; from 6.1.64 up to 6.1.*; from 6.5.13 up to 6.5.*; from 6.6.3 up to 6.6.*; from 6.7 up to *)
- linux linux_kernel: before 5.15.140; from 5.16 before 6.1.64; from 6.2 before 6.5.13; from 6.6 before 6.6.3

## Every score

- Linux: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- CISA-ADP: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://git.kernel.org/stable/c/7d43cdd22cd81a2b079e864c4321b9aba4c6af34> (patch)
- <https://git.kernel.org/stable/c/50f35a907c4f9ed431fd3dbb8b871ef1cbb0718e> (patch)
- <https://git.kernel.org/stable/c/c772eacbd6d0845fc922af8716bb9d29ae27b8cf> (patch)
- <https://git.kernel.org/stable/c/fc0210720127cc6302e6d6f3de48f49c3fcf5659> (patch)
- <https://git.kernel.org/stable/c/709c348261618da7ed89d6c303e2ceb9e453ba74> (patch)

## Sources

- CVE List: [CVE-2023-52825](https://www.cve.org/CVERecord?id=CVE-2023-52825), CVE Terms of Use, modified 2026-08-05
- NVD: [CVE-2023-52825](https://nvd.nist.gov/vuln/detail/CVE-2023-52825), Public domain, modified 2026-08-04

---

Page: https://cve.day/CVE-2023-52825 · Whole record: https://cve.day/CVE-2023-52825.json · Rebuilt by cve.day 2026-11-25T22:58:34.040Z
