CVE-2022-50522Published Oct 7, 2025 · Oct 7Updated Oct 28
mcb: mcb-parse: fix error handing in chameleon_parse_gdd()
Linux
Low3.3Fix available
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ 3764e82e5150d87b205c10cd78a9c9ab86fbfa51 · < 43bfc7c2402a22d3b4eb08c040f274ba2b76461a| No fix yet |
| Linux Linux |
|
|
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().
From the CVE record · Linux
The Linux kernel’s mcb parser leaks a bus reference and device name if mcb_device_register() fails in chameleon_parse_gdd(). The input does not describe how an attacker could trigger this error or specify access or interaction requirements.
Engineers running the Linux kernel should check their versions; no affected versions are specified.