drm/amdkfd: Fix the case that vm range is hole at svm_migrate_copy_to_vram (Linux Linux)

CVE-2026-89808
HIGH 7.8

En bref

Source
NVD
EPSS
EPSS 0.19 % · centile 9 ()
État
PUBLISHED
Publiée
Mise à jour
Attribuée par
Linux
Produits affectés
Linux · Linux
Statut NVD
Received

Description

In the Linux kernel, the following vulnerability has been resolved: drm/amdkfd: Fix the case that vm range is hole at svm_migrate_copy_to_vram When migration vm range is hole at cpu side(MIGRATE_PFN_MIGRATE set + MIGRATE_PFN_VALID unset) driver still allocates device pages. There is no dma map of src pages and migration. j is 0 and svm_migrate_copy_memory_gart() will return an uninitialized r. That can trigger out_free_vram_pages to drop all VRAM just set up. Initialize r and only call the last svm_migrate_copy_memory_gart if j > 0. Current code postponed the last page to the final copy. This patch flushes on the last page when reach to the end of current drm_buddy_block; avoids another svm_migrate_copy_memory_gart.

Références

Scores

VersionScoreVecteurÉvalué par
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.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)

Références européennes

Avis du CERT-FR

Produits affectés

ProduitVersions affectées
Linux · Linux
affectée : ≥ 50ea50cf6f6d31d3235ad1853c5dbea766a3ed11 < d5872c81c70163a3ba9eb4da9a94c92b03067576
affectée : ≥ 50ea50cf6f6d31d3235ad1853c5dbea766a3ed11 < 6e1a6f3ddb87d7f89a775c55fb399680c02bdcc2
affectée : ≥ 50ea50cf6f6d31d3235ad1853c5dbea766a3ed11 < bd1adb2e5101db649121b59e601c92773a302a70
affectée : ≥ 50ea50cf6f6d31d3235ad1853c5dbea766a3ed11 < ae806a95b28fcecb913430cfa45a252e91a945d6
affectée : ≥ 50ea50cf6f6d31d3235ad1853c5dbea766a3ed11 < 0a9a0e8a97da70a0336c9115178aaf1be29bcfb1
affectée : ≥ 50ea50cf6f6d31d3235ad1853c5dbea766a3ed11 < 520e345ffe05aabef1db82beda4288afb1757ff2
Autres versions : non affectée
Linux · Linux
affectée : 5.14
non affectée : ≥ 0 < 5.14
non affectée : ≥ 6.1.191 ≤ 6.1.*
non affectée : ≥ 6.6.160 ≤ 6.6.*
non affectée : ≥ 6.12.114 ≤ 6.12.*
non affectée : ≥ 6.18.51 ≤ 6.18.*
non affectée : ≥ 7.2.5 ≤ 7.2.*
non affectée : ≥ 7.3 ≤ *
Autres versions : affectée

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