# CVE-2022-50176: drm/mcde: Fix refcount leak in mcde\_dsi\_bind

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

- **Severity:** MEDIUM 5.5
- **CVSS:** 5.5 (v3.1, NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: None; Availability impact: None
- **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.28% (percentile 13, 2026-11-26)
- **Published:** 2025-06-18T11:03:26.972Z
- **Modified:** 2026-11-05T20:17:26.213Z

## Who should check

- Anyone running Linux \>= 5fc537bfd00033a3f813330175f7f12c25957ebf, \< 87c35bbefdfa3c5edfb8c80f5c04717aaacc629d; \>= 5fc537bfd00033a3f813330175f7f12c25957ebf, \< f57699a9b66ea11f000f56d1f1179059239b8690; \>= 5fc537bfd00033a3f813330175f7f12c25957ebf, \< 3123ae6fdd4013d24a3a4877084b14e917faae5c; \>= 5fc537bfd00033a3f813330175f7f12c25957ebf, \< 7214902de5b1fb2b632a7b8b3b9540e41aabab38; \>= 5fc537bfd00033a3f813330175f7f12c25957ebf, \< 32c827e30bb44ae809950a9efab59e98e44d30e5; \>= 5fc537bfd00033a3f813330175f7f12c25957ebf, \< 3a149169e4a2f9127022fec6ef5d71b4e804b3b9
- Anyone running Linux 5.3

## Description

In the Linux kernel, the following vulnerability has been resolved:

drm/mcde: Fix refcount leak in mcde\_dsi\_bind

Every iteration of for\_each\_available\_child\_of\_node() decrements
the reference counter of the previous node. There is no decrement
when break out from the loop and results in refcount leak.
Add missing of\_node\_put() to fix this.

## Affected and fixed versions

- Linux: \>= 5fc537bfd00033a3f813330175f7f12c25957ebf, \< 87c35bbefdfa3c5edfb8c80f5c04717aaacc629d; \>= 5fc537bfd00033a3f813330175f7f12c25957ebf, \< f57699a9b66ea11f000f56d1f1179059239b8690; \>= 5fc537bfd00033a3f813330175f7f12c25957ebf, \< 3123ae6fdd4013d24a3a4877084b14e917faae5c; \>= 5fc537bfd00033a3f813330175f7f12c25957ebf, \< 7214902de5b1fb2b632a7b8b3b9540e41aabab38; \>= 5fc537bfd00033a3f813330175f7f12c25957ebf, \< 32c827e30bb44ae809950a9efab59e98e44d30e5; \>= 5fc537bfd00033a3f813330175f7f12c25957ebf, \< 3a149169e4a2f9127022fec6ef5d71b4e804b3b9 (cvelist)
- Linux: 5.3 (cvelist)

## Mitigation

- Upgrade Linux to 3a149169e4a2f9127022fec6ef5d71b4e804b3b9 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-50176. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2022-50176.md
Affected: Linux >= 5fc537bfd00033a3f813330175f7f12c25957ebf, < 87c35bbefdfa3c5edfb8c80f5c04717aaacc629d; >= 5fc537bfd00033a3f813330175f7f12c25957ebf, < f57699a9b66ea11f000f56d1f1179059239b8690; >= 5fc537bfd00033a3f813330175f7f12c25957ebf, < 3123ae6fdd4013d24a3a4877084b14e917faae5c; >= 5fc537bfd00033a3f813330…
Fixed in: Linux 87c35bbefdfa3c5edfb8c80f5c04717aaacc629d, Linux 3123ae6fdd4013d24a3a4877084b14e917faae5c, Linux 7214902de5b1fb2b632a7b8b3b9540e41aabab38, Linux 32c827e30bb44ae809950a9efab59e98e44d30e5, Linux 3a149169e4a2f9127022fec6ef5d71b4e804b3b9

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-50176 being exploited?

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

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

Medium: CVSS 5.5 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).

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

Linux \>= 5fc537bfd00033a3f813330175f7f12c25957ebf, \< 87c35bbefdfa3c5edfb8c80f5c04717aaacc629d; \>= 5fc537bfd00033a3f813330175f7f12c25957ebf, \< f57699a9b66ea11f000f56d1f1179059239b8690; \>= 5fc537bfd00033a3f813330175f7f12c25957ebf, \< 3123ae6fdd4013d24a3a4877084b14e917faae5c; \>= 5fc537bfd00033a3f813330175f7f12c25957ebf, \< 7214902de5b1fb2b632a7b8b3b9540e41aabab38; \>= 5fc537bfd00033a3f813330175f7f12c25957ebf, \< 32c827e30bb44ae809950a9efab59e98e44d30e5; \>= 5fc537bfd00033a3f813330175f7f12c25957ebf, \< 3a149169e4a2f9127022fec6ef5d71b4e804b3b9; Linux 5.3.

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

Yes. Fixed in Linux 87c35bbefdfa3c5edfb8c80f5c04717aaacc629d, Linux 3123ae6fdd4013d24a3a4877084b14e917faae5c, Linux 7214902de5b1fb2b632a7b8b3b9540e41aabab38, Linux 32c827e30bb44ae809950a9efab59e98e44d30e5, Linux 3a149169e4a2f9127022fec6ef5d71b4e804b3b9. Upgrade Linux to 3a149169e4a2f9127022fec6ef5d71b4e804b3b9 or later.

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

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/87c35bbefdfa3c5edfb8c80f5c04717aaacc629d>
- patch: <https://git.kernel.org/stable/c/f57699a9b66ea11f000f56d1f1179059239b8690>
- patch: <https://git.kernel.org/stable/c/3123ae6fdd4013d24a3a4877084b14e917faae5c>
- patch: <https://git.kernel.org/stable/c/7214902de5b1fb2b632a7b8b3b9540e41aabab38>
- patch: <https://git.kernel.org/stable/c/32c827e30bb44ae809950a9efab59e98e44d30e5>
- patch: <https://git.kernel.org/stable/c/3a149169e4a2f9127022fec6ef5d71b4e804b3b9>

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

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