CVE-2026-46215
Race Condition in Linux Kernel DRM Handle Management
Publication date: 2026-05-28
Last updated on: 2026-05-28
Assigner: kernel.org
Description
Description
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
| Vendor | Product | Version / Range |
|---|---|---|
| linux | linux_kernel | * |
Helpful Resources
Exploitability
| CWE ID | Description |
|---|---|
| CWE-UNKNOWN |
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?
This vulnerability exists in the Linux kernel's Direct Rendering Manager (drm) subsystem, specifically in the change_handle function.
There was a potential race condition where the ioctl briefly had a single object with two idr entries. During this time, a concurrent gem_close operation could delete the object and remove one of the handles while leaving the other handle dangling.
This dangling handle could then be dereferenced, leading to a use-after-free condition, which is a type of memory corruption vulnerability.
The fix involved setting the old handle to NULL before swapping it in change_handle, ensuring that the object references are properly managed and preventing the race condition.
How can this vulnerability impact me? :
This vulnerability can lead to a use-after-free scenario in the Linux kernel's drm subsystem.
Use-after-free vulnerabilities can cause system instability, crashes, or potentially allow an attacker to execute arbitrary code with kernel privileges.
Therefore, if exploited, this vulnerability could compromise the security and stability of a system running the affected Linux kernel.
What immediate steps should I take to mitigate this vulnerability?
The vulnerability is resolved by updating the Linux kernel to a version that includes the fix for the race condition in the drm subsystem, specifically the change_handle function.
Immediate mitigation involves applying the kernel patch that sets the old handle to NULL before prime swap in change_handle, preventing use-after-free conditions.
Therefore, the recommended step is to update your Linux kernel to the fixed version released on or after 2026-05-28.