CVE-2023-52825

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

HIGH 7.8

At a glance

Source
NVD
EPSS
EPSS 0.18 % · percentile 8 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
NVD status
Modified

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

Weaknesses (CWE)

  • CWE-362 — Concurrent Execution using Shared Resource with Improper Synchronization

References

Scores

VersionScoreVectorScored by
CVSS 3.1HIGH 7.8CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HLinux
CVSS 3.1MEDIUM 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HCISA-ADP
CVSS 3.1HIGH 7.8CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HNVD · 416baaa9-dc9f-4396-8d5f-8c081fb06d67 (Secondary)
CVSS 3.1MEDIUM 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HNVD · 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary)

European references

CERT-FR advisories

Affected configurations (NVD CPE)

Affected products

ProductVersions
Linux · Linuxaffected e49fe4040a10c1cd3b215c511f658d15aa7c8be9 < 7d43cdd22cd81a2b079e864c4321b9aba4c6af34 ; affected e49fe4040a10c1cd3b215c511f658d15aa7c8be9 < 50f35a907c4f9ed431fd3dbb8b871ef1cbb0718e ; affected e49fe4040a10c1cd3b215c511f658d15aa7c8be9 < c772eacbd6d0845fc922af8716bb9d29ae27b8cf ; affected e49fe4040a10c1cd3b215c511f658d15aa7c8be9 < fc0210720127cc6302e6d6f3de48f49c3fcf5659 ; affected e49fe4040a10c1cd3b215c511f658d15aa7c8be9 < 709c348261618da7ed89d6c303e2ceb9e453ba74
Linux · Linuxaffected 5.14 ; unaffected 0 < 5.14 ; unaffected 5.15.140 ≤ 5.15.* ; unaffected 6.1.64 ≤ 6.1.* ; unaffected 6.5.13 ≤ 6.5.* ; unaffected 6.6.3 ≤ 6.6.*

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD