CVE-2026-99148 (GCVE-0-2026-99148)
Vulnerability from cvelistv5
Published
2026-10-28 10:35
Modified
2026-10-28 10:35
Severity ?
Summary
In the Linux kernel, the following vulnerability has been resolved: drm/amdgpu: keep the eviction fence until the last handle is closed amdgpu_gem_object_close() detaches the user queue eviction fence from the BO before it checks bo_va->ref_count, so closing any handle of a BO removes the fence, even when the file still has another handle to the BO and the bo_va with its GPU mappings stays. The BO can then be evicted without suspending the user queues of the file, which keep accessing it through mappings that are only marked for update. Seen on navi31 with a SDMA user queue: a BO opened twice in the same file (GEM_FLINK + GEM_OPEN) loses its eviction fence when the second handle is closed (traced attach/detach of the fence): attach bo=ffff8c78a6c84c00 GEM_CLOSE handle=7 detach bo=ffff8c78a6c84c00 while handle 6 and the mapping are still in use. Only detach the fence when the last reference to the bo_va goes away, matching amdgpu_gem_object_open(), which attaches it only when the bo_va is created. With this the fence stays until the file is closed. (cherry picked from commit 8387982f03d4026b7dc11b0b5e3118298eee4d6a)
Impacted products
Vendor Product Version
Linux Linux Version: 31f7efcdca4d1caaa3a0babc33377e27e6f9b593
Version: 31f7efcdca4d1caaa3a0babc33377e27e6f9b593
Version: 31f7efcdca4d1caaa3a0babc33377e27e6f9b593
Create a notification for this product.
Show details on NVD website


{
  "containers": {
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "dce8f7f03a47b1744dccf506268f9229b67fab47",
              "status": "affected",
              "version": "31f7efcdca4d1caaa3a0babc33377e27e6f9b593",
              "versionType": "git"
            },
            {
              "lessThan": "6467c4cc83b94850bfea614e9f98276edf9a7c3f",
              "status": "affected",
              "version": "31f7efcdca4d1caaa3a0babc33377e27e6f9b593",
              "versionType": "git"
            },
            {
              "lessThan": "3c44cbcec5eb370713bbd2c315ed7c34d8ccec2b",
              "status": "affected",
              "version": "31f7efcdca4d1caaa3a0babc33377e27e6f9b593",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "6.16"
            },
            {
              "lessThan": "6.16",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.18.*",
              "status": "unaffected",
              "version": "6.18.59",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "7.2.*",
              "status": "unaffected",
              "version": "7.2.13",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "7.3",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.18.59",
                  "versionStartIncluding": "6.16",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.2.13",
                  "versionStartIncluding": "6.16",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.3",
                  "versionStartIncluding": "6.16",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/amdgpu: keep the eviction fence until the last handle is closed\n\namdgpu_gem_object_close() detaches the user queue eviction fence from\nthe BO before it checks bo_va-\u003eref_count, so closing any handle of a BO\nremoves the fence, even when the file still has another handle to the\nBO and the bo_va with its GPU mappings stays. The BO can then be evicted\nwithout suspending the user queues of the file, which keep accessing it\nthrough mappings that are only marked for update.\n\nSeen on navi31 with a SDMA user queue: a BO opened twice in the same\nfile (GEM_FLINK + GEM_OPEN) loses its eviction fence when the second\nhandle is closed (traced attach/detach of the fence):\n\n  attach bo=ffff8c78a6c84c00\n  GEM_CLOSE handle=7\n  detach bo=ffff8c78a6c84c00\n\nwhile handle 6 and the mapping are still in use.\n\nOnly detach the fence when the last reference to the bo_va goes away,\nmatching amdgpu_gem_object_open(), which attaches it only when the\nbo_va is created. With this the fence stays until the file is closed.\n\n(cherry picked from commit 8387982f03d4026b7dc11b0b5e3118298eee4d6a)"
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-10-28T10:35:04.360Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/dce8f7f03a47b1744dccf506268f9229b67fab47"
        },
        {
          "url": "https://git.kernel.org/stable/c/6467c4cc83b94850bfea614e9f98276edf9a7c3f"
        },
        {
          "url": "https://git.kernel.org/stable/c/3c44cbcec5eb370713bbd2c315ed7c34d8ccec2b"
        }
      ],
      "title": "drm/amdgpu: keep the eviction fence until the last handle is closed",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2026-99148",
    "datePublished": "2026-10-28T10:35:04.360Z",
    "dateReserved": "2026-09-25T10:25:14.396Z",
    "dateUpdated": "2026-10-28T10:35:04.360Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2"
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Sightings

Author Source Type Date

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
  • Confirmed: The vulnerability is confirmed from an analyst perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
  • Patched: This vulnerability was successfully patched by the user reporting the sighting.
  • Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
  • Not confirmed: The user expresses doubt about the veracity of the vulnerability.
  • Not patched: This vulnerability was not successfully patched by the user reporting the sighting.


Loading…

Loading…