CVE-2026-52966

drm: Replace old pointer to new idr

MEDIUM
5.5
CVSS Score
Published: June 24, 2026 at 04:28 PM UTC
Updated: July 14, 2026 at 08:34 PM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.5
Exploit prediction
EPSS 0.2%

Description

In the Linux kernel, the following vulnerability has been resolved: drm: Replace old pointer to new idr Commit 5e28b7b94408 introduced a logical error by failing to replace the newly generated IDR pointer to old id's pointer at the correct location within the "change handle" logic; this resulted in the issue reported by syzbot [1]. Specifically, the new IDR object pointer is intended to replace the original id's pointer during the normal execution flow. Additionally, an unnecessary conditional check for the ret exit path has been removed. [1] !RB_EMPTY_ROOT(&prime_fpriv->dmabufs) WARNING: drivers/gpu/drm/drm_prime.c:224 at drm_prime_destroy_file_private+0x48/0x60 drivers/gpu/drm/drm_prime.c:224, CPU#0: syz.0.17/5833 Call Trace: drm_file_free.part.0+0x7e6/0xcc0 drivers/gpu/drm/drm_file.c:269 drm_file_free drivers/gpu/drm/drm_file.c:237 [inline] drm_close_helper.isra.0+0x186/0x200 drivers/gpu/drm/drm_file.c:290 drm_release+0x1ab/0x360 drivers/gpu/drm/drm_file.c:438

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

6.18.32 ≤ v < 6.18.337.0.9 ≤ v < 7.0.105e28b7b94408897e41c63477aabc9e1db439bc8c6.18.3261bd96d3e5472c253f9c1ab77608f0c8aaa9d025672464dd53231509c9c771110798c56d4660e19e7.0.97.1 rc3
Vendor states this is fixed in 318b995cffcfcaa69a234d28123a3f4ae186a9df (fixed)
Vendor states this is fixed in 38f12d0e10d83b66fa1466400d876a3a8da31542 (fixed)
Vendor states this is fixed in dc366607c41c45fd0ae6f3db090f31dd611b644a (fixed)
Affected range stops below 6.18.33, so it looks safe — our inference, not a vendor statement
Affected range stops below 7.0.10, so it looks safe — our inference, not a vendor statement

CVSS

Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusANALYZED
CWE
NVD-CWE-noinfo

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card