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.
Published: 2026-07-19
Score: 8.8 High
EPSS: < 1% Very Low
KEV: No
Impact: Use‑after‑free leading to kernel memory corruption
Action: Immediate Patch
AI Analysis

Impact

The Linux DRM GEM subsystem contains a race between the drm_gem_change_handle ioctl and a concurrent drm_gem_handle_delete. During the window between releasing and reacquiring the table lock, the old GEM object can be freed while the new handle still references it, causing a use‑after‑free condition that may corrupt kernel memory. This weakness is classified as a race condition (CWE‑362) leading to an improper use of a freed resource (CWE‑366).

Affected Systems

All Linux kernel builds that include the DRM GEM driver are affected, including mainstream distributions that ship with the default kernel. The vulnerability was fixed by commit 0dfa42cfe4… and is present in recent stable releases; any kernel lacking this commit or a later revision is vulnerable.

Risk and Exploitability

The CVSS score of 8.8 marks this as a high severity issue, yet the EPSS score is below 1% indicating a low probability of exploitation at present. The vulnerability is not listed in the CISA KEV catalog. Exploitation likely requires local, privileged access to perform DRM ioctls that trigger the race condition; the attack vector is inferred to be local user or compromised process access to the DRM subsystem.

Generated by OpenCVE AI on October 20, 2026 at 09:15 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Apply the latest Linux kernel version that contains the drm/gem change_handle race‑condition fix (commit 0dfa42cfe4…)
  • If a kernel upgrade cannot be performed immediately, disable or restrict modules that use the DRM GEM change_handle and handle_delete paths, preventing concurrent executions until the patch is installed
  • Implement stricter device permissions or udev rules so that only trusted users or processes can send DRM GEM ioctls, thereby limiting the local attack surface

Generated by OpenCVE AI on October 20, 2026 at 09:15 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Mon, 26 Oct 2026 20:30:00 +0000

Type Values Removed Values Added
CPEs 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:*:*:*:*:*:*

Mon, 19 Oct 2026 21:30:00 +0000

Type Values Removed Values Added
Weaknesses CWE-362

Sun, 26 Jul 2026 09:00:00 +0000

Type Values Removed Values Added
Weaknesses CWE-362
CWE-416

Wed, 22 Jul 2026 19:00:00 +0000

Type Values Removed Values Added
Weaknesses CWE-362
CWE-416

Wed, 22 Jul 2026 00:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-366
References
Metrics threat_severity

None

threat_severity

Moderate


Mon, 20 Jul 2026 14:45:00 +0000

Type Values Removed Values Added
Metrics cvssV3_1

{'score': 8.8, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H'}


Sun, 19 Jul 2026 15:30:00 +0000

Type Values Removed Values Added
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.
Title drm/gem: fix race between change_handle and handle_delete
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References

Subscriptions

Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-10-19T20:17:54.350Z

Reserved: 2026-07-19T07:54:57.018Z

Link: CVE-2026-63885

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Analyzed

Published: 2026-07-19T16:17:05.623

Modified: 2026-10-26T20:16:13.080

Link: CVE-2026-63885

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-07-19T00:00:00Z

Links: CVE-2026-63885 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-10-20T09:30:12Z

Weaknesses
  • CWE-362

    Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition')

  • CWE-366

    Race Condition within a Thread