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 88A332BE02D for ; Wed, 24 Dec 2025 13:06:52 +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=1766581612; cv=none; b=tXB/IIZCxjXAfseAk7sPy8XZ38kx5N5ek6jmi1vwJxgzalie+5elP7Ptz/bzeXNR4x2KoRYehil4GJYRwTKXRfk1pcYE8jIgbJjiukDwHH72aM6giEMhL6WC+IeCgYCwLzqYlf8qNf1Pyx9XCdfIvSHgkNnD3hLRxB49E9pOuas= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1766581612; c=relaxed/simple; bh=10539qsfpuseMOW7QVgHRH4mr6vKZIcYS2XCGVvE8GQ=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=uI5t79xy9JsPmkKXCo8deSSOMP8tBDOWua1rSPvzblKiO8QmfYJ2xTb9xAu8cJz710DTSKMGfOdDUtxY0kxujI4Zg5CJTwwPsbfSO2Z+2n/yy0lBgBbNCoKMobq53lUd/ARvfp2UF75/gKypYdC2Nbpb1Sfmx5imtywSYDVS/4U= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=jTjF/xLL; 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="jTjF/xLL" Received: by smtp.kernel.org (Postfix) with ESMTPSA id BFB67C4CEFB; Wed, 24 Dec 2025 13:06:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1766581612; bh=10539qsfpuseMOW7QVgHRH4mr6vKZIcYS2XCGVvE8GQ=; h=From:To:Cc:Subject:Date:Reply-To:From; b=jTjF/xLLNNZKzN61247yNguBOXkauR38UUFlmvE+f4VYx026In8CPE2oP5gltxmSv 8RIu1wyRy0o/Xt7UJ2JqBKPF6zaaGuRR5qTJ7K9ReyZEdnNCXnURukcWKFh7Ja2J5a gdSbTvuOazlv7YnlHoX3Np9QCforL9gMs3Hbzqmg= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2022-50750: drm/panel/panel-sitronix-st7701: Remove panel on DSI attach failure Date: Wed, 24 Dec 2025 14:06:01 +0100 Message-ID: <2025122451-CVE-2022-50750-5395@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=2783; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=BZFNoWzRcRltfdSQn4ujMZqXq1nUWVeDDqHHrUi8oY4=; b=owGbwMvMwCRo6H6F97bub03G02pJDJneT/WvPZ2zhWuqwMbtf3x/lnok+yhPNGtPTMtRPqvnG HCnf7FORywLgyATg6yYIsuXbTxH91ccUvQytD0NM4eVCWQIAxenAEzkeTDDgvPnK8O0Mr186z5e 4a+XjXAy5ZinzzA/WsyJR/nYB5ZjN9SCkpIfqjTP3rIAAA== 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/panel/panel-sitronix-st7701: Remove panel on DSI attach failure In case mipi_dsi_attach() fails, call drm_panel_remove() to avoid memory leak. The Linux kernel CVE team has assigned CVE-2022-50750 to this issue. Affected and fixed versions =========================== Issue introduced in 5.1 with commit 849b2e3ff9698226ab91e034d52cbb1da92a5b4c and fixed in 5.4.229 with commit 0b7c47b7f358f932159a9d5beec9616ef8a0c6b4 Issue introduced in 5.1 with commit 849b2e3ff9698226ab91e034d52cbb1da92a5b4c and fixed in 5.10.163 with commit 576828e59a0e03bbc763872912b04f3e3a1b3311 Issue introduced in 5.1 with commit 849b2e3ff9698226ab91e034d52cbb1da92a5b4c and fixed in 5.15.86 with commit 13fc167e1645c43c631d7752d98e377f0e4cbb15 Issue introduced in 5.1 with commit 849b2e3ff9698226ab91e034d52cbb1da92a5b4c and fixed in 6.0.16 with commit 23fddf78eac8d79c56f93ab69b6c47a0816967c9 Issue introduced in 5.1 with commit 849b2e3ff9698226ab91e034d52cbb1da92a5b4c and fixed in 6.1.2 with commit 465611e812587e72bf235034edce0e51be3d6809 Issue introduced in 5.1 with commit 849b2e3ff9698226ab91e034d52cbb1da92a5b4c and fixed in 6.2 with commit c62102165dd79284d42383d2f7ed17301bd8e629 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-2022-50750 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/panel/panel-sitronix-st7701.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/0b7c47b7f358f932159a9d5beec9616ef8a0c6b4 https://git.kernel.org/stable/c/576828e59a0e03bbc763872912b04f3e3a1b3311 https://git.kernel.org/stable/c/13fc167e1645c43c631d7752d98e377f0e4cbb15 https://git.kernel.org/stable/c/23fddf78eac8d79c56f93ab69b6c47a0816967c9 https://git.kernel.org/stable/c/465611e812587e72bf235034edce0e51be3d6809 https://git.kernel.org/stable/c/c62102165dd79284d42383d2f7ed17301bd8e629