CVE-2022-50810 (GCVE-0-2022-50810)
Vulnerability from cvelistv5
Published
2025-12-30 12:08
Modified
2025-12-30 12:08
Severity ?
Summary
In the Linux kernel, the following vulnerability has been resolved: rapidio: devices: fix missing put_device in mport_cdev_open When kfifo_alloc fails, the refcount of chdev->dev is left incremental. We should use put_device(&chdev->dev) to decrease the ref count of chdev->dev to avoid refcount leak.
Impacted products
Vendor Product Version
Linux Linux Version: e8de370188d098bb49483c287b44925957c3c9b6
Version: e8de370188d098bb49483c287b44925957c3c9b6
Version: e8de370188d098bb49483c287b44925957c3c9b6
Version: e8de370188d098bb49483c287b44925957c3c9b6
Version: e8de370188d098bb49483c287b44925957c3c9b6
Version: e8de370188d098bb49483c287b44925957c3c9b6
Version: e8de370188d098bb49483c287b44925957c3c9b6
Version: e8de370188d098bb49483c287b44925957c3c9b6
Version: e8de370188d098bb49483c287b44925957c3c9b6
Create a notification for this product.
Show details on NVD website


{
  "containers": {
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "drivers/rapidio/devices/rio_mport_cdev.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "6e4540e0970030e140998ce8847f5f0171b5afa1",
              "status": "affected",
              "version": "e8de370188d098bb49483c287b44925957c3c9b6",
              "versionType": "git"
            },
            {
              "lessThan": "ae57222402bea455e60cc51d2f52ce73b63b7af8",
              "status": "affected",
              "version": "e8de370188d098bb49483c287b44925957c3c9b6",
              "versionType": "git"
            },
            {
              "lessThan": "dfee9fe93dd34cd9d49520718f6ec2072de25e48",
              "status": "affected",
              "version": "e8de370188d098bb49483c287b44925957c3c9b6",
              "versionType": "git"
            },
            {
              "lessThan": "bb7397f6312d2cbf05e415676ed5b1655cb82a34",
              "status": "affected",
              "version": "e8de370188d098bb49483c287b44925957c3c9b6",
              "versionType": "git"
            },
            {
              "lessThan": "53915ecc43c5139d6cdd1caa4fdc9290b9597008",
              "status": "affected",
              "version": "e8de370188d098bb49483c287b44925957c3c9b6",
              "versionType": "git"
            },
            {
              "lessThan": "a0d93aac54ce07a7cc71e90645d0cdabbda50450",
              "status": "affected",
              "version": "e8de370188d098bb49483c287b44925957c3c9b6",
              "versionType": "git"
            },
            {
              "lessThan": "162433a96079bfa5ec748c486b4570f138d04fb5",
              "status": "affected",
              "version": "e8de370188d098bb49483c287b44925957c3c9b6",
              "versionType": "git"
            },
            {
              "lessThan": "b596242585984b5f3085aa8f7a82c65640b384b6",
              "status": "affected",
              "version": "e8de370188d098bb49483c287b44925957c3c9b6",
              "versionType": "git"
            },
            {
              "lessThan": "d5b6e6eba3af11cb2a2791fa36a2524990fcde1a",
              "status": "affected",
              "version": "e8de370188d098bb49483c287b44925957c3c9b6",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "drivers/rapidio/devices/rio_mport_cdev.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "4.6"
            },
            {
              "lessThan": "4.6",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "4.9.*",
              "status": "unaffected",
              "version": "4.9.337",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "4.14.*",
              "status": "unaffected",
              "version": "4.14.303",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "4.19.*",
              "status": "unaffected",
              "version": "4.19.270",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.4.*",
              "status": "unaffected",
              "version": "5.4.229",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.10.*",
              "status": "unaffected",
              "version": "5.10.163",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.15.*",
              "status": "unaffected",
              "version": "5.15.86",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.0.*",
              "status": "unaffected",
              "version": "6.0.16",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.1.*",
              "status": "unaffected",
              "version": "6.1.2",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "6.2",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "4.9.337",
                  "versionStartIncluding": "4.6",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "4.14.303",
                  "versionStartIncluding": "4.6",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "4.19.270",
                  "versionStartIncluding": "4.6",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.4.229",
                  "versionStartIncluding": "4.6",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.10.163",
                  "versionStartIncluding": "4.6",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.15.86",
                  "versionStartIncluding": "4.6",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.0.16",
                  "versionStartIncluding": "4.6",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.1.2",
                  "versionStartIncluding": "4.6",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.2",
                  "versionStartIncluding": "4.6",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nrapidio: devices: fix missing put_device in mport_cdev_open\n\nWhen kfifo_alloc fails, the refcount of chdev-\u003edev is left incremental. \nWe should use put_device(\u0026chdev-\u003edev) to decrease the ref count of\nchdev-\u003edev to avoid refcount leak."
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2025-12-30T12:08:27.924Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/6e4540e0970030e140998ce8847f5f0171b5afa1"
        },
        {
          "url": "https://git.kernel.org/stable/c/ae57222402bea455e60cc51d2f52ce73b63b7af8"
        },
        {
          "url": "https://git.kernel.org/stable/c/dfee9fe93dd34cd9d49520718f6ec2072de25e48"
        },
        {
          "url": "https://git.kernel.org/stable/c/bb7397f6312d2cbf05e415676ed5b1655cb82a34"
        },
        {
          "url": "https://git.kernel.org/stable/c/53915ecc43c5139d6cdd1caa4fdc9290b9597008"
        },
        {
          "url": "https://git.kernel.org/stable/c/a0d93aac54ce07a7cc71e90645d0cdabbda50450"
        },
        {
          "url": "https://git.kernel.org/stable/c/162433a96079bfa5ec748c486b4570f138d04fb5"
        },
        {
          "url": "https://git.kernel.org/stable/c/b596242585984b5f3085aa8f7a82c65640b384b6"
        },
        {
          "url": "https://git.kernel.org/stable/c/d5b6e6eba3af11cb2a2791fa36a2524990fcde1a"
        }
      ],
      "title": "rapidio: devices: fix missing put_device in mport_cdev_open",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2022-50810",
    "datePublished": "2025-12-30T12:08:27.924Z",
    "dateReserved": "2025-12-30T12:06:07.130Z",
    "dateUpdated": "2025-12-30T12:08:27.924Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "nvd": "{\"cve\":{\"id\":\"CVE-2022-50810\",\"sourceIdentifier\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"published\":\"2025-12-30T13:15:55.310\",\"lastModified\":\"2025-12-31T20:43:05.160\",\"vulnStatus\":\"Awaiting Analysis\",\"cveTags\":[],\"descriptions\":[{\"lang\":\"en\",\"value\":\"In the Linux kernel, the following vulnerability has been resolved:\\n\\nrapidio: devices: fix missing put_device in mport_cdev_open\\n\\nWhen kfifo_alloc fails, the refcount of chdev-\u003edev is left incremental. \\nWe should use put_device(\u0026chdev-\u003edev) to decrease the ref count of\\nchdev-\u003edev to avoid refcount leak.\"}],\"metrics\":{},\"references\":[{\"url\":\"https://git.kernel.org/stable/c/162433a96079bfa5ec748c486b4570f138d04fb5\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/53915ecc43c5139d6cdd1caa4fdc9290b9597008\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/6e4540e0970030e140998ce8847f5f0171b5afa1\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/a0d93aac54ce07a7cc71e90645d0cdabbda50450\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/ae57222402bea455e60cc51d2f52ce73b63b7af8\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/b596242585984b5f3085aa8f7a82c65640b384b6\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/bb7397f6312d2cbf05e415676ed5b1655cb82a34\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/d5b6e6eba3af11cb2a2791fa36a2524990fcde1a\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/dfee9fe93dd34cd9d49520718f6ec2072de25e48\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"}]}}"
  }
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Sightings

Author Source Type Date

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
  • Confirmed: The vulnerability is confirmed from an analyst perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
  • Patched: This vulnerability was successfully patched by the user reporting the sighting.
  • Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
  • Not confirmed: The user expresses doubt about the veracity of the vulnerability.
  • Not patched: This vulnerability was not successfully patched by the user reporting the sighting.


Loading…

Loading…