# CVE-2022-50522: mcb: mcb-parse: fix error handing in chameleon\_parse\_gdd()

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

- **Severity:** LOW 3.3
- **CVSS:** 3.3 (v3.1, NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: Low; 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.22% (percentile 7, 2026-11-26)
- **Published:** 2025-10-07T15:19:15.923Z
- **Modified:** 2026-06-17T05:23:43.143Z

## Who should check

- Anyone running Linux \>= 3764e82e5150d87b205c10cd78a9c9ab86fbfa51, \< 891f606ae0765bc9ca99f5276735be4d338f0255; \>= 3764e82e5150d87b205c10cd78a9c9ab86fbfa51, \< cf6e70c0ced50b52415ac0c88eba1fb09c500a5a; \>= 3764e82e5150d87b205c10cd78a9c9ab86fbfa51, \< fd85ece416fd7edb945203e59d4cd94952f77e7c; \>= 3764e82e5150d87b205c10cd78a9c9ab86fbfa51, \< 110dc34c9fa33d37f55b394b1199ea6c0ad1ee84; \>= 3764e82e5150d87b205c10cd78a9c9ab86fbfa51, \< 7b289b791a59386dc23a00d3cf17a0db984b40d3; \>= 3764e82e5150d87b205c10cd78a9c9ab86fbfa51, \< 43bfc7c2402a22d3b4eb08c040f274ba2b76461a; \>= 3764e82e5150d87b205c10cd78a9c9ab86fbfa51, \< b948baa29394ec5f4e6ec28486e7d06a76caee91; \>= 3764e82e5150d87b205c10cd78a9c9ab86fbfa51, \< 4a9f1a8b3af287581ffb690d0e1593c681729ddb; \>= 3764e82e5150d87b205c10cd78a9c9ab86fbfa51, \< 728ac3389296caf68638628c987aeae6c8851e2d
- Anyone running Linux 3.15

## Description

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

mcb: mcb-parse: fix error handing in chameleon\_parse\_gdd()

If mcb\_device\_register() returns error in chameleon\_parse\_gdd(), the refcount
of bus and device name are leaked. Fix this by calling put\_device() to give up
the reference, so they can be released in mcb\_release\_dev() and kobject\_cleanup().

## Affected and fixed versions

- Linux: \>= 3764e82e5150d87b205c10cd78a9c9ab86fbfa51, \< 891f606ae0765bc9ca99f5276735be4d338f0255; \>= 3764e82e5150d87b205c10cd78a9c9ab86fbfa51, \< cf6e70c0ced50b52415ac0c88eba1fb09c500a5a; \>= 3764e82e5150d87b205c10cd78a9c9ab86fbfa51, \< fd85ece416fd7edb945203e59d4cd94952f77e7c; \>= 3764e82e5150d87b205c10cd78a9c9ab86fbfa51, \< 110dc34c9fa33d37f55b394b1199ea6c0ad1ee84; \>= 3764e82e5150d87b205c10cd78a9c9ab86fbfa51, \< 7b289b791a59386dc23a00d3cf17a0db984b40d3; \>= 3764e82e5150d87b205c10cd78a9c9ab86fbfa51, \< 43bfc7c2402a22d3b4eb08c040f274ba2b76461a; \>= 3764e82e5150d87b205c10cd78a9c9ab86fbfa51, \< b948baa29394ec5f4e6ec28486e7d06a76caee91; \>= 3764e82e5150d87b205c10cd78a9c9ab86fbfa51, \< 4a9f1a8b3af287581ffb690d0e1593c681729ddb; \>= 3764e82e5150d87b205c10cd78a9c9ab86fbfa51, \< 728ac3389296caf68638628c987aeae6c8851e2d (cvelist)
- Linux: 3.15 (cvelist)

## Mitigation

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

Details: https://flawdb.com/CVE-2022-50522.md
Affected: Linux >= 3764e82e5150d87b205c10cd78a9c9ab86fbfa51, < 891f606ae0765bc9ca99f5276735be4d338f0255; >= 3764e82e5150d87b205c10cd78a9c9ab86fbfa51, < cf6e70c0ced50b52415ac0c88eba1fb09c500a5a; >= 3764e82e5150d87b205c10cd78a9c9ab86fbfa51, < fd85ece416fd7edb945203e59d4cd94952f77e7c; >= 3764e82e5150d87b205c10c…
Fixed in: Linux 891f606ae0765bc9ca99f5276735be4d338f0255, Linux 110dc34c9fa33d37f55b394b1199ea6c0ad1ee84, Linux 7b289b791a59386dc23a00d3cf17a0db984b40d3, Linux 43bfc7c2402a22d3b4eb08c040f274ba2b76461a, Linux 4a9f1a8b3af287581ffb690d0e1593c681729ddb, Linux 728ac3389296caf68638628c987aeae6c8851e2d

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

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

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

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

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

Linux \>= 3764e82e5150d87b205c10cd78a9c9ab86fbfa51, \< 891f606ae0765bc9ca99f5276735be4d338f0255; \>= 3764e82e5150d87b205c10cd78a9c9ab86fbfa51, \< cf6e70c0ced50b52415ac0c88eba1fb09c500a5a; \>= 3764e82e5150d87b205c10cd78a9c9ab86fbfa51, \< fd85ece416fd7edb945203e59d4cd94952f77e7c; \>= 3764e82e5150d87b205c10cd78a9c9ab86fbfa51, \< 110dc34c9fa33d37f55b394b1199ea6c0ad1ee84; \>= 3764e82e5150d87b205c10cd78a9c9ab86fbfa51, \< 7b289b791a59386dc23a00d3cf17a0db984b40d3; \>= 3764e82e5150d87b205c10cd78a9c9ab86fbfa51, \< 43bfc7c2402a22d3b4eb08c040f274ba2b76461a; \>= 3764e82e5150d87b205c10cd78a9c9ab86fbfa51, \< b948baa29394ec5f4e6ec28486e7d06a76caee91; \>= 3764e82e5150d87b205c10cd78a9c9ab86fbfa51, \< 4a9f1a8b3af287581ffb690d0e1593c681729ddb; \>= 3764e82e5150d87b205c10cd78a9c9ab86fbfa51, \< 728ac3389296caf68638628c987aeae6c8851e2d; Linux 3.15.

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

Yes. Fixed in Linux 891f606ae0765bc9ca99f5276735be4d338f0255, Linux 110dc34c9fa33d37f55b394b1199ea6c0ad1ee84, Linux 7b289b791a59386dc23a00d3cf17a0db984b40d3, Linux 43bfc7c2402a22d3b4eb08c040f274ba2b76461a, Linux 4a9f1a8b3af287581ffb690d0e1593c681729ddb, Linux 728ac3389296caf68638628c987aeae6c8851e2d. Upgrade Linux to 728ac3389296caf68638628c987aeae6c8851e2d or later.

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

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/891f606ae0765bc9ca99f5276735be4d338f0255>
- patch: <https://git.kernel.org/stable/c/cf6e70c0ced50b52415ac0c88eba1fb09c500a5a>
- patch: <https://git.kernel.org/stable/c/fd85ece416fd7edb945203e59d4cd94952f77e7c>
- patch: <https://git.kernel.org/stable/c/110dc34c9fa33d37f55b394b1199ea6c0ad1ee84>
- patch: <https://git.kernel.org/stable/c/7b289b791a59386dc23a00d3cf17a0db984b40d3>
- patch: <https://git.kernel.org/stable/c/43bfc7c2402a22d3b4eb08c040f274ba2b76461a>
- patch: <https://git.kernel.org/stable/c/b948baa29394ec5f4e6ec28486e7d06a76caee91>
- patch: <https://git.kernel.org/stable/c/4a9f1a8b3af287581ffb690d0e1593c681729ddb>
- patch: <https://git.kernel.org/stable/c/728ac3389296caf68638628c987aeae6c8851e2d>

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

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