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 187E0FC0C for ; Thu, 20 Jun 2024 11:16:38 +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=1718882199; cv=none; b=BqC6UYZTPoZzoKsmitG2XsvhzNyA4MZDksnAGEkMGswGMA/7KXYcse5C39fr5pJ3SLDDTXBtzwrk3aApy1AuFjl0WKmE/bEX/niBpmO6rsyY54xX6HGq0mYCaBje17s3Fn161HH/ktcoFQlyb0Q9OHoAEYepS8HtUd3fTNs0tsQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718882199; c=relaxed/simple; bh=4AHjo/eOO7EKsfIGjuxUnuaD7jOWLIAv3bFWnRULKoA=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=YswEt68TtznR6IVYJObafZ4KYIDIqLgJG/YBJvesMBBnz54t3faAlAsYuFZWWd98HA1B/aBAWFmTaTe7R+gtD7sqXdm+IXDLBdMWv2kvNkd64+ErQFpsS6oHzf1R1y39XyRqC/FX120zt6k5PSAUu3Hk4daRZU3OCFYMyUZcBJM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=wrbqNxpg; 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="wrbqNxpg" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 36CE7C2BD10; Thu, 20 Jun 2024 11:16:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1718882198; bh=4AHjo/eOO7EKsfIGjuxUnuaD7jOWLIAv3bFWnRULKoA=; h=From:To:Cc:Subject:Date:Reply-to:From; b=wrbqNxpg9KtrmYHvK7dSGC9HrO7P8wtkOASEi1181gcAAEYAB/v9boq3flE997woW LjR/Oz87xuetnhg1Pzvxa3BGBML2Oo4iQCOloEUP/RHp4Xm9ff7yY4gXerJef5JZaB 3ram6eUV1E/2zmBLnz1FJ2dKvupCkTCW1/bPL/A8= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2022-48718: drm: mxsfb: Fix NULL pointer dereference Date: Thu, 20 Jun 2024 13:15:58 +0200 Message-ID: <2024062056-CVE-2022-48718-1d94@gregkh> X-Mailer: git-send-email 2.45.2 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=1961; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=4AHjo/eOO7EKsfIGjuxUnuaD7jOWLIAv3bFWnRULKoA=; b=owGbwMvMwCRo6H6F97bub03G02pJDGkl/Dl/2Tp2ypWtP6V1/p+y0/Rqi3eF1p8vX45q7xK8L 6s2+1F1RywLgyATg6yYIsuXbTxH91ccUvQytD0NM4eVCWQIAxenAEzk/yWG2aw5vz2W7hLMmbV3 hXT6RKWUDGVWPoZ5llv+lc0qiBRfPXHH/OrgQun3bWe0AA== 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: mxsfb: Fix NULL pointer dereference mxsfb should not ever dereference the NULL pointer which drm_atomic_get_new_bridge_state is allowed to return. Assume a fixed format instead. The Linux kernel CVE team has assigned CVE-2022-48718 to this issue. Affected and fixed versions =========================== Issue introduced in 5.15 with commit b776b0f00f24 and fixed in 5.15.27 with commit 86a337bb8030 Issue introduced in 5.15 with commit b776b0f00f24 and fixed in 5.16.8 with commit 6f9267e01cca Issue introduced in 5.15 with commit b776b0f00f24 and fixed in 5.17 with commit 622c9a3a7868 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-48718 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/mxsfb/mxsfb_kms.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/86a337bb803040e4401b87c974a7fb92efe3d0e1 https://git.kernel.org/stable/c/6f9267e01cca749137349d8ffb0d0ebbadf567f4 https://git.kernel.org/stable/c/622c9a3a7868e1eeca39c55305ca3ebec4742b64