In the Linux kernel, the following vulnerability has been resolved: drm/gem: fix race between change_handle and handle_delete… (CVE-2026-63885)
A race condition vulnerability in the Linux kernel's drm/gem subsystem was resolved. The issue occurs between the change_handle and handle_delete operations, where the old handle remains live in the IDR during a critical window, allowing a concurrent handle deletion to free the GEM object prematurely. This can lead to use-after-free conditions. The fix nullifies the old handle's IDR entry before releasing the lock to prevent concurrent operations from accessing a freed object.
AI Analysis
Technical Summary
CVE-2026-63885 addresses a race condition in the Linux kernel drm/gem component. Specifically, drm_gem_change_handle_ioctl leaves the old handle live in the IDR between unlocking and re-locking the table_lock spinlock. During this window, a concurrent drm_gem_handle_delete can succeed on the old handle, decrementing handle_count to zero and freeing the GEM object while the new handle's IDR entry still references it. The patch nulls the old handle's IDR entry before releasing the lock to ensure any concurrent GEM_CLOSE operations see a NULL entry and return an error, preventing use-after-free scenarios.
Potential Impact
This vulnerability can cause use-after-free conditions in the drm/gem subsystem of the Linux kernel, potentially leading to system instability or crashes. There is no indication of known exploits in the wild. The impact is limited to kernel memory management within the graphics subsystem.
Mitigation Recommendations
A fix for this race condition has been implemented in the Linux kernel. Users should update to a kernel version that includes this patch. Since no specific patch links or affected versions are provided, check the official Linux kernel advisories or vendor updates for the fixed versions. No additional mitigation is indicated.
In the Linux kernel, the following vulnerability has been resolved: drm/gem: fix race between change_handle and handle_delete… (CVE-2026-63885)
Description
A race condition vulnerability in the Linux kernel's drm/gem subsystem was resolved. The issue occurs between the change_handle and handle_delete operations, where the old handle remains live in the IDR during a critical window, allowing a concurrent handle deletion to free the GEM object prematurely. This can lead to use-after-free conditions. The fix nullifies the old handle's IDR entry before releasing the lock to prevent concurrent operations from accessing a freed object.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-63885 addresses a race condition in the Linux kernel drm/gem component. Specifically, drm_gem_change_handle_ioctl leaves the old handle live in the IDR between unlocking and re-locking the table_lock spinlock. During this window, a concurrent drm_gem_handle_delete can succeed on the old handle, decrementing handle_count to zero and freeing the GEM object while the new handle's IDR entry still references it. The patch nulls the old handle's IDR entry before releasing the lock to ensure any concurrent GEM_CLOSE operations see a NULL entry and return an error, preventing use-after-free scenarios.
Potential Impact
This vulnerability can cause use-after-free conditions in the drm/gem subsystem of the Linux kernel, potentially leading to system instability or crashes. There is no indication of known exploits in the wild. The impact is limited to kernel memory management within the graphics subsystem.
Mitigation Recommendations
A fix for this race condition has been implemented in the Linux kernel. Users should update to a kernel version that includes this patch. Since no specific patch links or affected versions are provided, check the official Linux kernel advisories or vendor updates for the fixed versions. No additional mitigation is indicated.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-6335-2wvm-xv3c
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2026-63885"]
- Ecosystems
- []
- Database Specific Severity
- null
- Cvss Version
- null
Threat ID: 6a5d27ab2a4a8d598912ffb2
Added to database: 07/19/2026, 19:38:19 UTC
Last enriched: 07/19/2026, 20:12:21 UTC
Last updated: 07/20/2026, 17:26:47 UTC
Views: 14
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.