{"id":"CVE-2022-50520","aliases":["CVE-2022-50520"],"related":[],"kind":"vulnerability","state":"published","title":"drm/radeon: Fix PCI device refcount leak in radeon_atrm_get_bios()","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/radeon: Fix PCI device refcount leak in radeon_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 radeon_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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/radeon: Fix PCI device refcount leak in radeon_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 radeon_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.","source":"cvelist"}],"published":"2025-10-07T15:19:14.528Z","modified":"2026-11-05T21:17:03.610Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},"severities":[{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"}],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"c61e2775873f603148e8e998a938721b7d222d24","fixed":"6f28c7f67af4ef9bca580ab67ae2d4511797af56","status":"affected"},{"type":"git","introduced":"c61e2775873f603148e8e998a938721b7d222d24","fixed":"e738f82e5b1311e8fb3d1409491a6fcce6418fbe","status":"affected"},{"type":"git","introduced":"c61e2775873f603148e8e998a938721b7d222d24","fixed":"1079df6acf56f99d86b0081a38c84701412cc90e","status":"affected"},{"type":"git","introduced":"c61e2775873f603148e8e998a938721b7d222d24","fixed":"470a77989037c3ab2b08bf2d026d2c0ddc35ff5b","status":"affected"},{"type":"git","introduced":"c61e2775873f603148e8e998a938721b7d222d24","fixed":"3991d98a8a07b71c02f3a39f77d6d9a7f575a5c4","status":"affected"},{"type":"git","introduced":"c61e2775873f603148e8e998a938721b7d222d24","fixed":"88c6e0995c04b170563b5c894c50a3b2152e18c2","status":"affected"},{"type":"git","introduced":"c61e2775873f603148e8e998a938721b7d222d24","fixed":"b9decada8749b606fd8b4f04a3d6c74f7983d7bc","status":"affected"},{"type":"git","introduced":"c61e2775873f603148e8e998a938721b7d222d24","fixed":"a6cffe54064a5f6c2162a85af3c16c6b453eac4e","status":"affected"},{"type":"git","introduced":"c61e2775873f603148e8e998a938721b7d222d24","fixed":"725a521a18734f65de05b8d353b5bd0d3ca4c37a","status":"affected"},{"type":"git","version":"61ebf0a926149cc161131470cf848cb70b3d6fe6","status":"affected"},{"type":"git","version":"0a1d9a860832a5ca43114cdebf0e8650463cc1f0","status":"affected"},{"type":"git","version":"5f54f145719f453dccc73304cd427096bf7b806c","status":"affected"},{"type":"git","version":"063ab9cb6308a0806d623c8d6dda5cb2b3b87fce","status":"affected"},{"type":"semver","introduced":"3.2.29","fixed":"3.3","status":"affected"},{"type":"semver","introduced":"3.4.12","fixed":"3.5","status":"affected"},{"type":"semver","introduced":"3.5.5","fixed":"3.6","status":"affected"},{"type":"semver","introduced":"3.2.60","fixed":"3.3","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"3.6","status":"affected"},{"type":"semver","introduced":"0","fixed":"3.6","status":"unaffected"},{"type":"semver","introduced":"4.9.337","lastAffected":"4.9.*","status":"unaffected"},{"type":"semver","introduced":"4.14.303","lastAffected":"4.14.*","status":"unaffected"},{"type":"semver","introduced":"4.19.270","lastAffected":"4.19.*","status":"unaffected"},{"type":"semver","introduced":"5.4.229","lastAffected":"5.4.*","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"},{"ranges":[{"status":"affected","introduced":"3.2.29","fixed":"3.3"},{"status":"affected","introduced":"3.2.60","fixed":"3.3"},{"status":"affected","introduced":"3.4.12","fixed":"3.5"},{"status":"affected","introduced":"3.5.5","fixed":"3.6"},{"status":"affected","introduced":"3.6.1","fixed":"4.9.337"},{"status":"affected","introduced":"4.10","fixed":"4.14.303"},{"status":"affected","introduced":"4.15","fixed":"4.19.270"},{"status":"affected","introduced":"4.20","fixed":"5.4.229"},{"status":"affected","introduced":"5.5","fixed":"5.10.163"},{"status":"affected","introduced":"5.11","fixed":"5.15.86"},{"status":"affected","introduced":"5.16","fixed":"6.0.16"},{"status":"affected","introduced":"6.1","fixed":"6.1.2"},{"status":"affected","version":"3.6"},{"status":"affected","version":"3.6"},{"status":"affected","version":"3.6"},{"status":"affected","version":"3.6"},{"status":"affected","version":"3.6"},{"status":"affected","version":"3.6"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/6f28c7f67af4ef9bca580ab67ae2d4511797af56","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/e738f82e5b1311e8fb3d1409491a6fcce6418fbe","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/1079df6acf56f99d86b0081a38c84701412cc90e","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/470a77989037c3ab2b08bf2d026d2c0ddc35ff5b","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/3991d98a8a07b71c02f3a39f77d6d9a7f575a5c4","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/88c6e0995c04b170563b5c894c50a3b2152e18c2","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/b9decada8749b606fd8b4f04a3d6c74f7983d7bc","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/a6cffe54064a5f6c2162a85af3c16c6b453eac4e","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/725a521a18734f65de05b8d353b5bd0d3ca4c37a","tags":["patch"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-11-05T20:12:54.499Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2022-50520","url":"https://www.cve.org/CVERecord?id=CVE-2022-50520","licence":"CVE Terms of Use","modified":"2026-11-05T20:20:50.560Z"},{"source":"nvd","name":"NVD","id":"CVE-2022-50520","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-50520","licence":"Public domain","modified":"2026-11-05T21:17:03.610Z"}],"updatedAt":"2026-11-25T22:58:21.255Z","epss":{"score":0.00167,"percentile":0.06268,"date":"2026-12-02T12:00:21.000Z"}}