{"id":"CVE-2026-63885","aliases":["CVE-2026-63885"],"related":[],"kind":"vulnerability","state":"published","title":"drm/gem: fix race between change_handle and handle_delete","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/gem: fix race between change_handle and handle_delete\n\ndrm_gem_change_handle_ioctl leaves the old handle live in the IDR\nduring the window between spin_unlock(table_lock) and the final\nspin_lock(table_lock). A concurrent drm_gem_handle_delete on the old\nhandle succeeds in this window, decrements handle_count to 0, and frees\nthe GEM object while the new handle's IDR entry still references it.\n\nNULL the old handle's IDR entry before dropping table_lock so that any\nconcurrent GEM_CLOSE on the old handle sees NULL and returns -EINVAL.\nRestore the old entry on the prime-bookkeeping error path.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/gem: fix race between change_handle and handle_delete\n\ndrm_gem_change_handle_ioctl leaves the old handle live in the IDR\nduring the window between spin_unlock(table_lock) and the final\nspin_lock(table_lock). A concurrent drm_gem_handle_delete on the old\nhandle succeeds in this window, decrements handle_count to 0, and frees\nthe GEM object while the new handle's IDR entry still references it.\n\nNULL the old handle's IDR entry before dropping table_lock so that any\nconcurrent GEM_CLOSE on the old handle sees NULL and returns -EINVAL.\nRestore the old entry on the prime-bookkeeping error path.","source":"cvelist"}],"published":"2026-07-19T14:54:58.590Z","modified":"2026-10-26T20:16:13.080Z","severity":{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H","score":8.8,"rating":"HIGH"},"severities":[{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H","score":8.8,"rating":"HIGH"}],"cwes":["CWE-362"],"affected":[{"ranges":[{"type":"git","introduced":"672464dd53231509c9c771110798c56d4660e19e","fixed":"0dfa42cfe4dbe114533480503934f43e33c1e83d","status":"affected"},{"type":"git","introduced":"61bd96d3e5472c253f9c1ab77608f0c8aaa9d025","fixed":"cde2c9257cbe8463b9dcf7b1075177b72b5fd938","status":"affected"},{"type":"git","introduced":"5e28b7b94408897e41c63477aabc9e1db439bc8c","fixed":"7164d78559b0ff29931a366a840a9e5dd53d4b7c","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.35","status":"affected"},{"type":"semver","introduced":"7.0.9","fixed":"7.0.12","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"6.18.32","fixed":"6.18.35"},{"status":"affected","introduced":"7.0.9","fixed":"7.0.12"},{"status":"affected","version":"7.1"},{"status":"affected","version":"7.1"},{"status":"affected","version":"7.1"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/0dfa42cfe4dbe114533480503934f43e33c1e83d","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/cde2c9257cbe8463b9dcf7b1075177b72b5fd938","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/7164d78559b0ff29931a366a840a9e5dd53d4b7c","tags":["patch"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2026-10-16T15:32:52.253Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-63885","url":"https://www.cve.org/CVERecord?id=CVE-2026-63885","licence":"CVE Terms of Use","modified":"2026-10-19T20:17:54.350Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-63885","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-63885","licence":"Public domain","modified":"2026-10-26T20:16:13.080Z"}],"updatedAt":"2026-11-25T22:59:28.794Z","epss":{"score":0.00131,"percentile":0.02893,"date":"2026-12-01T12:00:22.000Z"}}