Skip to content
Heist/ feed
High

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

Type: advisorySource: Official CVE List1 source record

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.

Announced Group revision 1
Original source ↗

CVE-2026-89808

Primary source · Revision 1

Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.

Security context

Source reference: cve:CVE-2026-89808

Linux

Source reference: /containers/cna/affected/0/product

Affected versions
Not stated in this record
Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

Linux

Source reference: /containers/cna/affected/1/product

Affected versions
Not stated in this record
Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

Structured affected-version data

Original package identities and version rules from this source.

[
  {
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "vendor": "Linux",
    "product": "Linux",
    "versions": [
      {
        "status": "affected",
        "version": "50ea50cf6f6d31d3235ad1853c5dbea766a3ed11",
        "lessThan": "6e1a6f3ddb87d7f89a775c55fb399680c02bdcc2",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "50ea50cf6f6d31d3235ad1853c5dbea766a3ed11",
        "lessThan": "bd1adb2e5101db649121b59e601c92773a302a70",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "50ea50cf6f6d31d3235ad1853c5dbea766a3ed11",
        "lessThan": "ae806a95b28fcecb913430cfa45a252e91a945d6",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "50ea50cf6f6d31d3235ad1853c5dbea766a3ed11",
        "lessThan": "0a9a0e8a97da70a0336c9115178aaf1be29bcfb1",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "50ea50cf6f6d31d3235ad1853c5dbea766a3ed11",
        "lessThan": "520e345ffe05aabef1db82beda4288afb1757ff2",
        "versionType": "git"
      }
    ],
    "programFiles": [
      "drivers/gpu/drm/amd/amdkfd/kfd_migrate.c"
    ],
    "defaultStatus": "unaffected"
  },
  {
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "vendor": "Linux",
    "product": "Linux",
    "versions": [
      {
        "status": "affected",
        "version": "5.14"
      },
      {
        "status": "unaffected",
        "version": "0",
        "lessThan": "5.14",
        "versionType": "semver"
      },
      {
        "status": "unaffected",
        "version": "6.6.160",
        "versionType": "semver",
        "lessThanOrEqual": "6.6.*"
      },
      {
        "status": "unaffected",
        "version": "6.12.114",
        "versionType": "semver",
        "lessThanOrEqual": "6.12.*"
      },
      {
        "status": "unaffected",
        "version": "6.18.51",
        "versionType": "semver",
        "lessThanOrEqual": "6.18.*"
      },
      {
        "status": "unaffected",
        "version": "7.2.5",
        "versionType": "semver",
        "lessThanOrEqual": "7.2.*"
      },
      {
        "status": "unaffected",
        "version": "7.3",
        "versionType": "original_commit_for_fix",
        "lessThanOrEqual": "*"
      }
    ],
    "programFiles": [
      "drivers/gpu/drm/amd/amdkfd/kfd_migrate.c"
    ],
    "defaultStatus": "affected"
  }
]
Related CVEs
CVE-2026-89808

Source reference: /cveMetadata/cveId

Publisher severity

high

Source reference: /containers/cna/metrics

Event
#48549 · Revision 1
Added to Heist Feed
Publisher date
Read the original announcement