CVE-2022-50522
mcb: mcb-parse: fix error handing in chameleon_parse_gdd()
Mitigation
- Upgrade Linux to 728ac3389296caf68638628c987aeae6c8851e2d or later.
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
Vulnerability facts
- Affected
- Linux >= 3764e82e5150d87b205c10cd78a9c9ab86fbfa51, < 891f606ae0765bc9ca99f5276735be4d338f0255; >= 3764e82e5150d87b205c10cd78a9c9ab86fbfa51, < cf6e70c0ced50b52415ac0c88eba1fb09c500a5a; >= 3764e82e5150d87b205c10cd78a9c9ab86fbfa51, < fd85ece416fd7edb945203e59d4cd94952f77e7c; >= 3764e82e5150d87b205c10cd78a9c9ab86fbfa51, < 110dc34c9fa33d37f55b394b1199ea6c0ad1ee84; >= 3764e82e5150d87b205c10cd78a9c9ab86fbfa51, < 7b289b791a59386dc23a00d3cf17a0db984b40d3; >= 3764e82e5150d87b205c10cd78a9c9ab86fbfa51, < 43bfc7c2402a22d3b4eb08c040f274ba2b76461a; >= 3764e82e5150d87b205c10cd78a9c9ab86fbfa51, < b948baa29394ec5f4e6ec28486e7d06a76caee91; >= 3764e82e5150d87b205c10cd78a9c9ab86fbfa51, < 4a9f1a8b3af287581ffb690d0e1593c681729ddb; >= 3764e82e5150d87b205c10cd78a9c9ab86fbfa51, < 728ac3389296caf68638628c987aeae6c8851e2d; Linux 3.15
- Fixed in
- Linux 891f606ae0765bc9ca99f5276735be4d338f0255, Linux 110dc34c9fa33d37f55b394b1199ea6c0ad1ee84, Linux 7b289b791a59386dc23a00d3cf17a0db984b40d3, Linux 43bfc7c2402a22d3b4eb08c040f274ba2b76461a, Linux 4a9f1a8b3af287581ffb690d0e1593c681729ddb, Linux 728ac3389296caf68638628c987aeae6c8851e2d
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Not remotely exploitable (local or adjacent access needed)
- CVSS
- 3.3 (v3.1, NVD)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:NOpen in CVSS calculator
Show all 8 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
- EPSS
- 0.22% chance of exploitation in 30 days (percentile 7, 2026-11-26)
- Modified
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
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= 3764e82e5150d87b205c10cd78a9c9ab86fbfa51, < 891f606ae0765bc9ca99f5276735be4d338f0255; >= 3764e82e5150d87b205c10cd78a9c9ab86fbfa51, < cf6e70c0ced50b52415ac0c88eba1fb09c500a5a; >= 3764e82e5150d87b205c10cd78a9c9ab86fbfa51, < fd85ece416fd7edb945203e59d4cd94952f77e7c; >= 3764e82e5150d87b205c10cd78a9c9ab86fbfa51, < 110dc34c9fa33d37f55b394b1199ea6c0ad1ee84; >= 3764e82e5150d87b205c10cd78a9c9ab86fbfa51, < 7b289b791a59386dc23a00d3cf17a0db984b40d3; >= 3764e82e5150d87b205c10cd78a9c9ab86fbfa51, < 43bfc7c2402a22d3b4eb08c040f274ba2b76461a; >= 3764e82e5150d87b205c10cd78a9c9ab86fbfa51, < b948baa29394ec5f4e6ec28486e7d06a76caee91; >= 3764e82e5150d87b205c10cd78a9c9ab86fbfa51, < 4a9f1a8b3af287581ffb690d0e1593c681729ddb; >= 3764e82e5150d87b205c10cd78a9c9ab86fbfa51, < 728ac3389296caf68638628c987aeae6c8851e2d | — | cvelist |
| Linux | 3.15 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
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.
References
Patches
- https://git.kernel.org/stable/c/891f606ae0765bc9ca99f5276735be4d338f0255
- https://git.kernel.org/stable/c/cf6e70c0ced50b52415ac0c88eba1fb09c500a5a
- https://git.kernel.org/stable/c/fd85ece416fd7edb945203e59d4cd94952f77e7c
- https://git.kernel.org/stable/c/110dc34c9fa33d37f55b394b1199ea6c0ad1ee84
- https://git.kernel.org/stable/c/7b289b791a59386dc23a00d3cf17a0db984b40d3
- https://git.kernel.org/stable/c/43bfc7c2402a22d3b4eb08c040f274ba2b76461a
- https://git.kernel.org/stable/c/b948baa29394ec5f4e6ec28486e7d06a76caee91
- https://git.kernel.org/stable/c/4a9f1a8b3af287581ffb690d0e1593c681729ddb
- https://git.kernel.org/stable/c/728ac3389296caf68638628c987aeae6c8851e2d
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.