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 DC92E528459 for ; Thu, 17 Sep 2026 16:34:56 +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=1789662898; cv=none; b=RjK3vzs+Oe8eMXZ8Z8FQUfYVm3zy2b6PrHy9OSYmV+iQwEyHLeAdYiNljcniGqDMrZhIiv+6Q60ooz+Jo+ueka3syfCzmAe5s0CoNuzP1zQf6F1EUj9f8yLngtouKgb6ffbOlhQbG2YGjVdI15i1Mty0XQIvnC0qipDjMoZXKxw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1789662898; c=relaxed/simple; bh=uKJ7edB4LVW/S4dPJgaG4ZeJed/7VI9x6w9CMkUH/D8=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=mIsms/NpA/4IK4WoB/nd5LtkhuS+xWY7r+wZvZ49bnV9qPygAskoqboy+73FfUWvX/zkCoCC9Ugt0jajVxc5XZmk+q0gvVzcPX/KbgxPW/4WwHsPZfqStrs/6CQg3Y6r0B/DOe/wX+TpAnl+6g828KvukF1Jb4WWT7NBbmDTlG8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=lbyG8to+; 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="lbyG8to+" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 3DBCF1F000FF; Thu, 17 Sep 2026 16:34:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1789662896; bh=RVonRX+d0dySBUu23v5oHAp50IkYGGAXfkv1CDf3hmE=; h=From:To:Cc:Subject:Date:Reply-To; b=lbyG8to+4bdqPjd+kJ7kSKtY8AWANpRUKX++bpA9R4bTJAd3V8nFhUzBPM/RahhMA 6njP/XDhiWt+R4VWtMDSXiYtpT0sGiIDGjhwq6IDTSYBHyALvzlPD/KPvIXnt9n63n K+0xd++14cqUf2zZJiET9yDzuSBEIE5GUPoUM1+0= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-93058: drm/msm: Only fini scheduler after successful init Date: Thu, 17 Sep 2026 17:15:37 +0100 Message-ID: <2026091736-CVE-2026-93058-8976@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=2673; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=W0fB+3k0izdgOpWmGVa/ZVgmxrVgyjp8l6zLidSaG/g=; b=owGbwMvMwCRo6H6F97bub03G02pJDFlrBA7caMno/lr1jsX10e5ZZifcnvRftzRa9PjhJfbfT crzJ5s86IhlYRBkYpAVU2T5so3n6P6KQ4pehranYeawMoEMYeDiFICJHHJkmCuv93CD8q0LKduF Jhhmnny+UOuQszzDgj6tpMz9Dx/9Z6/nCl1y74ezl6/2UQA= 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/msm: Only fini scheduler after successful init msm_ringbuffer_new() destroys a partially initialized ring through msm_ringbuffer_destroy() when an allocation or scheduler setup step fails. If drm_sched_init() fails before it finishes initializing the scheduler, the failure path still calls drm_sched_fini(). That teardown path assumes the scheduler work items, lists, and workqueue state were initialized. Track successful scheduler initialization and call drm_sched_fini() only after drm_sched_init() returned 0. This issue was found by a static analysis checker and confirmed by manual source review. Patchwork: https://patchwork.freedesktop.org/patch/738905/ The Linux kernel CVE team has assigned CVE-2026-93058 to this issue. Affected and fixed versions =========================== Issue introduced in 5.15 with commit 1d8a5ca436ee4a28eec14cb813f790f7cdeeee19 and fixed in 6.18.52 with commit d43e1bbfd43458b9242806eec77ea3b032134baf Issue introduced in 5.15 with commit 1d8a5ca436ee4a28eec14cb813f790f7cdeeee19 and fixed in 7.2.6 with commit 09b360eb6ce345996a30fad8c86e9df80f41cd7e Issue introduced in 5.15 with commit 1d8a5ca436ee4a28eec14cb813f790f7cdeeee19 and fixed in 7.3-rc1 with commit e2332abed2a4d3caa59052095dc16e4ce44791ea 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-93058 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/msm/msm_ringbuffer.c drivers/gpu/drm/msm/msm_ringbuffer.h 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/d43e1bbfd43458b9242806eec77ea3b032134baf https://git.kernel.org/stable/c/09b360eb6ce345996a30fad8c86e9df80f41cd7e https://git.kernel.org/stable/c/e2332abed2a4d3caa59052095dc16e4ce44791ea