CVE Database
/

CVE-2022-50520

Back to search

CVE-2022-50520

Published: Oct 7, 2025

Modified: May 23, 2026

PUBLISHED

Description

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.

VendorProductVersions

Linux

Linux

affected
c61e2775873f603148e8e998a938721b7d222d24 - < 6f28c7f67af4ef9bca580ab67ae2d4511797af56
affected
c61e2775873f603148e8e998a938721b7d222d24 - < e738f82e5b1311e8fb3d1409491a6fcce6418fbe
affected
c61e2775873f603148e8e998a938721b7d222d24 - < 1079df6acf56f99d86b0081a38c84701412cc90e
affected
c61e2775873f603148e8e998a938721b7d222d24 - < 470a77989037c3ab2b08bf2d026d2c0ddc35ff5b
affected
c61e2775873f603148e8e998a938721b7d222d24 - < 3991d98a8a07b71c02f3a39f77d6d9a7f575a5c4

+12 more versions

Linux

Linux

affected
3.6
unaffected
0 - < 3.6
unaffected
4.9.337 - <= 4.9.*
unaffected
4.14.303 - <= 4.14.*
unaffected
4.19.270 - <= 4.19.*

+6 more versions

Security Training

Train your team to recognize and prevent security threats with our comprehensive security awareness program.

Start Training

Vulnerability Scanning

Discover vulnerabilities in your applications and infrastructure before attackers do.

Scan Now