GHSA-HHXV-6GP3-RVMC

Vulnerability from github – Published: 2025-12-24 15:30 – Updated: 2025-12-24 15:30
VLAI?
Details

In the Linux kernel, the following vulnerability has been resolved:

drm/amdgpu: Fix PCI device refcount leak in amdgpu_atrm_get_bios()

As comment of pci_get_class() says, it returns a pci_device with its refcount increased and decreased the refcount for the input parameter @from if it is not NULL.

If we break the loop in amdgpu_atrm_get_bios() with 'pdev' not NULL, we need to call pci_dev_put() to decrease the refcount. Add the missing pci_dev_put() to avoid refcount leak.

Show details on source website

{
  "affected": [],
  "aliases": [
    "CVE-2022-50760"
  ],
  "database_specific": {
    "cwe_ids": [],
    "github_reviewed": false,
    "github_reviewed_at": null,
    "nvd_published_at": "2025-12-24T13:16:02Z",
    "severity": null
  },
  "details": "In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/amdgpu: Fix PCI device refcount leak in amdgpu_atrm_get_bios()\n\nAs comment of pci_get_class() says, it returns a pci_device with its\nrefcount increased and decreased the refcount for the input parameter\n@from if it is not NULL.\n\nIf we break the loop in amdgpu_atrm_get_bios() with \u0027pdev\u0027 not NULL, we\nneed to call pci_dev_put() to decrease the refcount. Add the missing\npci_dev_put() to avoid refcount leak.",
  "id": "GHSA-hhxv-6gp3-rvmc",
  "modified": "2025-12-24T15:30:34Z",
  "published": "2025-12-24T15:30:34Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2022-50760"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/3360125d721c91d697c71201f18f042ff743e936"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/6611feef35c0c8c4d297b28a7fc6ab3a2c47eca7"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/7c1ddf7c664b5bc91f14b1bdeaa45520ef1760e4"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/8f2d2badf8ca5e7e7c30d88840b695c8af7286f3"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/981024abf5fe605c94d4f906f65d1b3408d628be"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/9d4057d0452243917e12eb19f1599c96f2f05b14"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/a8b54ad7106c0604c4adc4933138b3557739bce0"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/ca54639c7752edf1304d92ff4d0c049d4efc9ba0"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/da7c78ea9e62bb65273d3ff19a3866ec205bfe18"
    }
  ],
  "schema_version": "1.4.0",
  "severity": []
}


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 observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.


Loading…

Detection rules are retrieved from Rulezet.

Loading…

Loading…