{"id":"CVE-2026-52966","aliases":["CVE-2026-52966"],"related":[],"kind":"vulnerability","state":"published","title":"drm: Replace old pointer to new idr","summary":"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","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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","source":"cvelist"}],"published":"2026-06-24T16:28:45.891Z","modified":"2026-11-06T17:17:58.700Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},"severities":[{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"}],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"672464dd53231509c9c771110798c56d4660e19e","fixed":"318b995cffcfcaa69a234d28123a3f4ae186a9df","status":"affected"},{"type":"git","introduced":"61bd96d3e5472c253f9c1ab77608f0c8aaa9d025","fixed":"38f12d0e10d83b66fa1466400d876a3a8da31542","status":"affected"},{"type":"git","introduced":"5e28b7b94408897e41c63477aabc9e1db439bc8c","fixed":"dc366607c41c45fd0ae6f3db090f31dd611b644a","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"6.18.32","fixed":"6.18.33","status":"affected"},{"type":"semver","introduced":"7.0.9","fixed":"7.0.10","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","version":"6.18.32"},{"status":"affected","version":"7.0.9"},{"status":"affected","version":"7.1"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:6.18.32:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/318b995cffcfcaa69a234d28123a3f4ae186a9df","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/38f12d0e10d83b66fa1466400d876a3a8da31542","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/dc366607c41c45fd0ae6f3db090f31dd611b644a","tags":["patch"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-11-06T16:15:20.918Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-52966","url":"https://www.cve.org/CVERecord?id=CVE-2026-52966","licence":"CVE Terms of Use","modified":"2026-11-06T16:23:51.732Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-52966","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-52966","licence":"Public domain","modified":"2026-11-06T17:17:58.700Z"}],"updatedAt":"2026-11-25T22:59:25.633Z","epss":{"score":0.00134,"percentile":0.03137,"date":"2026-12-01T12:00:22.000Z"}}