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.

Severity (CVSS)

Base score7.8
SeverityHigh
VersionCVSS 3.1
VectorCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Provided byCNA

Affected products

VendorProductVersions
LinuxLinux1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to <ae806a95b28fcecb913430cfa45a252e91a945d6; 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to <0a9a0e8a97da70a0336c9115178aaf1be29bcfb1; 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to <520e345ffe05aabef1db82beda4288afb1757ff2; 0 to <6.18.51; 0 to <7.2.5
LinuxLinux6.18.51 to <=6.18.*; 7.2.5 to <=7.2.*; 7.3-rc1 to <=*

References

Authoritative sources

This page is a snapshot. For the latest enrichment and updates, view the record on CVE.org or the NVD.

Generated from the official CVE List on 17 Sep 2026 07:04 UTC.