CVE-2022-50368 drm/msm/dsi: fix memory corruption with too many bridges
A missing sanity check in the Linux kernel's DSI driver allows memory corruption when too many bridges are present, potentially enabling code execution or privilege escalation.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2022-50368?
CVE-2022-50368 is a high-severity memory corruption vulnerability in Linux kernel, published on 17 Sep 2025. It can only be exploited from the same machine or local network, with no action from the victim.
Official 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/
Weakness: CWE-787
Which versions are affected by CVE-2022-50368?
It affects 1 product.
Products include Linux kernel.
How do I fix CVE-2022-50368?
Apply the vendor's patch.
Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.
Is CVE-2022-50368 being exploited?
There is no known exploitation of CVE-2022-50368 in the wild and no public exploit code.
Other vulnerabilities in Linux kernel
Sources
Also known as DEBIAN-CVE-2022-50368, GHSA-3gq4-7fhw-289m, UBUNTU-CVE-2022-50368.