{"id":"CVE-2026-89808","aliases":["CVE-2026-89808"],"related":[],"kind":"vulnerability","state":"published","title":"drm/amdkfd: Fix the case that vm range is hole at svm_migrate_copy_to_vram","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/amdkfd: Fix the case that vm range is hole at svm_migrate_copy_to_vram\n\nWhen migration vm range is hole at cpu side(MIGRATE_PFN_MIGRATE set +\nMIGRATE_PFN_VALID unset) driver still allocates device pages. There is no\ndma map of src pages and migration. j is 0 and svm_migrate_copy_memory_gart()\nwill return an uninitialized r. That can trigger out_free_vram_pages to drop\nall VRAM just set up.\n\nInitialize r and only call the last svm_migrate_copy_memory_gart if j > 0.\n\nCurrent code postponed the last page to the final copy. This patch flushes on\nthe last page when reach to the end of current drm_buddy_block; avoids another\nsvm_migrate_copy_memory_gart.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/amdkfd: Fix the case that vm range is hole at svm_migrate_copy_to_vram\n\nWhen migration vm range is hole at cpu side(MIGRATE_PFN_MIGRATE set +\nMIGRATE_PFN_VALID unset) driver still allocates device pages. There is no\ndma map of src pages and migration. j is 0 and svm_migrate_copy_memory_gart()\nwill return an uninitialized r. That can trigger out_free_vram_pages to drop\nall VRAM just set up.\n\nInitialize r and only call the last svm_migrate_copy_memory_gart if j > 0.\n\nCurrent code postponed the last page to the final copy. This patch flushes on\nthe last page when reach to the end of current drm_buddy_block; avoids another\nsvm_migrate_copy_memory_gart.","source":"cvelist"}],"published":"2026-09-16T10:30:41.508Z","modified":"2026-10-30T13:20:29.747Z","severity":{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},"severities":[{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"}],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"50ea50cf6f6d31d3235ad1853c5dbea766a3ed11","fixed":"d5872c81c70163a3ba9eb4da9a94c92b03067576","status":"affected"},{"type":"git","introduced":"50ea50cf6f6d31d3235ad1853c5dbea766a3ed11","fixed":"6e1a6f3ddb87d7f89a775c55fb399680c02bdcc2","status":"affected"},{"type":"git","introduced":"50ea50cf6f6d31d3235ad1853c5dbea766a3ed11","fixed":"bd1adb2e5101db649121b59e601c92773a302a70","status":"affected"},{"type":"git","introduced":"50ea50cf6f6d31d3235ad1853c5dbea766a3ed11","fixed":"ae806a95b28fcecb913430cfa45a252e91a945d6","status":"affected"},{"type":"git","introduced":"50ea50cf6f6d31d3235ad1853c5dbea766a3ed11","fixed":"0a9a0e8a97da70a0336c9115178aaf1be29bcfb1","status":"affected"},{"type":"git","introduced":"50ea50cf6f6d31d3235ad1853c5dbea766a3ed11","fixed":"520e345ffe05aabef1db82beda4288afb1757ff2","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"5.14","status":"affected"},{"type":"semver","introduced":"0","fixed":"5.14","status":"unaffected"},{"type":"semver","introduced":"6.1.191","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.160","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.114","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.51","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.2.5","lastAffected":"7.2.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.3","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/d5872c81c70163a3ba9eb4da9a94c92b03067576","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/6e1a6f3ddb87d7f89a775c55fb399680c02bdcc2","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/bd1adb2e5101db649121b59e601c92773a302a70","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/ae806a95b28fcecb913430cfa45a252e91a945d6","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/0a9a0e8a97da70a0336c9115178aaf1be29bcfb1","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/520e345ffe05aabef1db82beda4288afb1757ff2","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-89808","url":"https://www.cve.org/CVERecord?id=CVE-2026-89808","licence":"CVE Terms of Use","modified":"2026-10-30T12:33:06.729Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-89808","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-89808","licence":"Public domain","modified":"2026-10-30T13:20:29.747Z"}],"updatedAt":"2026-11-25T22:59:38.943Z","epss":{"score":0.00187,"percentile":0.08726,"date":"2026-12-01T12:00:22.000Z"}}