CVE-2026-63885
published high CVSS 3.1 · 8.8drm/gem: fix race between change_handle and handle_delete
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linux672464dd53231509c9c771110798c56d4660e19e to < 0dfa42cfe4dbe114533480503934f43e33c1e83d · 61bd96d3e5472c253f9c1ab77608f0c8aaa9d025 to < cde2c9257cbe8463b9dcf7b1075177b72b5fd938 · 5e28b7b94408897e41c63477aabc9e1db439bc8c to < 7164d78559b0ff29931a366a840a9e5dd53d4b7c · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux6.18.32 to < 6.18.35 · 7.0.9 to < 7.0.12 · Other versions: unaffected | Affected | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2026-1881 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | kernel6.18aarch64 | Listed in advisory | Not stated | ALAS2023-2026-1881 |
| Amazon Linux | AL2023 | kernel6.18src | Listed in advisory | Not stated | ALAS2023-2026-1881 |
| Amazon Linux | AL2023 | kernel6.18x86_64 | Listed in advisory | Not stated | ALAS2023-2026-1881 |
Description
In the Linux kernel, the following vulnerability has been resolved: drm/gem: fix race between change_handle and handle_delete drm_gem_change_handle_ioctl leaves the old handle live in the IDR during the window between spin_unlock(table_lock) and the final spin_lock(table_lock). A concurrent drm_gem_handle_delete on the old handle succeeds in this window, decrements handle_count to 0, and frees the GEM object while the new handle's IDR entry still references it. NULL the old handle's IDR entry before dropping table_lock so that any concurrent GEM_CLOSE on the old handle sees NULL and returns -EINVAL. Restore the old entry on the prime-bookkeeping error path.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 8.8 / 10
- Severity
- high
- Provider
- Linux · cna
- Vector string
- CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
- Scenarios
- en: AV:L - Exploitation requires local ioctl calls on /dev/dri/renderD* or /dev/dri/card* through DRM_IOCTL_GEM_CHANGE_HANDLE and DRM_IOCTL_GEM_CLOSE; there is no network-facing path to this code. AC:L - The attacker controls both racing threads from the same process (one issuing GEM_CHANGE_HANDLE, one issuing GEM_CLOSE on the old handle) and can repeat until the window is hit; this is a self-induced race, not one dependent on external timing. PR:L - Only DRM_RENDER_ALLOW is required, available to unprivileged local users with access to a render node (common on desktops, Android, browsers' GPU processes, and cloud GPU instances); no CAP_SYS_ADMIN or init-namespace root is needed. UI:N - No victim interaction is required beyond the attacker already having render-node access; the race is triggered entirely by the attacker's own concurrent ioctl calls. S:C - Successful exploitation crosses from a sandboxed application security boundary (browser GPU process, Android app sandbox, or container with passed-through GPU device) into kernel memory, enabling privilege escalation beyond the attacker's original security scope. C:H - The bug is a GEM object use-after-free; freed kernel heap objects can be reallocated and dereferenced via subsequent GEM operations, enabling arbitrary kernel memory disclosure. I:H - Use-after-free of a drm_gem_object allows heap grooming and corruption of reallocated objects, providing a standard path to arbitrary kernel write and local privilege escalation/code execution. A:H - The race can free a GEM object still referenced by ioctl state, causing kernel oops/panic on dereference of freed memory; UAF bugs also carry inherent crash risk even before full exploitation.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | 672464dd53231509c9c771110798c56d4660e19e to < 0dfa42cfe4dbe114533480503934f43e33c1e83d (affected · git)61bd96d3e5472c253f9c1ab77608f0c8aaa9d025 to < cde2c9257cbe8463b9dcf7b1075177b72b5fd938 (affected · git)5e28b7b94408897e41c63477aabc9e1db439bc8c to < 7164d78559b0ff29931a366a840a9e5dd53d4b7c (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 6.18.32 to < 6.18.35 (affected · semver)7.0.9 to < 7.0.12 (affected · semver)Default: unaffected | Linux · cna |
Weaknesses
1- CWE-362 CWE-362 Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition')
References
3Provider assertions
2Linux · cna
drm/gem: fix race between change_handle and handle_delete
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 59b504b3aae4812cb58a7a2c5a3987c2e82809a5a75705bcd25b03f46dbdc8e8
- Ingested
- 19 Oct 2026, 20:33:47 UTC
- Source record
- Official CVE record