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 C79DA2DEA9D for ; Wed, 1 Oct 2025 11:51:49 +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=1759319509; cv=none; b=nbcnB7UMyrCnMMstd4a7Uv0bB7zHj4DuoLXpQA1BGqzfe1lArLlgz7CRt+i4ILsnQkME3tuOqgVe4i16uEqbhoNlslRvPm3jsjPPc+1pbcvJw+mPrsLz3n8SLKomz3WNIbVnzn6wmn0ZY0fvU+zZ3Faq5FaDuvskrOuFD5FfCsc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1759319509; c=relaxed/simple; bh=oo+cZqQ2Yn4FZolc/S/uAc96IiRI3BOOawbvw8qGmmk=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=YekhDpftXPYuRf7b8tLgpoXsPIwjHq9zdS1bgL0nhpzdqDGsnrjNQOLb26h1e2yCsYIVB5UWruOogYOIlXZSEE9cB4CkoXPLmsHCP5/qXgfzKpl2JzlZCvYnbMhABb7zWSdsdZEFp6dxOrX9NX+3jXUgBer+t4KSDf2pj0EQd5A= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=KS5kLA9j; 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="KS5kLA9j" Received: by smtp.kernel.org (Postfix) with ESMTPSA id D1804C4CEF4; Wed, 1 Oct 2025 11:51:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1759319509; bh=oo+cZqQ2Yn4FZolc/S/uAc96IiRI3BOOawbvw8qGmmk=; h=From:To:Cc:Subject:Date:Reply-to:From; b=KS5kLA9jUEDs1wRDJJgogjF6cEN8BBVZr7uexXC8z3CkgG0/42T5TD+w2oSaygWo1 aQxLyB0qs2FbWt1TYBROnqVTg1Hm7eQWcBJxW0oFPNzmizRMpM8dswmcuHbIQ1AZd9 1mQoVVVGhT/+4TmpNpO976f6DqMlCO/ODUjNvrp8= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2022-50437: drm/msm/hdmi: fix memory corruption with too many bridges Date: Wed, 1 Oct 2025 13:42:10 +0200 Message-ID: <2025100100-CVE-2022-50437-440f@gregkh> X-Mailer: git-send-email 2.51.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=3370; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=UNKtYEk57KPAnksUw1G2l0HFLeUAHZTh+i6bipGgYm4=; b=owGbwMvMwCRo6H6F97bub03G02pJDBl3hTvkW35sntkvkXBMM2PR1L5FrLu9X1n4uXLft7ly7 Pi8dSc2dcSyMAgyMciKKbJ82cZzdH/FIUUvQ9vTMHNYmUCGMHBxCsBE+lcwzM/jCn2beHFRcWsL m2FS9WGGJ74vNzAsuLH24TpLb9EnxWcWC9t/eWZ0PXtBKwA= 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/msm/hdmi: fix memory corruption with too many bridges Add the missing sanity check on the bridge counter to avoid corrupting data beyond the fixed-sized bridge array in case there are ever more than eight bridges. Patchwork: https://patchwork.freedesktop.org/patch/502670/ The Linux kernel CVE team has assigned CVE-2022-50437 to this issue. Affected and fixed versions =========================== Issue introduced in 3.12 with commit a3376e3ec81c5dd0622cbc187db76d2824d31c1c and fixed in 4.9.332 with commit a9c1a6991a9b5aa6d0f2cbc9b8c3bf6c4d094dfa Issue introduced in 3.12 with commit a3376e3ec81c5dd0622cbc187db76d2824d31c1c and fixed in 4.14.298 with commit e8f916b84e4b028ecad6c6472eaad543cc7df806 Issue introduced in 3.12 with commit a3376e3ec81c5dd0622cbc187db76d2824d31c1c and fixed in 4.19.264 with commit 3c43f3ec731c233eb84b66199ee76dbf3ec6ecae Issue introduced in 3.12 with commit a3376e3ec81c5dd0622cbc187db76d2824d31c1c and fixed in 5.4.223 with commit ed7f1ff87a4afea1bc220d2ff00a7ce8e61f0b53 Issue introduced in 3.12 with commit a3376e3ec81c5dd0622cbc187db76d2824d31c1c and fixed in 5.10.153 with commit 08c7375fa27a8ceee028868e03ffb3a0db919d44 Issue introduced in 3.12 with commit a3376e3ec81c5dd0622cbc187db76d2824d31c1c and fixed in 5.15.77 with commit b48949ab451eaf1e2c04c272c8a9a96a2b56546f Issue introduced in 3.12 with commit a3376e3ec81c5dd0622cbc187db76d2824d31c1c and fixed in 6.0.7 with commit 9efb45b45ff6254bfd1f1997a06725cb3fc998a5 Issue introduced in 3.12 with commit a3376e3ec81c5dd0622cbc187db76d2824d31c1c and fixed in 6.1 with commit 4c1294da6aed1f16d47a417dcfe6602833c3c95c 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-50437 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/hdmi/hdmi.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/a9c1a6991a9b5aa6d0f2cbc9b8c3bf6c4d094dfa https://git.kernel.org/stable/c/e8f916b84e4b028ecad6c6472eaad543cc7df806 https://git.kernel.org/stable/c/3c43f3ec731c233eb84b66199ee76dbf3ec6ecae https://git.kernel.org/stable/c/ed7f1ff87a4afea1bc220d2ff00a7ce8e61f0b53 https://git.kernel.org/stable/c/08c7375fa27a8ceee028868e03ffb3a0db919d44 https://git.kernel.org/stable/c/b48949ab451eaf1e2c04c272c8a9a96a2b56546f https://git.kernel.org/stable/c/9efb45b45ff6254bfd1f1997a06725cb3fc998a5 https://git.kernel.org/stable/c/4c1294da6aed1f16d47a417dcfe6602833c3c95c