CVE-2026-52966
Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.
NVD · uneditedIn 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
Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.
dbcve analysis · moderate confidenceLinux kernel vulnerability in DRM subsystem's prime file private handling where commit 5e28b7b94408 introduced a logical error failing to replace the newly generated IDR pointer to the old id's pointer in the 'change handle' logic. This causes improper memory management and potential use-after-free conditions, as evidenced by syzbot detecting non-empty dmabufs RB tree (!RB_EMPTY_ROOT) during file private cleanup.
Verify against the referenced sources before acting — the references below are authoritative for this CVE, this summary is not.
Affected products & versions What the vendor confirmedThe version ranges the vendor confirmed as vulnerable. If your version sits inside a range here, treat yourself as exposed until you have upgraded.
NVD · CPE data= 6.18.32= 7.0.9= 7.1CVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.
From the vector- Attack vector
- Local
- Complexity
- Low
- Privileges
- Low
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- None
- Integrity
- None
- Availability
- High
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Am I affected? How to checkSteps we derive from the advisory and the affected-version data, so you can decide whether this CVE reaches your setup. They are a guide, not a scan — your own configuration is the authority.
dbcve checksWork through these to decide whether this CVE applies to you.
-
Identify the running kernel versionRun `uname -r` or check `/proc/version` to get the installed kernel versionAffected if The version matches 6.18.32, 7.0.9, or 7.1 exactly (note: the '=' notation suggests exact version matches rather than ranges)
-
Verify DRM subsystem is presentCheck for loaded DRM modules using `lsmod | grep -i drm` or check `/sys/class/drm/` existsAffected if The system has a DRM-subsystem graphics driver loaded (common on systems with GPU hardware)
-
Confirm DRM prime functionality is activeCheck for drm_prime related module or code path: look for `drm` module in `lsmod` output and check if prime-handling ioctls have been invoked via audit logs or direct inspection of /sys/module/drm/parametersAffected if DRM prime (dma-buf) functionality is being used - this is typically active when GPU memory sharing operations occur, check `lsmod` for drm modules and monitor for prime-related operations
-
Inspect the affected source code in drm_prime.cCheck if the kernel source at drivers/gpu/drm/drm_prime.c contains the problematic commit 5e28b7b94408 by reviewing git log or examining the 'change handle' logic for IDR pointer handlingAffected if The source code contains commit 5e28b7b94408 and exhibits the logical error where new IDR pointer is not correctly replacing the old id pointer in the change handle logic
-
Monitor for symptoms in kernel logsCheck dmesg or kernel logs for 'RB_EMPTY_ROOT' warnings during drm file private cleanup, or look for use-after-free errors in the DRM subsystemAffected if Non-empty RB tree (!RB_EMPTY_ROOT) errors appear during DRM file private cleanup, indicating the memory management bug is manifesting
A system is affected if it runs a kernel version matching 6.18.32, 7.0.9, or 7.1 AND uses DRM prime functionality, with symptoms appearing as RB tree errors during file cleanup
Generated from the published advisory. Verify against your own configuration.
Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.
From vendor dataKernel patch required to fix the IDR pointer replacement logic in drm_prime.c - the new IDR object pointer must correctly replace the original id's pointer during normal execution flow. This is a logical code flow issue, not a configuration workaround.
- Consultation2.0 h
- Implementation1.0 h
- Testing3.0 h
- Review / QA2.0 h
An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $2,224.
Scan for this in your stack
Free · runs locallyCheck whether your project pulls in CVE-2026-52966 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.
References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.
Primary sourcesPractitioner notes
ContributedPeer-ranked notes from engineers who’ve handled CVE-2026-52966 in production — separate from our analysis above.
The advisory tells you what broke. It rarely tells you what actually worked. If you’ve dealt with this one, that detail is what the next engineer is searching for.
- The version that genuinely resolved it — not the one the vendor claimed
- A config change or rule that shut the vector down
- A gotcha in the upgrade path that cost you an afternoon
No notes yet
Be the first to add a field note for this CVE — a mitigation you’ve verified, a version caveat, or a link to a working fix. Sign in above to contribute.
A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.
- Verified mitigations, workarounds, and config changes
- Version or environment caveats, and links to real fixes
- No weaponised exploit code, or anything meant to cause harm
- No spam, self-promotion, credentials, or personal data