{
  "affected": [
    {
      "ranges": [
        {
          "events": [
            {
              "introduced": "3764e82e5150d87b205c10cd78a9c9ab86fbfa51"
            },
            {
              "fixed": "891f606ae0765bc9ca99f5276735be4d338f0255"
            },
            {
              "fixed": "cf6e70c0ced50b52415ac0c88eba1fb09c500a5a"
            },
            {
              "fixed": "fd85ece416fd7edb945203e59d4cd94952f77e7c"
            },
            {
              "fixed": "110dc34c9fa33d37f55b394b1199ea6c0ad1ee84"
            },
            {
              "fixed": "7b289b791a59386dc23a00d3cf17a0db984b40d3"
            },
            {
              "fixed": "43bfc7c2402a22d3b4eb08c040f274ba2b76461a"
            },
            {
              "fixed": "b948baa29394ec5f4e6ec28486e7d06a76caee91"
            },
            {
              "fixed": "4a9f1a8b3af287581ffb690d0e1593c681729ddb"
            },
            {
              "fixed": "728ac3389296caf68638628c987aeae6c8851e2d"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/50xxx/CVE-2022-50522.json"
  },
  "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().",
  "id": "CVE-2022-50522",
  "modified": "2026-04-01T23:07:56.623153084Z",
  "published": "2025-10-07T15:19:15.923Z",
  "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"
    }
  ],
  "schema_version": "1.7.3",
  "summary": "mcb: mcb-parse: fix error handing in chameleon_parse_gdd()"
}