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 112F014601D for ; Tue, 21 May 2024 15:37:25 +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=1716305845; cv=none; b=F/pEWrNEN+iN5a+yiv5MSjigSvUDeYeLQT1dXoZSzgaqFwbabrfopc3NUGBSTq8NC7Eh2hFMpbi7JcwlXkXzwfeBZstoi9sadHtETpCNiRE4I/4aUIWgiqCalFmJLuWoPkgMptxCUenqEWRGnCvWMkDLI6BR5DiVLz/g9uYgApU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716305845; c=relaxed/simple; bh=lvAkXBbwaQ8nFAqKQ2iLLWY9ZRD6kajhldnN7DtR7Wk=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=YrWD61cFaFy7wUzJFsd1f1SNTybJz4s7Iml+Nxst0j99TEjkKgZy6O1VELz6KuwZs+RKGBiLogDWpUEaSn1FH+WG8n5FxUJaKUD9ltV31JAYpGr5kALXog8EgAcegcm+uksI704qdO6yQA6yQbOKKXtqrC54Q0T/iwqrudCQhDw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=lcGtoN95; 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="lcGtoN95" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 85E82C2BD11; Tue, 21 May 2024 15:37:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1716305844; bh=lvAkXBbwaQ8nFAqKQ2iLLWY9ZRD6kajhldnN7DtR7Wk=; h=From:To:Cc:Subject:Date:Reply-to:From; b=lcGtoN95ttdtIX8fqTsOD9Zx0edq0dOhty3xzGL4pg/CgGrwMAgOWfWZ9OUZdRWS2 TL9na3U4OwyIiHcFuEXV3ecxJFVCfcFhrytsGvHdm2MIGRZP2NpF5xBHhMedLCuueZ iMcyt5JkZMJ3F+drzgPtPAanbx70JBjoqOMxVzMs= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2023-52826: drm/panel/panel-tpo-tpg110: fix a possible null pointer dereference Date: Tue, 21 May 2024 17:32:02 +0200 Message-ID: <2024052107-CVE-2023-52826-9960@gregkh> X-Mailer: git-send-email 2.45.1 Precedence: bulk X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Reply-to: , X-Developer-Signature: v=1; a=openpgp-sha256; l=2239; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=lvAkXBbwaQ8nFAqKQ2iLLWY9ZRD6kajhldnN7DtR7Wk=; b=owGbwMvMwCRo6H6F97bub03G02pJDGk++6yN/a3Mcg6IFViGPWc8V2e6fFLzrY27Py42smkV+ hbwwm1aRywLgyATg6yYIsuXbTxH91ccUvQytD0NM4eVCWQIAxenAEzk2VuGeZr/ZNPfJ5iWLVxZ 76HzQPcKx/8YT4a5EpFlx3+YKJlkLrg6xa8nW2pf0ZoXAA== X-Developer-Key: i=gregkh@linuxfoundation.org; a=openpgp; fpr=F4B60CC5BF78C2214A313DCB3147D40DDB2DFB29 Content-Transfer-Encoding: 8bit Description =========== In the Linux kernel, the following vulnerability has been resolved: drm/panel/panel-tpo-tpg110: fix a possible null pointer dereference In tpg110_get_modes(), the return value of drm_mode_duplicate() is assigned to mode, which will lead to a NULL pointer dereference on failure of drm_mode_duplicate(). Add a check to avoid npd. The Linux kernel CVE team has assigned CVE-2023-52826 to this issue. Affected and fixed versions =========================== Fixed in 5.10.202 with commit 9acc2bc00135 Fixed in 5.15.140 with commit 84c923d89890 Fixed in 6.1.64 with commit d0bc9ab0a161 Fixed in 6.5.13 with commit 9268bfd76beb Fixed in 6.6.3 with commit eaede6900c09 Fixed in 6.7 with commit f22def5970c4 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-52826 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-tpo-tpg110.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/9acc2bc00135e9ecd13a70ce1140e2673e504cdc https://git.kernel.org/stable/c/84c923d898905187ebfd4c0ef38cd1450af7e0ea https://git.kernel.org/stable/c/d0bc9ab0a161a9745273f5bf723733a8e6c57aca https://git.kernel.org/stable/c/9268bfd76bebc85ff221691b61498cc16d75451c https://git.kernel.org/stable/c/eaede6900c0961b072669d6bd97fe8f90ed1900f https://git.kernel.org/stable/c/f22def5970c423ea7f87d5247bd0ef91416b0658