{"id":"CVE-2022-50718","aliases":["CVE-2022-50718"],"related":[],"kind":"vulnerability","state":"published","title":"drm/amdgpu: fix pci device refcount leak","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/amdgpu: fix pci device refcount leak\n\nAs comment of pci_get_domain_bus_and_slot() says, it returns\na pci device with refcount increment, when finish using it,\nthe caller must decrement the reference count by calling\npci_dev_put().\n\nSo before returning from amdgpu_device_resume|suspend_display_audio(),\npci_dev_put() is called to avoid refcount leak.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/amdgpu: fix pci device refcount leak\n\nAs comment of pci_get_domain_bus_and_slot() says, it returns\na pci device with refcount increment, when finish using it,\nthe caller must decrement the reference count by calling\npci_dev_put().\n\nSo before returning from amdgpu_device_resume|suspend_display_audio(),\npci_dev_put() is called to avoid refcount leak.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta:\n\ndrm/amdgpu: corregir fuga de contador de referencias de dispositivo PCI\n\nComo dice el comentario de pci_get_domain_bus_and_slot(), devuelve un dispositivo PCI con el contador de referencias incrementado; cuando se termina de usar, el llamador debe decrementar el contador de referencias llamando a pci_dev_put().\n\nAsí que antes de regresar de amdgpu_device_resume|suspend_display_audio(), se llama a pci_dev_put() para evitar la fuga del contador de referencias.","source":"nvd"}],"published":"2025-12-24T12:22:41.971Z","modified":"2026-11-10T12:10:00.177Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"3f12acc8d6d4b2e62fab8f652d7075a859d80b42","fixed":"3725a8f26bdbc38dfdf545836117f1e069277c91","status":"affected"},{"type":"git","introduced":"3f12acc8d6d4b2e62fab8f652d7075a859d80b42","fixed":"02105f0b3021ee5853b2fa50853c42f35fc01cfd","status":"affected"},{"type":"git","introduced":"3f12acc8d6d4b2e62fab8f652d7075a859d80b42","fixed":"f13661b72a61708cecb06562f8acff068a4f31f7","status":"affected"},{"type":"git","introduced":"3f12acc8d6d4b2e62fab8f652d7075a859d80b42","fixed":"d7352b410471cbebf6350b2990bae82bb0d59a76","status":"affected"},{"type":"git","introduced":"3f12acc8d6d4b2e62fab8f652d7075a859d80b42","fixed":"b85e285e3d6352b02947fc1b72303673dfacb0aa","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"5.8","status":"affected"},{"type":"semver","introduced":"0","fixed":"5.8","status":"unaffected"},{"type":"semver","introduced":"5.10.163","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.86","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.0.16","lastAffected":"6.0.*","status":"unaffected"},{"type":"semver","introduced":"6.1.2","lastAffected":"6.1.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.2","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/3725a8f26bdbc38dfdf545836117f1e069277c91","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/02105f0b3021ee5853b2fa50853c42f35fc01cfd","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/f13661b72a61708cecb06562f8acff068a4f31f7","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/d7352b410471cbebf6350b2990bae82bb0d59a76","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/b85e285e3d6352b02947fc1b72303673dfacb0aa","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2022-50718","url":"https://www.cve.org/CVERecord?id=CVE-2022-50718","licence":"CVE Terms of Use","modified":"2026-05-11T19:24:10.575Z"},{"source":"nvd","name":"NVD","id":"CVE-2022-50718","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-50718","licence":"Public domain","modified":"2026-11-10T12:10:00.177Z"}],"updatedAt":"2026-11-25T22:58:21.332Z","epss":{"score":0.00255,"percentile":0.18205,"date":"2026-12-01T12:00:22.000Z"}}