VDB

CVE-2026-46215

CVE-2026-46215 PUBLISHED CVSS 7.8 HIGH

drm: Set old handle to NULL before prime swap in change_handle

Reported by linux · Published May 28, 2026

In the Linux kernel, the following vulnerability has been resolved: drm: Set old handle to NULL before prime swap in change_handle There was a potential race condition in change_handle. The ioctl briefly had a single object with two idr entries; a concurrent gem_close could delete the object and remove one of the handles while leaving the other one dangling, which could subsequently be dereferenced for a use-after-free. To fix this, do the same dance that gem_close itself does. (f6cd7daecff5 drm: Release driver references to handle before making it available again) First idr_replace the old handle to NULL. Later, if the prime operations are successful, actually close it. create_tail required a similar dance to avoid a similar problem. (bd46cece51a3 drm/gem: Fix race in drm_gem_handle_create_tail()) It idr_allocs the new handle with NULL, then swaps in the correct object later to avoid races. We don't need to do that here, since the only operations that could race are drm_prime, and change_handle holds the prime lock for the entire duration. v2: cleanups of error paths

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
kernel-coreerrata.rockylinux.org6.12.0-211.37.1.el10
kernel-modules-extraerrata.rockylinux.org5.14.0-687.29.1.el9
kernel-rt-64k-debug-modules-coreerrata.rockylinux.org5.14.0-687.29.1.el9
kernel-rt-debug-modules-extraerrata.rockylinux.org5.14.0-687.29.1.el9
kernel6.18-modules-extraAmazon Linux1:6.18.33-63.124.amzn2023
kernel-rt-modules-coreerrata.rockylinux.org5.14.0-687.29.1.el9
kernel-tools-libs-develerrata.rockylinux.org6.12.0-211.37.1.el10, 5.14.0-687.29.1.el9
kernel6.18-develAmazon Linux1:6.18.33-63.124.amzn2023
kernel-debug-debuginfoerrata.rockylinux.org6.12.0-211.37.1.el10
libperferrata.rockylinux.org5.14.0-687.29.1.el9
kernel-debug-modules-extraerrata.rockylinux.org6.12.0-211.37.1.el10, 5.14.0-687.29.1.el9
kernel-debug-develerrata.rockylinux.org6.12.0-211.37.1.el10, 5.14.0-687.29.1.el9

22 more packages have a fixed version. See every fix in Lookup.

Risk scores

CVSS 3.1
7.8
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Affected products

VendorProductVersions
LinuxLinux53096728b8910c6916ecc6c46a5abc5c678b58d9, 53096728b8910c6916ecc6c46a5abc5c678b58d9, 53096728b8910c6916ecc6c46a5abc5c678b58d9
LinuxLinux6.18, 0, 6.18.32
amazon:2023kernel6.18-modules-extra0
amazon:2023kernel6.18-devel0
LinuxLinux7.0.9, 6.18.32, 0
amazon:2023kernel6.18-tools0
linuxlinux_kernel6.18, 6.18, 6.18
amazon:2023kernel6.18-headers0
amazon:2023kernel6.180
amazon:2023kernel6.18-modules-extra-common0
amazon:2023bpftool6.180
amazon:2023kernel6.18-tools-devel0
amazon:2023perf6.180
amazon:2023kernel-livepatch-6.18.33-63.1240
amazon:2023python3-perf6.180

Timeline

  • May 27, 2026 CVE Published
  • May 28, 2026 EPSS Score (21 in total, the first dated here)
  • Jun 1, 2026 Security Advisory (133 in total, the first dated here)
  • Jun 4, 2026 Coalition ESS Score
  • Jul 22, 2026 Distribution Patch (132 in total, the first dated here)
  • Sep 16, 2026 CVE Updated

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2026-46215
vulnetix vdb fixes CVE-2026-46215

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-46215/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›