{"id":"CVE-2022-50760","published":"2025-12-24T13:05:52Z","modified":"2026-05-11T19:24:59Z","title":"drm/amdgpu: Fix PCI device refcount leak in amdgpu_atrm_get_bios()","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"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 'pdev' not NULL, we\nneed to call pci_dev_put() to decrease the refcount. Add the missing\npci_dev_put() to avoid refcount leak.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.00322,"percentile":0.25503,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/6611feef35c0c8c4d297b28a7fc6ab3a2c47eca7","tags":[]},{"url":"https://git.kernel.org/stable/c/da7c78ea9e62bb65273d3ff19a3866ec205bfe18","tags":[]},{"url":"https://git.kernel.org/stable/c/3360125d721c91d697c71201f18f042ff743e936","tags":[]},{"url":"https://git.kernel.org/stable/c/981024abf5fe605c94d4f906f65d1b3408d628be","tags":[]},{"url":"https://git.kernel.org/stable/c/7c1ddf7c664b5bc91f14b1bdeaa45520ef1760e4","tags":[]},{"url":"https://git.kernel.org/stable/c/8f2d2badf8ca5e7e7c30d88840b695c8af7286f3","tags":[]},{"url":"https://git.kernel.org/stable/c/9d4057d0452243917e12eb19f1599c96f2f05b14","tags":[]},{"url":"https://git.kernel.org/stable/c/a8b54ad7106c0604c4adc4933138b3557739bce0","tags":[]},{"url":"https://git.kernel.org/stable/c/ca54639c7752edf1304d92ff4d0c049d4efc9ba0","tags":[]}],"priority":{"score":5.1,"factors":[{"name":"EPSS percentile","points":5.1}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= d38ceaf99ed015f2a0b9af3499791bd3a3daae21, < 6611feef35c0c8c4d297b28a7fc6ab3a2c47eca7",">= d38ceaf99ed015f2a0b9af3499791bd3a3daae21, < da7c78ea9e62bb65273d3ff19a3866ec205bfe18",">= d38ceaf99ed015f2a0b9af3499791bd3a3daae21, < 3360125d721c91d697c71201f18f042ff743e936",">= d38ceaf99ed015f2a0b9af3499791bd3a3daae21, < 981024abf5fe605c94d4f906f65d1b3408d628be",">= d38ceaf99ed015f2a0b9af3499791bd3a3daae21, < 7c1ddf7c664b5bc91f14b1bdeaa45520ef1760e4",">= d38ceaf99ed015f2a0b9af3499791bd3a3daae21, < 8f2d2badf8ca5e7e7c30d88840b695c8af7286f3",">= d38ceaf99ed015f2a0b9af3499791bd3a3daae21, < 9d4057d0452243917e12eb19f1599c96f2f05b14",">= d38ceaf99ed015f2a0b9af3499791bd3a3daae21, < a8b54ad7106c0604c4adc4933138b3557739bce0",">= d38ceaf99ed015f2a0b9af3499791bd3a3daae21, < ca54639c7752edf1304d92ff4d0c049d4efc9ba0"]},{"vendor":"Linux","product":"Linux","versions":["4.2"]}],"euvd":{"id":"EUVD-2022-55801","exploited":false,"provenance":"source"}}