{
  "id": "CVE-2026-63885",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-63885",
  "published_at": "2026-07-19T14:54:58.59Z",
  "title": "drm/gem: fix race between change_handle and handle_delete",
  "vendor": "Linux",
  "product": "Linux",
  "cvss": {
    "score": 8.8,
    "source": "cna",
    "vector": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/gem: fix race between change_handle and handle_delete\n\ndrm_gem_change_handle_ioctl leaves the old handle live in the IDR\nduring the window between spin_unlock(table_lock) and the final\nspin_lock(table_lock). A concurrent drm_gem_handle_delete on the old\nhandle succeeds in this window, decrements handle_count to 0, and frees\nthe GEM object while the new handle's IDR entry still references it.\n\nNULL the old handle's IDR entry before dropping table_lock so that any\nconcurrent GEM_CLOSE on the old handle sees NULL and returns -EINVAL.\nRestore the old entry on the prime-bookkeeping error path.",
  "cwe": "CWE-362",
  "cpes": [
    "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:7.1:rc3:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:7.1:rc4:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:7.1:rc5:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "cna": 8.8
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "\u003e= 672464dd53231509c9c771110798c56d4660e19e, \u003c 0dfa42cfe4dbe114533480503934f43e33c1e83d",
          "\u003e= 61bd96d3e5472c253f9c1ab77608f0c8aaa9d025, \u003c cde2c9257cbe8463b9dcf7b1075177b72b5fd938",
          "\u003e= 5e28b7b94408897e41c63477aabc9e1db439bc8c, \u003c 7164d78559b0ff29931a366a840a9e5dd53d4b7c"
        ],
        "fixed_in": [
          "0dfa42cfe4dbe114533480503934f43e33c1e83d",
          "cde2c9257cbe8463b9dcf7b1075177b72b5fd938",
          "7164d78559b0ff29931a366a840a9e5dd53d4b7c"
        ]
      },
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "\u003e= 6.18.32, \u003c 6.18.35",
          "\u003e= 7.0.9, \u003c 7.0.12"
        ],
        "fixed_in": [
          "6.18.35",
          "7.0.12"
        ]
      }
    ],
    "upgrade": [
      "Upgrade Linux to 0dfa42cfe4dbe114533480503934f43e33c1e83d or cde2c9257cbe8463b9dcf7b1075177b72b5fd938 or 7164d78559b0ff29931a366a840a9e5dd53d4b7c or later.",
      "Upgrade Linux to 6.18.35 or 7.0.12 or later."
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
