CVE-2023-52825

drm/amdkfd: Fix a race condition of vram buffer unref in svm code

HIGH
7.8
CVSS Score
Published: May 21, 2024 at 03:31 PM UTC
Updated: August 5, 2026 at 10:24 AM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
HIGH7.8
Exploit prediction
EPSS 0.2%
SSVC
No known exploit

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

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

v < 5.15.1405.14 ≤ v < 5.15.1405.14 ≤ v < 6.1.645.14 ≤ v < 6.5.135.14 ≤ v < 6.6.35.14 ≤ v < 6.75.16 ≤ v < 6.1.646.2 ≤ v < 6.5.136.6 ≤ v < 6.6.35.14e49fe4040a10c1cd3b215c511f658d15aa7c8be9
Vendor states this is fixed in 50f35a907c4f9ed431fd3dbb8b871ef1cbb0718e (fixed)
Vendor states this is fixed in 709c348261618da7ed89d6c303e2ceb9e453ba74 (fixed)
Vendor states this is fixed in 7d43cdd22cd81a2b079e864c4321b9aba4c6af34 (fixed)
Vendor states this is fixed in c772eacbd6d0845fc922af8716bb9d29ae27b8cf (fixed)
Vendor states this is fixed in fc0210720127cc6302e6d6f3de48f49c3fcf5659 (fixed)
Vendor states this is fixed in 5.14 (unaffected)
Vendor states this is fixed in 5.15.140 (unaffected)
Vendor states this is fixed in 6.1.64 (unaffected)
Vendor states this is fixed in 6.5.13 (unaffected)
Vendor states this is fixed in 6.6.3 (unaffected)
Vendor states this is fixed in 6.7 (unaffected)

References (5)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/50f35a907c4f9ed431fd3dbb8b871ef1cbb0718e
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/709c348261618da7ed89d6c303e2ceb9e453ba74
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/7d43cdd22cd81a2b079e864c4321b9aba4c6af34
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/c772eacbd6d0845fc922af8716bb9d29ae27b8cf
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/fc0210720127cc6302e6d6f3de48f49c3fcf5659

SSVC — Action Prioritization

SSVCNo known exploitNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

7.8HIGHLinux
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-362

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card