{"api_version":"1","generated_at":"2026-06-25T15:02:23+00:00","cve":"CVE-2026-52966","urls":{"html":"https://cve.report/CVE-2026-52966","api":"https://cve.report/api/cve/CVE-2026-52966.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-52966","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-52966"},"summary":{"title":"drm: Replace old pointer to new idr","description":"In the Linux kernel, the following vulnerability has been resolved:\n\ndrm: Replace old pointer to new idr\n\nCommit 5e28b7b94408 introduced a logical error by failing to replace the\nnewly generated IDR pointer to old id's pointer at the correct location\nwithin the \"change handle\" logic; this resulted in the issue reported by\nsyzbot [1].\n\nSpecifically, the new IDR object pointer is intended to replace the original\nid's pointer during the normal execution flow.\n\nAdditionally, an unnecessary conditional check for the ret exit path has\nbeen removed.\n\n[1]\n!RB_EMPTY_ROOT(&prime_fpriv->dmabufs)\nWARNING: 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\nCall Trace:\n drm_file_free.part.0+0x7e6/0xcc0 drivers/gpu/drm/drm_file.c:269\n drm_file_free drivers/gpu/drm/drm_file.c:237 [inline]\n drm_close_helper.isra.0+0x186/0x200 drivers/gpu/drm/drm_file.c:290\n drm_release+0x1ab/0x360 drivers/gpu/drm/drm_file.c:438","state":"PUBLISHED","assigner":"Linux","published_at":"2026-06-24 17:17:07","updated_at":"2026-06-24 17:17:07"},"problem_types":[],"metrics":[],"references":[{"url":"https://git.kernel.org/stable/c/dc366607c41c45fd0ae6f3db090f31dd611b644a","name":"https://git.kernel.org/stable/c/dc366607c41c45fd0ae6f3db090f31dd611b644a","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/318b995cffcfcaa69a234d28123a3f4ae186a9df","name":"https://git.kernel.org/stable/c/318b995cffcfcaa69a234d28123a3f4ae186a9df","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/38f12d0e10d83b66fa1466400d876a3a8da31542","name":"https://git.kernel.org/stable/c/38f12d0e10d83b66fa1466400d876a3a8da31542","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-52966","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-52966","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 672464dd53231509c9c771110798c56d4660e19e 318b995cffcfcaa69a234d28123a3f4ae186a9df git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 61bd96d3e5472c253f9c1ab77608f0c8aaa9d025 38f12d0e10d83b66fa1466400d876a3a8da31542 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 5e28b7b94408897e41c63477aabc9e1db439bc8c dc366607c41c45fd0ae6f3db090f31dd611b644a git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 6.18.32 6.18.33 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 7.0.9 7.0.10 semver","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"cna":{"affected":[{"defaultStatus":"unaffected","product":"Linux","programFiles":["drivers/gpu/drm/drm_gem.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"lessThan":"318b995cffcfcaa69a234d28123a3f4ae186a9df","status":"affected","version":"672464dd53231509c9c771110798c56d4660e19e","versionType":"git"},{"lessThan":"38f12d0e10d83b66fa1466400d876a3a8da31542","status":"affected","version":"61bd96d3e5472c253f9c1ab77608f0c8aaa9d025","versionType":"git"},{"lessThan":"dc366607c41c45fd0ae6f3db090f31dd611b644a","status":"affected","version":"5e28b7b94408897e41c63477aabc9e1db439bc8c","versionType":"git"}]},{"defaultStatus":"unaffected","product":"Linux","programFiles":["drivers/gpu/drm/drm_gem.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"lessThan":"6.18.33","status":"affected","version":"6.18.32","versionType":"semver"},{"lessThan":"7.0.10","status":"affected","version":"7.0.9","versionType":"semver"}]}],"cpeApplicability":[{"nodes":[{"cpeMatch":[{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.18.33","versionStartIncluding":"6.18.32","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.0.10","versionStartIncluding":"7.0.9","vulnerable":true}],"negate":false,"operator":"OR"}]}],"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\ndrm: Replace old pointer to new idr\n\nCommit 5e28b7b94408 introduced a logical error by failing to replace the\nnewly generated IDR pointer to old id's pointer at the correct location\nwithin the \"change handle\" logic; this resulted in the issue reported by\nsyzbot [1].\n\nSpecifically, the new IDR object pointer is intended to replace the original\nid's pointer during the normal execution flow.\n\nAdditionally, an unnecessary conditional check for the ret exit path has\nbeen removed.\n\n[1]\n!RB_EMPTY_ROOT(&prime_fpriv->dmabufs)\nWARNING: 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\nCall Trace:\n drm_file_free.part.0+0x7e6/0xcc0 drivers/gpu/drm/drm_file.c:269\n drm_file_free drivers/gpu/drm/drm_file.c:237 [inline]\n drm_close_helper.isra.0+0x186/0x200 drivers/gpu/drm/drm_file.c:290\n drm_release+0x1ab/0x360 drivers/gpu/drm/drm_file.c:438"}],"providerMetadata":{"dateUpdated":"2026-06-24T16:28:45.891Z","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux"},"references":[{"url":"https://git.kernel.org/stable/c/318b995cffcfcaa69a234d28123a3f4ae186a9df"},{"url":"https://git.kernel.org/stable/c/38f12d0e10d83b66fa1466400d876a3a8da31542"},{"url":"https://git.kernel.org/stable/c/dc366607c41c45fd0ae6f3db090f31dd611b644a"}],"title":"drm: Replace old pointer to new idr","x_generator":{"engine":"bippy-1.2.0"}}},"cveMetadata":{"assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","assignerShortName":"Linux","cveId":"CVE-2026-52966","datePublished":"2026-06-24T16:28:45.891Z","dateReserved":"2026-06-09T07:44:35.374Z","dateUpdated":"2026-06-24T16:28:45.891Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-06-24 17:17:07","lastModifiedDate":"2026-06-24 17:17:07","problem_types":[],"metrics":[],"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"52966","Ordinal":"1","Title":"drm: Replace old pointer to new idr","CVE":"CVE-2026-52966","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"52966","Ordinal":"1","NoteData":"In the Linux kernel, the following vulnerability has been resolved:\n\ndrm: Replace old pointer to new idr\n\nCommit 5e28b7b94408 introduced a logical error by failing to replace the\nnewly generated IDR pointer to old id's pointer at the correct location\nwithin the \"change handle\" logic; this resulted in the issue reported by\nsyzbot [1].\n\nSpecifically, the new IDR object pointer is intended to replace the original\nid's pointer during the normal execution flow.\n\nAdditionally, an unnecessary conditional check for the ret exit path has\nbeen removed.\n\n[1]\n!RB_EMPTY_ROOT(&prime_fpriv->dmabufs)\nWARNING: 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\nCall Trace:\n drm_file_free.part.0+0x7e6/0xcc0 drivers/gpu/drm/drm_file.c:269\n drm_file_free drivers/gpu/drm/drm_file.c:237 [inline]\n drm_close_helper.isra.0+0x186/0x200 drivers/gpu/drm/drm_file.c:290\n drm_release+0x1ab/0x360 drivers/gpu/drm/drm_file.c:438","Type":"Description","Title":"drm: Replace old pointer to new idr"}]}}}