{"id":"CVE-2026-63885","revision":"37ac4f37bd8b42f3ad28aa9e7de21d80","records":[{"revision":"37ac4f37bd8b42f3ad28aa9e7de21d80","observedAt":"2026-10-23T15:48:27.903+00:00","statement":{"source":"cve-program","id":"CVE-2026-63885","aliases":[],"title":"drm/gem: fix race between change_handle and handle_delete","description":"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.","state":0,"publishedAt":"2026-07-19T14:54:58.59+00:00","modifiedAt":"2026-10-19T20:17:54.35+00:00","affected":[{"ecosystem":"Vendor product","name":"Linux","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"product\": \"Linux\",\n                    \"vendor\": \"Linux\",\n                    \"defaultStatus\": \"unaffected\",\n                    \"repo\": \"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\n                    \"programFiles\": [\n                        \"drivers/gpu/drm/drm_gem.c\"\n                    ],\n                    \"versions\": [\n                        {\n                            \"version\": \"672464dd53231509c9c771110798c56d4660e19e\",\n                            \"lessThan\": \"0dfa42cfe4dbe114533480503934f43e33c1e83d\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        },\n                        {\n                            \"version\": \"61bd96d3e5472c253f9c1ab77608f0c8aaa9d025\",\n                            \"lessThan\": \"cde2c9257cbe8463b9dcf7b1075177b72b5fd938\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        },\n                        {\n                            \"version\": \"5e28b7b94408897e41c63477aabc9e1db439bc8c\",\n                            \"lessThan\": \"7164d78559b0ff29931a366a840a9e5dd53d4b7c\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        }\n                    ]\n                }"},{"ecosystem":"Vendor product","name":"Linux","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"product\": \"Linux\",\n                    \"vendor\": \"Linux\",\n                    \"defaultStatus\": \"unaffected\",\n                    \"repo\": \"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\n                    \"programFiles\": [\n                        \"drivers/gpu/drm/drm_gem.c\"\n                    ],\n                    \"versions\": [\n                        {\n                            \"version\": \"6.18.32\",\n                            \"lessThan\": \"6.18.35\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"7.0.9\",\n                            \"lessThan\": \"7.0.12\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"semver\"\n                        }\n                    ]\n                }"}],"metrics":[{"system":"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,"severity":"HIGH"}],"references":["https://git.kernel.org/stable/c/0dfa42cfe4dbe114533480503934f43e33c1e83d","https://git.kernel.org/stable/c/cde2c9257cbe8463b9dcf7b1075177b72b5fd938","https://git.kernel.org/stable/c/7164d78559b0ff29931a366a840a9e5dd53d4b7c"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-63885","license":"CVE Program Terms of Use","key":"cve-program:CVE-2026-63885","identifiers":["CVE-2026-63885"]},"retained":false,"historicalAffected":[]}],"coverage":[]}