{
  "affected": [
    {
      "ranges": [
        {
          "events": [
            {
              "introduced": "5dc76a96e95ae041c1d8e52714bd77576b35919b"
            },
            {
              "fixed": "da2aecef866b476438d02c662507a0e4e818da9d"
            },
            {
              "fixed": "93296e7ab774230b7c36541dead10b6da39b650f"
            },
            {
              "fixed": "d7ac29e60d0ff71e9e414af595b8c92800f7fa90"
            },
            {
              "fixed": "48025893b3e31b917ad654d28d23fff66681cac4"
            },
            {
              "fixed": "11bec9cba4de06b3c0e9e4041453c2caaa1cbec1"
            }
          ],
          "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-50281.json"
  },
  "details": "In the Linux kernel, the following vulnerability has been resolved:\n\nMIPS: SGI-IP27: Fix platform-device leak in bridge_platform_create()\n\nIn error case in bridge_platform_create after calling\nplatform_device_add()/platform_device_add_data()/\nplatform_device_add_resources(), release the failed\n'pdev' or it will be leak, call platform_device_put()\nto fix this problem.\n\nBesides, 'pdev' is divided into 'pdev_wd' and 'pdev_bd',\nuse platform_device_unregister() to release sgi_w1\nresources when xtalk-bridge registration fails.",
  "id": "CVE-2022-50281",
  "modified": "2026-04-01T23:09:21.070008118Z",
  "published": "2025-09-15T14:21:17.759Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/11bec9cba4de06b3c0e9e4041453c2caaa1cbec1"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/48025893b3e31b917ad654d28d23fff66681cac4"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/93296e7ab774230b7c36541dead10b6da39b650f"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/d7ac29e60d0ff71e9e414af595b8c92800f7fa90"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/da2aecef866b476438d02c662507a0e4e818da9d"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/50xxx/CVE-2022-50281.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2022-50281"
    },
    {
      "type": "PACKAGE",
      "url": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
    }
  ],
  "schema_version": "1.7.3",
  "summary": "MIPS: SGI-IP27: Fix platform-device leak in bridge_platform_create()"
}