[<prev] [next>] [day] [month] [year] [list]
Message-ID: <2025091716-CVE-2022-50368-ae84@gregkh>
Date: Wed, 17 Sep 2025 16:56:27 +0200
From: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
To: linux-cve-announce@...r.kernel.org
Cc: Greg Kroah-Hartman <gregkh@...nel.org>
Subject: CVE-2022-50368: drm/msm/dsi: fix memory corruption with too many bridges
From: Greg Kroah-Hartman <gregkh@...nel.org>
Description
===========
In the Linux kernel, the following vulnerability has been resolved:
drm/msm/dsi: 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/502668/
The Linux kernel CVE team has assigned CVE-2022-50368 to this issue.
Affected and fixed versions
===========================
Issue introduced in 4.1 with commit a689554ba6ed81cf606c16539f6ffc2a1dcdaf8e and fixed in 4.19.264 with commit 4e5587cddb334f7a5bb1c49ea8bbfc966fafe1b8
Issue introduced in 4.1 with commit a689554ba6ed81cf606c16539f6ffc2a1dcdaf8e and fixed in 5.4.223 with commit f649ed0e1b7a1545f8e27267d3c468b3cb222ece
Issue introduced in 4.1 with commit a689554ba6ed81cf606c16539f6ffc2a1dcdaf8e and fixed in 5.10.153 with commit 21c4679af01f1027cb559330c2e7d410089b2b36
Issue introduced in 4.1 with commit a689554ba6ed81cf606c16539f6ffc2a1dcdaf8e and fixed in 5.15.77 with commit 9f035d1fb30648fe70ee01627eb131c56d699b35
Issue introduced in 4.1 with commit a689554ba6ed81cf606c16539f6ffc2a1dcdaf8e and fixed in 6.0.7 with commit e83b354890a3c1d5256162f87a6cc38c47ae7f20
Issue introduced in 4.1 with commit a689554ba6ed81cf606c16539f6ffc2a1dcdaf8e and fixed in 6.1 with commit 2e786eb2f9cebb07e317226b60054df510b60c65
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-50368
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/dsi/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/4e5587cddb334f7a5bb1c49ea8bbfc966fafe1b8
https://git.kernel.org/stable/c/f649ed0e1b7a1545f8e27267d3c468b3cb222ece
https://git.kernel.org/stable/c/21c4679af01f1027cb559330c2e7d410089b2b36
https://git.kernel.org/stable/c/9f035d1fb30648fe70ee01627eb131c56d699b35
https://git.kernel.org/stable/c/e83b354890a3c1d5256162f87a6cc38c47ae7f20
https://git.kernel.org/stable/c/2e786eb2f9cebb07e317226b60054df510b60c65
Powered by blists - more mailing lists