Skip to content
Heist/ feed
Back to feed
UnratedFix available

mcb: mcb-parse: fix error handing in chameleon_parse_gdd()

Type: advisorySources: OSV

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

Products
Kernel
Affected versions
Not specified
Fixed versions
4.14.303, 4.19.270, 4.9.337, 5.10.163, 5.15.86, 5.4.229, 6.0.16, 6.1.2
CVEs
CVE-2022-50522
Confirmed fixed CVEs
Not specified
Updated in this feed
7 Nov 2026, 03:28 UTC · Revision 1

Source evidence

mcb: mcb-parse: fix error handing in chameleon_parse_gdd()

core-osv · Original source

Published 7 Oct 2025, 15:19 UTC

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

osv:CVE-2022-50522

Kernel

Fixed versions: 4.9.337, 4.14.303, 4.19.270, 5.4.229, 5.10.163, 5.15.86, 6.0.16, 6.1.2

Complete source record
{
  "id": "f2ced5626f8e1b6b7557208eebd9222b2c4f0d9576b387507e51adc4284d4b47",
  "url": "https://osv.dev/vulnerability/CVE-2022-50522",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "mcb: mcb-parse: fix error handing in chameleon_parse_gdd()",
    "summary": "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().",
    "evidence": "osv:CVE-2022-50522",
    "products": [
      {
        "name": {
          "value": "Kernel",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "4.9.337",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "4.14.303",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "4.19.270",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "5.4.229",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "5.10.163",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "5.15.86",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.0.16",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.1.2",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "unknown",
    "structured": {
      "id": "CVE-2022-50522",
      "aliases": [
        "CVE-2022-50522"
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
              "type": "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"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "3.15.0"
                },
                {
                  "fixed": "4.9.337"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "4.10.0"
                },
                {
                  "fixed": "4.14.303"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "4.15.0"
                },
                {
                  "fixed": "4.19.270"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "4.20.0"
                },
                {
                  "fixed": "5.4.229"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "5.5.0"
                },
                {
                  "fixed": "5.10.163"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "5.11.0"
                },
                {
                  "fixed": "5.15.86"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "5.16.0"
                },
                {
                  "fixed": "6.0.16"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.1.0"
                },
                {
                  "fixed": "6.1.2"
                }
              ]
            }
          ],
          "package": {
            "name": "Kernel",
            "ecosystem": "Linux"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-50522.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:49.612814770Z",
      "provider": "osv",
      "references": [
        "https://git.kernel.org/stable/c/110dc34c9fa33d37f55b394b1199ea6c0ad1ee84",
        "https://git.kernel.org/stable/c/43bfc7c2402a22d3b4eb08c040f274ba2b76461a",
        "https://git.kernel.org/stable/c/4a9f1a8b3af287581ffb690d0e1593c681729ddb",
        "https://git.kernel.org/stable/c/728ac3389296caf68638628c987aeae6c8851e2d",
        "https://git.kernel.org/stable/c/7b289b791a59386dc23a00d3cf17a0db984b40d3",
        "https://git.kernel.org/stable/c/891f606ae0765bc9ca99f5276735be4d338f0255",
        "https://git.kernel.org/stable/c/b948baa29394ec5f4e6ec28486e7d06a76caee91",
        "https://git.kernel.org/stable/c/cf6e70c0ced50b52415ac0c88eba1fb09c500a5a",
        "https://git.kernel.org/stable/c/fd85ece416fd7edb945203e59d4cd94952f77e7c",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/50xxx/CVE-2022-50522.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2022-50522",
        "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
      ],
      "provider_metadata": {
        "cna_assigner": "Linux",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/50xxx/CVE-2022-50522.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2022-50522",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": null
  },
  "source_id": "core-osv",
  "document_id": 517757,
  "published_at": "2025-10-07T15:19:15.923+00:00"
}