From mboxrd@z Thu Jan 1 00:00:00 1970 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 29C21433D4 for ; Wed, 1 May 2024 12:57:20 +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=1714568241; cv=none; b=g+hK0RhS+QMYVfn3Wp+zFjuym1+dPqiQBVYiDer1PhIQJzhz4sOLsvXp8BZMHUyDdiuhk+cZ85CtY/4mUS9cG8XhIsWE5xVzSucNbaULIv/lHdwaIZhhG3a+Wes9hfvEAyhfVCk4zbpfaoppmQf5pe+vPzNopwLePQdMeIYNYDg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714568241; c=relaxed/simple; bh=KLOn+x/+PZ4jkD+DQa0t1P9groPcDg369D1deg+9vCs=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=Vhat+xcjKlSegKO8JA+rJvcu5gndzicFk2trzonrWUFPYntBgappQHSHJ/KP2mD+DkEKD7A+4GYxRdp6cHICyCxlbmadtE6YTfFrZdkhTpsKRL3fKMiCvlEBCT+/Afgrff6g+th2YtrvrvjOzacnhl5rflJBqyPZZRchFYikYvw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=ffazJITP; 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="ffazJITP" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 4F814C113CC; Wed, 1 May 2024 12:57:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1714568240; bh=KLOn+x/+PZ4jkD+DQa0t1P9groPcDg369D1deg+9vCs=; h=From:To:Cc:Subject:Date:Reply-to:From; b=ffazJITPEDFzVhtG1Hzau64208x/n9NFSHFBiWijDzMI0H6XF7XH4gWEKqmyAytNb BiDzELfNqLW1jWauKEbHEEXc2ceO46cQVnBJp2Aj2PaL02T7995jb3xIcAx0XbA02s YyKZ4Wx7vhMbrHiaYAnMHvyrHv8z9noJ7icwQE/w= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2023-52650: drm/tegra: dsi: Add missing check for of_find_device_by_node Date: Wed, 1 May 2024 14:57:11 +0200 Message-ID: <2024050109-CVE-2023-52650-e2d1@gregkh> X-Mailer: git-send-email 2.44.0 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=3008; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=KLOn+x/+PZ4jkD+DQa0t1P9groPcDg369D1deg+9vCs=; b=owGbwMvMwCRo6H6F97bub03G02pJDGlGNmrlcw3iSj/3bPPUXf9UIecE86YDVj+kE/m4mj5zx 1uuvxHTEcvCIMjEICumyPJlG8/R/RWHFL0MbU/DzGFlAhnCwMUpABMJ9GOYX7lCZd6Rf9NmKbzi k5xx4OhCqaWp3xnmx57PkDwaE/35m+LnRQ9Lk49qXld6DQA= 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/tegra: dsi: Add missing check for of_find_device_by_node Add check for the return value of of_find_device_by_node() and return the error if it fails in order to avoid NULL pointer dereference. The Linux kernel CVE team has assigned CVE-2023-52650 to this issue. Affected and fixed versions =========================== Issue introduced in 3.19 with commit e94236cde4d5 and fixed in 4.19.311 with commit 47a13d0b9d85 Issue introduced in 3.19 with commit e94236cde4d5 and fixed in 5.4.273 with commit f05631a8525c Issue introduced in 3.19 with commit e94236cde4d5 and fixed in 5.10.214 with commit 92003981a6df Issue introduced in 3.19 with commit e94236cde4d5 and fixed in 5.15.153 with commit 93128052bf83 Issue introduced in 3.19 with commit e94236cde4d5 and fixed in 6.1.83 with commit 50c0ad785a78 Issue introduced in 3.19 with commit e94236cde4d5 and fixed in 6.6.23 with commit 52aa507148c4 Issue introduced in 3.19 with commit e94236cde4d5 and fixed in 6.7.11 with commit c5d2342d24ef Issue introduced in 3.19 with commit e94236cde4d5 and fixed in 6.8.2 with commit 3169eaf13655 Issue introduced in 3.19 with commit e94236cde4d5 and fixed in 6.9-rc1 with commit afe6fcb97758 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-52650 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/tegra/dsi.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/47a13d0b9d8527518639ab5c39667f69d6203e80 https://git.kernel.org/stable/c/f05631a8525c3b5e5994ecb1304d2d878956c0f5 https://git.kernel.org/stable/c/92003981a6df5dc84af8a5904f8ee112fa324129 https://git.kernel.org/stable/c/93128052bf832359531c3c0a9e3567b2b8682a2d https://git.kernel.org/stable/c/50c0ad785a780c72a2fdaba10b38c645ffb4eae6 https://git.kernel.org/stable/c/52aa507148c4aad41436e2005d742ffcafad9976 https://git.kernel.org/stable/c/c5d2342d24ef6e08fc90a529fe3dc59de421a2b9 https://git.kernel.org/stable/c/3169eaf1365541fd8e521091010c44fbe14691fc https://git.kernel.org/stable/c/afe6fcb9775882230cd29b529203eabd5d2a638d