CVE-2026-63885 drm/gem: fix race between change_handle and handle_delete

High 8.8 Published Updated

A race condition in the Linux kernel DRM subsystem allows attackers to trigger a use-after-free, potentially leading to code execution or privilege escalation.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2026-63885?

CVE-2026-63885 is a high-severity vulnerability in Linux kernel, published on 19 Jul 2026. It can only be exploited from the same machine or local network, with no action from the victim.

Official 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.

Weakness: CWE-362

Which versions are affected by CVE-2026-63885?

It affects 1 product.

Products include Linux kernel.

How do I fix CVE-2026-63885?

Apply the vendor's patch.

Is CVE-2026-63885 being exploited?

There is no known exploitation of CVE-2026-63885 in the wild and no public exploit code.

All Linux kernel vulnerabilities

Sources

Also known as BELL-CVE-2026-63885, DEBIAN-CVE-2026-63885, GHSA-6335-2wvm-xv3c, UBUNTU-CVE-2026-63885.

Is CVE-2026-63885 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free