FKIE_CVE-2026-99622

Vulnerability from fkie_nvd - Published: 2026-11-20 06:17 - Updated: 2026-11-20 06:17
Severity
Summary
In the Linux kernel, the following vulnerability has been resolved: drm/amdgpu: drop the dma-buf reference when a KFD import fails import_obj_create() takes a reference on the dma-buf for the new kgd_mem, but the error path after validating the BO doesn't drop it. Since the validation reserves the BO interruptibly, an import failing with -ERESTARTSYS leaks the exported BO with its memory, and keeps the module in use. Importing a 64 MiB VRAM BO in a loop while getting SIGUSR1 every 20 us and another thread changes the BO's mappings: INFO: 171821 imports, VRAM used before 65 MiB, after 129 MiB modprobe: FATAL: Module amdgpu is in use. Drop the reference, and free the sync object and the mutex of the kgd_mem as well. With that VRAM usage returns to 65 MiB after the same test. (cherry picked from commit b4d1eca2729840148ff2ea957724ce764ca5a94e)
Impacted products
Vendor Product Version

{
  "affected": [
    {
      "affectedData": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "a2654cbb6a2244d8200e0505612f03bf36af2908",
              "status": "affected",
              "version": "0e2e7c5b3d712f4589b3bf0eb2988337966648b6",
              "versionType": "git"
            },
            {
              "lessThan": "6f300412649edf42e0eb232334a84764cd945118",
              "status": "affected",
              "version": "0e2e7c5b3d712f4589b3bf0eb2988337966648b6",
              "versionType": "git"
            },
            {
              "lessThan": "1e65f78269a95052c2de91b4a14ee83f3e780828",
              "status": "affected",
              "version": "0e2e7c5b3d712f4589b3bf0eb2988337966648b6",
              "versionType": "git"
            },
            {
              "lessThan": "fb900f8bfd8a16126affd186d21001e4c6533324",
              "status": "affected",
              "version": "0e2e7c5b3d712f4589b3bf0eb2988337966648b6",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "6.7"
            },
            {
              "lessThan": "6.7",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.12.*",
              "status": "unaffected",
              "version": "6.12.118",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.18.*",
              "status": "unaffected",
              "version": "6.18.64",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "7.3.*",
              "status": "unaffected",
              "version": "7.3.5",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "7.4-rc2",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    }
  ],
  "cveTags": [],
  "descriptions": [
    {
      "lang": "en",
      "value": "In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/amdgpu: drop the dma-buf reference when a KFD import fails\n\nimport_obj_create() takes a reference on the dma-buf for the new kgd_mem,\nbut the error path after validating the BO doesn\u0027t drop it. Since the\nvalidation reserves the BO interruptibly, an import failing with\n-ERESTARTSYS leaks the exported BO with its memory, and keeps the module\nin use.\n\nImporting a 64 MiB VRAM BO in a loop while getting SIGUSR1\nevery 20 us and another thread changes the BO\u0027s mappings:\n\n  INFO: 171821 imports, VRAM used before 65 MiB, after 129 MiB\n  modprobe: FATAL: Module amdgpu is in use.\n\nDrop the reference, and free the sync object and the mutex of the kgd_mem\nas well. With that VRAM usage returns to 65 MiB after the same test.\n\n(cherry picked from commit b4d1eca2729840148ff2ea957724ce764ca5a94e)"
    }
  ],
  "id": "CVE-2026-99622",
  "lastModified": "2026-11-20T06:17:54.873",
  "metrics": {},
  "published": "2026-11-20T06:17:54.873",
  "references": [
    {
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
      "url": "https://git.kernel.org/stable/c/1e65f78269a95052c2de91b4a14ee83f3e780828"
    },
    {
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
      "url": "https://git.kernel.org/stable/c/6f300412649edf42e0eb232334a84764cd945118"
    },
    {
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
      "url": "https://git.kernel.org/stable/c/a2654cbb6a2244d8200e0505612f03bf36af2908"
    },
    {
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
      "url": "https://git.kernel.org/stable/c/fb900f8bfd8a16126affd186d21001e4c6533324"
    }
  ],
  "sourceIdentifier": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
  "vulnStatus": "Received"
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.

Loading…

Loading…

Loading…

Related by attack behaviour

Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.


Loading…