CVE-2026-46215
Last modified
CVE-2026-46215 is a high-severity vulnerability rated 7.8/10 on the CVSS scale. 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. EPSS estimates a 0.13% chance of exploitation in the next 30 days.
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
Metrics
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions | Update |
|---|---|---|---|
| Linux | Linux Kernel | >= 6.18, < 6.18.32 | — |
| Linux | Linux Kernel | >= 6.19, < 7.0.9 | — |
| Linux | Linux Kernel | 7.1 | Rc1 |
References
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2026-46215?
How severe is CVE-2026-46215?
How do I fix CVE-2026-46215?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-4621Hidden Functionality vulnerability in NEC Platforms, Ltd. At…5.6
- CVE-2026-46210In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2026-46211In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2026-46212In the Linux kernel, the following vulnerability has been re…8.8
- CVE-2026-46213In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2026-46214In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2026-46216In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2026-46217Rejected reason: This CVE ID has been rejected or withdrawn …
- CVE-2026-46218In the Linux kernel, the following vulnerability has been re…7.1
- CVE-2026-46219In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2026-4622OS Command Injection vulnerability in NEC Platforms, Ltd. At…9.8
- CVE-2026-46220In the Linux kernel, the following vulnerability has been re…5.5
Are you affected by CVE-2026-46215?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
