# CVE-2022-50522: mcb: mcb-parse: fix error handing in chameleon_parse_gdd()

- Severity: Low 3.3 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.22%, higher than 7% of CVEs (2026-11-30)
- Published: 2025-10-07T15:19:15.923Z
- Modified: 2026-06-17T05:23:43.143Z
- Assigned by: Linux

## 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().

(As written by CVE List.)

## Affected

- Linux Linux: from 3764e82e5150d87b205c10cd78a9c9ab86fbfa51 before 891f606ae0765bc9ca99f5276735be4d338f0255; from 3764e82e5150d87b205c10cd78a9c9ab86fbfa51 before cf6e70c0ced50b52415ac0c88eba1fb09c500a5a; from 3764e82e5150d87b205c10cd78a9c9ab86fbfa51 before fd85ece416fd7edb945203e59d4cd94952f77e7c; from 3764e82e5150d87b205c10cd78a9c9ab86fbfa51 before 110dc34c9fa33d37f55b394b1199ea6c0ad1ee84; from 3764e82e5150d87b205c10cd78a9c9ab86fbfa51 before 7b289b791a59386dc23a00d3cf17a0db984b40d3; from 3764e82e5150d87b205c10cd78a9c9ab86fbfa51 before 43bfc7c2402a22d3b4eb08c040f274ba2b76461a; from 3764e82e5150d87b205c10cd78a9c9ab86fbfa51 before b948baa29394ec5f4e6ec28486e7d06a76caee91; from 3764e82e5150d87b205c10cd78a9c9ab86fbfa51 before 4a9f1a8b3af287581ffb690d0e1593c681729ddb; from 3764e82e5150d87b205c10cd78a9c9ab86fbfa51 before 728ac3389296caf68638628c987aeae6c8851e2d; 3.15 (not affected: before 3.15; from 4.9.337 up to 4.9.*; from 4.14.303 up to 4.14.*; from 4.19.270 up to 4.19.*; from 5.4.229 up to 5.4.*; from 5.10.163 up to 5.10.*; from 5.15.86 up to 5.15.*; from 6.0.16 up to 6.0.*; from 6.1.2 up to 6.1.*; from 6.2 up to *)
- linux linux_kernel: from 3.15 before 4.9.337; from 4.10 before 4.14.303; from 4.15 before 4.19.270; from 4.20 before 5.4.229; from 5.5 before 5.10.163; from 5.11 before 5.15.86; from 5.16 before 6.0.16; from 6.1 before 6.1.2

## References

- <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> (patch)

## Sources

- CVE List: [CVE-2022-50522](https://www.cve.org/CVERecord?id=CVE-2022-50522), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2022-50522](https://nvd.nist.gov/vuln/detail/CVE-2022-50522), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-50522 · Whole record: https://cve.day/CVE-2022-50522.json · Rebuilt by cve.day 2026-11-25T22:58:21.256Z
