Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 D824727FB21 for ; Tue, 30 Dec 2025 12:15:00 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1767096900; cv=none; b=O+3VcDTpxbj3ITCJV+Zv+rK3xpBAddCz0dxs8NqyLRs5dsj+7kdumA07SzmhLRNWcfedGBgUWTG2IjQSERQEtVNQeFgzHlRlxn9gyvaEd3AS9Ek2H8WaqgvwiR7Me4JeONZCDxOg9nlHivQ6tYWhAPgwIihupvvMAsdWzwE/xN4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1767096900; c=relaxed/simple; bh=k7IZ2PlMvdfK9OdhmcHY+fWCdiEKDHbpPvXyaF3+/x0=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=ZDXQE86q7g3dT5rC9v0cg4ozLunSGsMdX0gcJezATHzDo2T1sAvEwiP5tZLG+oefDWqg3CJ3t7j5wjPjCPg8UFgDHkmdR+6LzGcR3BdV4a4lsUKczPGvxrLC9YUgw1QGplOFWOEC9wFAyqxM3Pd0Ks48N64P3A0rP7veaN3qHgM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=Eu9grRfF; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="Eu9grRfF" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 39996C4CEFB; Tue, 30 Dec 2025 12:15:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1767096900; bh=k7IZ2PlMvdfK9OdhmcHY+fWCdiEKDHbpPvXyaF3+/x0=; h=From:To:Cc:Subject:Date:Reply-To:From; b=Eu9grRfFrZSypbUKvblRQmWjVMvRy6mjYjyelH71s0S86hxLaFW2RCEF/ve339KXe UOrc7z6TEAvz5CbD033cCPeTwj8dVXiSUe3KlzzCumnEosOcnmRZTUV459zCaz0yis jcSM4Y/CnRxKdTQQEUYCx1cUwKtPDlv3z3F7B+DQ= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2023-54217: Revert "drm/msm: Add missing check and destroy for alloc_ordered_workqueue" Date: Tue, 30 Dec 2025 13:13:47 +0100 Message-ID: <2025123026-CVE-2023-54217-ff07@gregkh> X-Mailer: git-send-email 2.52.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=2635; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=yf9l7To67/aHZ+vJU7Vdi5wmzHeJE1a3p018dNutvP4=; b=owGbwMvMwCRo6H6F97bub03G02pJDJnBB5+t9+soE+u6e2JSRmY6V8aLpjf/VDbk+LKffpl5u HmGr+/RjlgWBkEmBlkxRZYv23iO7q84pOhlaHsaZg4rE8gQBi5OAZjIjxyG+SVKM1Jyz0hrFJV2 qfGvZAjeHpshybCg5bKf8w1V3fkSWx67vJjqdWHS6QIFAA== 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: Revert "drm/msm: Add missing check and destroy for alloc_ordered_workqueue" This reverts commit 643b7d0869cc7f1f7a5ac7ca6bd25d88f54e31d0. A recent patch that tried to fix up the msm_drm_init() paths with respect to the workqueue but only ended up making things worse: First, the newly added calls to msm_drm_uninit() on early errors would trigger NULL-pointer dereferences, for example, as the kms pointer would not have been initialised. (Note that these paths were also modified by a second broken error handling patch which in effect cancelled out this part when merged.) Second, the newly added allocation sanity check would still leak the previously allocated drm device. Instead of trying to salvage what was badly broken (and clearly not tested), let's revert the bad commit so that clean and backportable fixes can be added in its place. Patchwork: https://patchwork.freedesktop.org/patch/525107/ The Linux kernel CVE team has assigned CVE-2023-54217 to this issue. Affected and fixed versions =========================== Issue introduced in 6.3 with commit 643b7d0869cc7f1f7a5ac7ca6bd25d88f54e31d0 and fixed in 6.3.2 with commit 9078b434587722a6f2958dc1d536af6e39634db9 Issue introduced in 6.3 with commit 643b7d0869cc7f1f7a5ac7ca6bd25d88f54e31d0 and fixed in 6.4 with commit dfa70344d1b5f5ff08525a8c872c8dd5e82fc5d9 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-2023-54217 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_drv.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/9078b434587722a6f2958dc1d536af6e39634db9 https://git.kernel.org/stable/c/dfa70344d1b5f5ff08525a8c872c8dd5e82fc5d9