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 7CC8E38D3F8 for ; Sun, 19 Jul 2026 14:07:43 +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=1784470064; cv=none; b=d64TLU+l6jklegBggbcv6mxrBGgfVCWOh13UfyFg8Pm4+Sj86xc3GifKHpS3v6uo/dwWgaheRH+kurLuJFy1+7ZObt2jUvA7x8M+qu/FDy3yMmLpCgk3qz5UBQU9pRy4kDZD0UFHNQY5QRBzaMjicqxVRi2mCgSSNUEmz6/kbVU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784470064; c=relaxed/simple; bh=/yHHk6aDwx5vLDPMc7bmMtRSMF30RLmQ5KmeKT+JVhg=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=CRfVZsYoA5fCrLUA91GAgXA8941mtXqWAnsh+w8qhRTxvCWXJ3Nl33pSCRSI26EWr6gEDCs675GCc7RTrNJYuGgPcpfi25ZEboecMFVXUX4zK6fj8IjkWssHjDTGRjqEEfcPaWsNtGXED9MngB6YxXUZZnTAMmW6yYS/NkMRoUA= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=HlHJyNqk; 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="HlHJyNqk" Received: by smtp.kernel.org (Postfix) with ESMTPSA id D6E851F000E9; Sun, 19 Jul 2026 14:07:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1784470063; bh=BfSZm1NbURD5cSx42ASXZx/jeybz10euFm+AIDaltfo=; h=From:To:Cc:Subject:Date:Reply-To; b=HlHJyNqkZPU1U0UG7SQjte8nV7KIxCcIL/pZxaV39EdbQ5e5KelNuzj4mfeAwM3ZH KlZWxXsw2vF7H9zlIVFA4rrltQrHwLtQAr5pVy3AF/8uWuZzqiTquDLSRSaGRwto9Y zlCeJrdHEgG8J4WtShWLD0XqW2JKGDl8gMl0nH0A= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-63863: drm/gpusvm: Fix unbalanced unlock in drm_gpusvm_scan_mm() Date: Sun, 19 Jul 2026 16:03:53 +0200 Message-ID: <2026071934-CVE-2026-63863-7079@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=2476; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=Przfu2XjQgafx6Y+Q8CwSqWHuNnImZG9Z32BI0IdkpI=; b=owGbwMvMwCRo6H6F97bub03G02pJDFkxN814TLc46PTaXS4/sjJx39YOh1Vr2i5HZHKtPtx9f WNO3Z4THbEsDIJMDLJiiixftvEc3V9xSNHL0PY0zBxWJpAhDFycAjCR6PUM81T5rRUz7ytKzUl4 82jb8bsSiQ8i2xkWbL28VSzD6dEzrcC6fPk6hnkH9kkWAAA= 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/gpusvm: Fix unbalanced unlock in drm_gpusvm_scan_mm() There is a unbalanced lock/unlock to gpusvm notifier lock: [ 931.045868] ===================================== [ 931.046509] WARNING: bad unlock balance detected! [ 931.047149] 6.19.0-rc6+xe-**************** #9 Tainted: G U [ 931.048150] ------------------------------------- [ 931.048790] kworker/u5:0/51 is trying to release lock (&gpusvm->notifier_lock) at: [ 931.049801] [] drm_gpusvm_scan_mm+0x188/0x460 [drm_gpusvm_helper] [ 931.050802] but there are no more locks to release! [ 931.051463] The drm_gpusvm_notifier_unlock() sits under err_free label and the first jump to err_free is just before calling the drm_gpusvm_notifier_lock() causing unbalanced unlock. The Linux kernel CVE team has assigned CVE-2026-63863 to this issue. Affected and fixed versions =========================== Issue introduced in 7.0 with commit f1d08a5864822684773105c60528e2abb577ca6c and fixed in 7.0.10 with commit 8efaa47a871662a8c21b819cec60786f7ef17ab4 Issue introduced in 7.0 with commit f1d08a5864822684773105c60528e2abb577ca6c and fixed in 7.1 with commit d287dee565c3c32e1ed76ec1847af46809c29b90 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-63863 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_gpusvm.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/8efaa47a871662a8c21b819cec60786f7ef17ab4 https://git.kernel.org/stable/c/d287dee565c3c32e1ed76ec1847af46809c29b90