7.8

CVE-2026-46215: drm: Set old handle to NULL before prime swap in change_handle

Modified
AliasesUBUNTU-CVE-2026-46215DEBIAN-CVE-2026-46215
Published 28-05-2026Last modified 05-08-2026

Vulnerability summary

CVE-2026-46215 is a high (CVSS 7.8) Use After Free vulnerability in linux. EPSS estimates a 0.23% chance of exploitation in the next 30 days, higher than 13.5% of scored vulnerabilities. 1 public exploit is recorded.

Priority
Prioritisepublic exploit

Public exploit (GitHub, Date unknown)

Source freshness unavailable

How is this decided?
CVSS score
7.8/10
010
High · v3.1 (CVE.org)
EPSS score
0.23%
0%100%
Low · +0.06 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits1github

Advisory lineage

Upstream 0 · Downstream 14 · Related 12

Timeline

  1. 28-05-2026
    PublishedVulnerability first disclosed.
  2. 05-08-2026
    Last modifiedVulnerability information updated.

Description

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

CVSS metrics

4 scores · 4 sources · 1 version

EPSS trend

Probability

0.23%

Chance of exploitation in the next 30 days

Percentile

14%

Versus all other CVEs

30-day change

Increase +0.06 pp

From 0.17% on 04-10-2026

04-10-202603-11-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

1 found
  • githubUnverified

    Cve 2026 46215 Poc

    Maturity: poc

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: local access, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.

Ubuntu106 products
  • linux< 7.0.0-28.28
  • linux-allwinner-5.19All versions (No fix recorded)
  • linux-aws< 7.0.0-1009.9
  • linux-aws-5.0All versions (No fix recorded)
  • linux-aws-5.11All versions (No fix recorded)
Linux2 products
  • linux≥ 53096728b8910c6916ecc6c46a5abc5c678b58d9, < 672464dd53231509c9c771110798c56d4660e19e | ≥ 53096728b8910c6916ecc6c46a5abc5c678b58d9, < 61bd96d3e5472c253f9c1ab77608f0c8aaa9d025 | ≥ 53096728b8910c6916ecc6c46a5abc5c678b58d9, < 5e28b7b94408897e41c63477aabc9e1db439bc8c | 6.18
  • linux_kernel≥ 6.18, < 6.18.32 | ≥ 6.19, < 7.0.9 | 7.1:rc1 | 7.1:rc2
Debian1 product
  • linux< 7.0.9-1

3 vendors · 109 products

References

19 links
Show all 19 references