{"id":"CVE-2022-50522","summary":"mcb: mcb-parse: fix error handing in chameleon_parse_gdd()","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nmcb: mcb-parse: fix error handing in chameleon_parse_gdd()\n\nIf mcb_device_register() returns error in chameleon_parse_gdd(), the refcount\nof bus and device name are leaked. Fix this by calling put_device() to give up\nthe reference, so they can be released in mcb_release_dev() and kobject_cleanup().","modified":"2026-04-02T08:28:34.497606Z","published":"2025-10-07T15:19:15.923Z","database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/50xxx/CVE-2022-50522.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/110dc34c9fa33d37f55b394b1199ea6c0ad1ee84"},{"type":"WEB","url":"https://git.kernel.org/stable/c/43bfc7c2402a22d3b4eb08c040f274ba2b76461a"},{"type":"WEB","url":"https://git.kernel.org/stable/c/4a9f1a8b3af287581ffb690d0e1593c681729ddb"},{"type":"WEB","url":"https://git.kernel.org/stable/c/728ac3389296caf68638628c987aeae6c8851e2d"},{"type":"WEB","url":"https://git.kernel.org/stable/c/7b289b791a59386dc23a00d3cf17a0db984b40d3"},{"type":"WEB","url":"https://git.kernel.org/stable/c/891f606ae0765bc9ca99f5276735be4d338f0255"},{"type":"WEB","url":"https://git.kernel.org/stable/c/b948baa29394ec5f4e6ec28486e7d06a76caee91"},{"type":"WEB","url":"https://git.kernel.org/stable/c/cf6e70c0ced50b52415ac0c88eba1fb09c500a5a"},{"type":"WEB","url":"https://git.kernel.org/stable/c/fd85ece416fd7edb945203e59d4cd94952f77e7c"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/50xxx/CVE-2022-50522.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-50522"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"3764e82e5150d87b205c10cd78a9c9ab86fbfa51"},{"fixed":"891f606ae0765bc9ca99f5276735be4d338f0255"},{"fixed":"cf6e70c0ced50b52415ac0c88eba1fb09c500a5a"},{"fixed":"fd85ece416fd7edb945203e59d4cd94952f77e7c"},{"fixed":"110dc34c9fa33d37f55b394b1199ea6c0ad1ee84"},{"fixed":"7b289b791a59386dc23a00d3cf17a0db984b40d3"},{"fixed":"43bfc7c2402a22d3b4eb08c040f274ba2b76461a"},{"fixed":"b948baa29394ec5f4e6ec28486e7d06a76caee91"},{"fixed":"4a9f1a8b3af287581ffb690d0e1593c681729ddb"},{"fixed":"728ac3389296caf68638628c987aeae6c8851e2d"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-50522.json"}}],"schema_version":"1.7.5"}