# CVE-2022-50437: drm/msm/hdmi: fix memory corruption with too many bridges

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.8
- **CVSS:** 7.8 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.24% (percentile 9, 2026-11-26)
- **CWE:** CWE-787
- **Published:** 2025-10-01T11:42:14.400Z
- **Modified:** 2026-08-05T08:58:47.939Z

## Who should check

- Anyone running Linux \>= a3376e3ec81c5dd0622cbc187db76d2824d31c1c, \< a9c1a6991a9b5aa6d0f2cbc9b8c3bf6c4d094dfa; \>= a3376e3ec81c5dd0622cbc187db76d2824d31c1c, \< e8f916b84e4b028ecad6c6472eaad543cc7df806; \>= a3376e3ec81c5dd0622cbc187db76d2824d31c1c, \< 3c43f3ec731c233eb84b66199ee76dbf3ec6ecae; \>= a3376e3ec81c5dd0622cbc187db76d2824d31c1c, \< ed7f1ff87a4afea1bc220d2ff00a7ce8e61f0b53; \>= a3376e3ec81c5dd0622cbc187db76d2824d31c1c, \< 08c7375fa27a8ceee028868e03ffb3a0db919d44; \>= a3376e3ec81c5dd0622cbc187db76d2824d31c1c, \< b48949ab451eaf1e2c04c272c8a9a96a2b56546f; \>= a3376e3ec81c5dd0622cbc187db76d2824d31c1c, \< 9efb45b45ff6254bfd1f1997a06725cb3fc998a5; \>= a3376e3ec81c5dd0622cbc187db76d2824d31c1c, \< 4c1294da6aed1f16d47a417dcfe6602833c3c95c
- Anyone running Linux 3.12

## 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/

## Affected and fixed versions

- Linux: \>= a3376e3ec81c5dd0622cbc187db76d2824d31c1c, \< a9c1a6991a9b5aa6d0f2cbc9b8c3bf6c4d094dfa; \>= a3376e3ec81c5dd0622cbc187db76d2824d31c1c, \< e8f916b84e4b028ecad6c6472eaad543cc7df806; \>= a3376e3ec81c5dd0622cbc187db76d2824d31c1c, \< 3c43f3ec731c233eb84b66199ee76dbf3ec6ecae; \>= a3376e3ec81c5dd0622cbc187db76d2824d31c1c, \< ed7f1ff87a4afea1bc220d2ff00a7ce8e61f0b53; \>= a3376e3ec81c5dd0622cbc187db76d2824d31c1c, \< 08c7375fa27a8ceee028868e03ffb3a0db919d44; \>= a3376e3ec81c5dd0622cbc187db76d2824d31c1c, \< b48949ab451eaf1e2c04c272c8a9a96a2b56546f; \>= a3376e3ec81c5dd0622cbc187db76d2824d31c1c, \< 9efb45b45ff6254bfd1f1997a06725cb3fc998a5; \>= a3376e3ec81c5dd0622cbc187db76d2824d31c1c, \< 4c1294da6aed1f16d47a417dcfe6602833c3c95c (cvelist)
- Linux: 3.12 (cvelist)

## Mitigation

- Upgrade Linux to 4c1294da6aed1f16d47a417dcfe6602833c3c95c or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2022-50437. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2022-50437.md
Affected: Linux >= a3376e3ec81c5dd0622cbc187db76d2824d31c1c, < a9c1a6991a9b5aa6d0f2cbc9b8c3bf6c4d094dfa; >= a3376e3ec81c5dd0622cbc187db76d2824d31c1c, < e8f916b84e4b028ecad6c6472eaad543cc7df806; >= a3376e3ec81c5dd0622cbc187db76d2824d31c1c, < 3c43f3ec731c233eb84b66199ee76dbf3ec6ecae; >= a3376e3ec81c5dd0622cbc1…
Fixed in: Linux 3c43f3ec731c233eb84b66199ee76dbf3ec6ecae, Linux 08c7375fa27a8ceee028868e03ffb3a0db919d44, Linux 9efb45b45ff6254bfd1f1997a06725cb3fc998a5, Linux 4c1294da6aed1f16d47a417dcfe6602833c3c95c

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2022-50437 being exploited?

There is no confirmed exploitation: CVE-2022-50437 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.24% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2022-50437?

High: CVSS 7.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2022-50437?

Linux \>= a3376e3ec81c5dd0622cbc187db76d2824d31c1c, \< a9c1a6991a9b5aa6d0f2cbc9b8c3bf6c4d094dfa; \>= a3376e3ec81c5dd0622cbc187db76d2824d31c1c, \< e8f916b84e4b028ecad6c6472eaad543cc7df806; \>= a3376e3ec81c5dd0622cbc187db76d2824d31c1c, \< 3c43f3ec731c233eb84b66199ee76dbf3ec6ecae; \>= a3376e3ec81c5dd0622cbc187db76d2824d31c1c, \< ed7f1ff87a4afea1bc220d2ff00a7ce8e61f0b53; \>= a3376e3ec81c5dd0622cbc187db76d2824d31c1c, \< 08c7375fa27a8ceee028868e03ffb3a0db919d44; \>= a3376e3ec81c5dd0622cbc187db76d2824d31c1c, \< b48949ab451eaf1e2c04c272c8a9a96a2b56546f; \>= a3376e3ec81c5dd0622cbc187db76d2824d31c1c, \< 9efb45b45ff6254bfd1f1997a06725cb3fc998a5; \>= a3376e3ec81c5dd0622cbc187db76d2824d31c1c, \< 4c1294da6aed1f16d47a417dcfe6602833c3c95c; Linux 3.12.

### Is there a fix for CVE-2022-50437?

Yes. Fixed in Linux 3c43f3ec731c233eb84b66199ee76dbf3ec6ecae, Linux 08c7375fa27a8ceee028868e03ffb3a0db919d44, Linux 9efb45b45ff6254bfd1f1997a06725cb3fc998a5, Linux 4c1294da6aed1f16d47a417dcfe6602833c3c95c. Upgrade Linux to 4c1294da6aed1f16d47a417dcfe6602833c3c95c or later.

### How do I check if I'm affected by CVE-2022-50437?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://git.kernel.org/stable/c/a9c1a6991a9b5aa6d0f2cbc9b8c3bf6c4d094dfa>
- patch: <https://git.kernel.org/stable/c/e8f916b84e4b028ecad6c6472eaad543cc7df806>
- patch: <https://git.kernel.org/stable/c/3c43f3ec731c233eb84b66199ee76dbf3ec6ecae>
- patch: <https://git.kernel.org/stable/c/ed7f1ff87a4afea1bc220d2ff00a7ce8e61f0b53>
- patch: <https://git.kernel.org/stable/c/08c7375fa27a8ceee028868e03ffb3a0db919d44>
- patch: <https://git.kernel.org/stable/c/b48949ab451eaf1e2c04c272c8a9a96a2b56546f>
- patch: <https://git.kernel.org/stable/c/9efb45b45ff6254bfd1f1997a06725cb3fc998a5>
- patch: <https://git.kernel.org/stable/c/4c1294da6aed1f16d47a417dcfe6602833c3c95c>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2022-50437>

HTML: <https://flawdb.com/CVE-2022-50437> · JSON: <https://flawdb.com/api/v1/entries/CVE-2022-50437>
