Independent & educational platform Not a government body. No link or affiliation with any government organisation. Made for learning only. Test only systems you own or are authorised to test. Become a Partner or Sponsor → Full disclaimer

CVE-2022-50520

medium

In the Linux kernel, the following vulnerability has been resolved: drm/radeon: Fix PCI device refcount leak in radeon_atrm_get_bios() As comment of pci_get_…

Vendor / product: Linux — linux kernel

In the Linux kernel, the following vulnerability has been resolved: drm/radeon: Fix PCI device refcount leak in radeon_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 radeon_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.

CVSS
5.5
5.5 (CVSS v3.1)
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Severity source: NVD CVSS v3.1 (nvd@nist.gov)
Timeline (UTC)
Published: 2025-10-07 16:15
Modified: 2026-11-05 21:17
NVD status: Analyzed
Last synced 1 week ago
Verified against the source API 2026-11-05 21:23 UTC
Exploitation
Not listed in CISA KEV (as of last catalog sync)
Absence from KEV does not mean a CVE is not exploited. Exploitation status: unknown (no authoritative evidence in our sources).

Affected products

linux / linux_kernel ≥3.2.29 <3.3, ≥3.2.60 <3.3, ≥3.4.12 <3.5, ≥3.5.5 <3.6, ≥3.6.1 <4.9.337, ≥4.10 <4.14.303

Weakness classification (CWE)

NVD-CWE-Other

Source: NVD / CISA. “NVD-CWE-Other” and “NVD-CWE-noinfo” mean NVD could not assign a specific weakness.

Mitigation & advisories

Patch / mitigation: https://git.kernel.org/stable/c/1079df6acf56f99d86b0081a38c84701412cc90e
Patch / mitigation: https://git.kernel.org/stable/c/3991d98a8a07b71c02f3a39f77d6d9a7f575a5c4
Patch / mitigation: https://git.kernel.org/stable/c/470a77989037c3ab2b08bf2d026d2c0ddc35ff5b
Patch / mitigation: https://git.kernel.org/stable/c/6f28c7f67af4ef9bca580ab67ae2d4511797af56
Patch / mitigation: https://git.kernel.org/stable/c/725a521a18734f65de05b8d353b5bd0d3ca4c37a
Patch / mitigation: https://git.kernel.org/stable/c/88c6e0995c04b170563b5c894c50a3b2152e18c2
Patch / mitigation: https://git.kernel.org/stable/c/a6cffe54064a5f6c2162a85af3c16c6b453eac4e
Patch / mitigation: https://git.kernel.org/stable/c/b9decada8749b606fd8b4f04a3d6c74f7983d7bc
Patch / mitigation: https://git.kernel.org/stable/c/e738f82e5b1311e8fb3d1409491a6fcce6418fbe

References

Data sources

NVD CVE API 2.0 — fetched 2026-11-05 21:23 UTC · record ↗

Learn the basics

Understanding CVEs and CVSS Scores

Related CVEs