Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id E4B1A39A7E5 for ; Sun, 19 Jul 2026 14:57:46 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784473068; cv=none; b=lYfypln355JXtf1lKnTbDSbgKsmhSPuoqBqcnbteqLOa0kZbZ0yx2Tm/j8InB+Nmcc983HduRFhSi6rfoNnTLRHOyHl+9RIeZZal6+e3QzeqqNGymtoZYGsYKQAHlXFV96gOBapqAKbZZUQXSba9+meEXA93jOlhRf2Fpxjt3OM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784473068; c=relaxed/simple; bh=Kru2jVVgp1drO+uiZ+tMPpP2ik80kqlEOqz2FvHGsaw=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=tVbWo2SV2/LbN+paGpafTKAl+w/rHVoPRPnvJdpuytXJkpdWh67O/e2lX94g3muTRqqVbaBs/QNseV6LGuxbFHYzD4jTObwObngObBQNho7aZNJvntxie5iLAX3TWLpAAIEaLVrraK00nj+HJMDDRqhPehb8fgjSyTWyK6OrpEM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=tfcDSyfH; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="tfcDSyfH" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 3511B1F000E9; Sun, 19 Jul 2026 14:57:46 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1784473066; bh=SlZfnkwQbpSCw0J+ZRC69S3uC/hGrIQ4LKfWOGUQsJk=; h=From:To:Cc:Subject:Date:Reply-To; b=tfcDSyfHvGdCjcQZ4vWLISiMX+7BPSDr0Afdri6Vgl6RMy8GBkLjtPkXKJxigsJwb 9bYBuo3V72YC+SlqekkvsYI0rwpbPM07T6X5i248OVPL3T4OWCp+Tc4mfJha6Idn8C 7PKi+u948fhQTQYpkl4Kjz4gpQtmQtRF3CqENUGI= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-63885: drm/gem: fix race between change_handle and handle_delete Date: Sun, 19 Jul 2026 16:55:45 +0200 Message-ID: <2026071940-CVE-2026-63885-ad72@gregkh> X-Mailer: git-send-email 2.55.0 Reply-To: , Precedence: bulk X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=2396; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=rpc3rNyZrBxpiIpDzfku3Nn+qEE+L5hz3Nk0AdY57AI=; b=owGbwMvMwCRo6H6F97bub03G02pJDFkxT3Nerr26Nbo1p1Jd/8zJtm1brGua98x/KjPt2Mmd3 KpZ+aE1HbEsDIJMDLJiiixftvEc3V9xSNHL0PY0zBxWJpAhDFycAjCRgCqG+SkbZXidDqVosTTn iapOKL3Qt/hxK8M8TWMPJpNnq7rSO68y7zI+r12qXboWAA== X-Developer-Key: i=gregkh@linuxfoundation.org; a=openpgp; fpr=F4B60CC5BF78C2214A313DCB3147D40DDB2DFB29 Content-Transfer-Encoding: 8bit From: Greg Kroah-Hartman Description =========== In the Linux kernel, the following vulnerability has been resolved: drm/gem: fix race between change_handle and handle_delete drm_gem_change_handle_ioctl leaves the old handle live in the IDR during the window between spin_unlock(table_lock) and the final spin_lock(table_lock). A concurrent drm_gem_handle_delete on the old handle succeeds in this window, decrements handle_count to 0, and frees the GEM object while the new handle's IDR entry still references it. NULL the old handle's IDR entry before dropping table_lock so that any concurrent GEM_CLOSE on the old handle sees NULL and returns -EINVAL. Restore the old entry on the prime-bookkeeping error path. The Linux kernel CVE team has assigned CVE-2026-63885 to this issue. Affected and fixed versions =========================== Issue introduced in 6.18.32 with commit 672464dd53231509c9c771110798c56d4660e19e and fixed in 6.18.35 with commit 0dfa42cfe4dbe114533480503934f43e33c1e83d Issue introduced in 7.0.9 with commit 61bd96d3e5472c253f9c1ab77608f0c8aaa9d025 and fixed in 7.0.12 with commit cde2c9257cbe8463b9dcf7b1075177b72b5fd938 Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community. Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at https://cve.org/CVERecord/?id=CVE-2026-63885 will be updated if fixes are backported, please check that for the most up to date information about this issue. Affected files ============== The file(s) affected by this issue are: drivers/gpu/drm/drm_gem.c Mitigation ========== The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits: https://git.kernel.org/stable/c/0dfa42cfe4dbe114533480503934f43e33c1e83d https://git.kernel.org/stable/c/cde2c9257cbe8463b9dcf7b1075177b72b5fd938 https://git.kernel.org/stable/c/7164d78559b0ff29931a366a840a9e5dd53d4b7c